Pay-per-call · settled via MPP
Pay-per-call AI.
No signup. No keys.
One endpoint for 59+ generative models. Your agent pays per request from its own account, in USDC or by card.
infer.ts
import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
// your wallet's key — it holds the USDC and pays per call
const account = privateKeyToAccount(process.env.YOUR_WALLET_PRIVATE_KEY)
const mppx = Mppx.create({ methods: [tempo({ account })], polyfill: false })
await mppx.fetch('https://api.glianalabs.com/v1/infer', {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({
model: 'google/nano-banana-2',
prompt: 'a lake at dawn, volumetric fog',
}),
}) // 402 -> auto-paid -> image. pay-per-call.59+
Models
6
Modalities
13+
Providers
$0
Signup cost
Frontier models from
Payment is the gate.
No accounts, no balances on our side. The 402 handshake settles every call client-side.
01
Call
Hit /v1/infer with a model and input. The API answers 402 Payment Required with the price.
02
Pay
The client pays from its own wallet or card and retries automatically. Invisible to your code.
03
Result
The model runs and returns output plus a payment receipt. We never hold your balance.
Pay in USDC on any of these, or by card. All payment methods →
Featured models
View all 59 →Image, video, audio, music, speech. Frontier generative models, one endpoint.
seedance-2.0
bytedance/seedance-2.0
ByteDance $0.4950 Default per second
flux-2-max
black-forest-labs/flux-2-max
Black Forest Labs $0.1575 First output megapixel
veo-3.1
google/veo-3.1
Google $0.9000 Default per second
grok-imagine-video
xai/grok-imagine-video
xAI $0.1125 Default per second
recraftv4-pro
recraft/recraftv4-pro
Recraft $0.5625 Per image
hailuo-2.3
minimax/hailuo-2.3
MiniMax $0.10575 Default per second
music-2.6
minimax/music-2.6
MiniMax $0.0225 Per lyrics generation
tts-2
inworld/tts-2
Inworld $0.000078 Per character
q3-pro
vidu/q3-pro
Vidu $0.28125 Default per second