A topic in, a finished Short out
One payment buys the whole edit: a written script, four scenes, a narrator, a music bed, word-by-word captions and callout cards, plus a title and description to post it with.
POST /api/x402/short · from $0.87
Try it
curl -i -X POST https://www.trezalabs.com/api/x402/short \
-H 'Content-Type: application/json' \
-d '{"topic":"how octopuses taste the world with their arms","style":"motion"}'Without a payment this answers 402 Payment Required, with the price for exactly this body, the USDC token and the address to pay in the PAYMENT-REQUIRED header. Nothing is charged.
npx awal@latest x402 pay https://www.trezalabs.com/api/x402/short \
-X POST \
-d '{"topic":"how octopuses taste the world with their arms","style":"motion"}' \
--max-amount 3220000awal reads the 402, pays it from your agentic wallet in USDC on Base, repeats the request and prints the response. --max-amount caps the payment in USDC units of a millionth: 3,220,000 is $3.22, this body's price. Any other x402 client works the same way.
npx awal@latest x402 details https://www.trezalabs.com/api/x402/shortPrice
Quoted per request in the 402, so read it from there rather than hard-coding it. A render that fails gets a free retry.
- Animated scenes (Google Veo 3.1 Lite)default
motion$3.22
- Generated stills with a slow push-in
stills$0.87
Limits
- topic: up to 500 characters.
- Returns a 9:16 MP4 with a title and description URL in the JSON response, with a statusUrl you can GET again for free.
- 20 requests per hour per IP address, before any payment is looked at.
- Paid in USDC on Base or Solana. Fields the endpoint does not read are refused before payment, not charged for and ignored.
- 28 to 36 seconds, 9:16, four scenes.
- A short takes three to five minutes, so expect the statusUrl rather than the file in the first response.
- A scene the video model refuses does not cost the whole short again: the free retry renders only what failed.
A bare GET /api/x402/short answers with the whole menu as JSON.
{
"runId": "2026-09-23T18:04:11.000Z#1a2b3c4d",
"status": "success",
"video": "https://www.trezalabs.com/api/media/generated/x402_captions/1a2b3c4d.mp4?s=...&c=...",
"outputs": {
"title": "Octopuses Taste With Their Arms",
"description": "..."
},
"statusUrl": "https://www.trezalabs.com/api/x402/short?runId=...&token=...",
"paidUsd": 3.22,
"style": "motion",
"voice": "brian",
"transaction": "0x..."
}The same payment buys
Video
POST /api/x402/video
A prompt or a first frame in, a clip out, on Veo 3.1, Kling 3.0, Seedance 2.5, Wan 2.7 or Hailuo 3.
From $0.42
Speech
POST /api/x402/speech
Text to an ElevenLabs voiceover, Eleven v3 or Multilingual v2, in dozens of voices.
From $0.02
Music
POST /api/x402/music
An original Google Lyria 3 track from a description: a 30-second bed or a full song.
From $0.06
Images
POST /api/x402/image
Nano Banana, GPT Image 2, Seedream 5.0 Pro, FLUX.2 Pro and Recraft, up to 4K.
From $0.02
Listed in the Coinbase x402 Bazaar, so agents can find it with npx awal@latest x402 bazaar search "narrated short video". Full reference in the x402 docs and the OpenAPI spec.