{"uid":"cap_ZPU_XD58uGPFrnzHFuh09","slug":"treza-labs-text-to-video-generator-5b907dc9","name":"Treza Labs Text-to-Video Generator","description":"Generate a video from a text prompt, or animate an image_url from its first frame. The paid response waits about as long as the model usually takes to render and returns the video URL, else a statusUrl to poll (Prefer: wait=N sets the wait). 8 models including Google Veo 3.1, Kling 3.0, Seedance 2.5, Wan 2.7 and MiniMax Hailuo 3, 4 to 15 seconds, 16:9 or 9:16, from $0.42. GET this URL for every model and price. No account or API key: the payment is the only credential.","url":"https://www.trezalabs.com/api/x402/video?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["prompt"],"properties":{"async":{"type":"boolean","default":false,"description":"true: answer 202 with a statusUrl at once."},"model":{"enum":["minimax-h3","veo-3.1-lite","wan-2.7","veo-3.1-fast","kling-3.0","kling-3.0-pro","seedance-2.5","veo-3.1"],"type":"string","default":"minimax-h3","description":"GET this URL for what each is for. Prices: minimax-h3 (default, text only) 5s $0.42, 10s $0.84, 15s $1.26; veo-3.1-lite 4s $0.45, 6s $0.68, 8s $0.90; wan-2.7 5s $0.70, 10s $1.40; veo-3.1-fast 4s $0.68, 6s $1.01, 8s $1.35; kling-3.0 5s $0.89, 10s $1.77, 15s $2.65; kling-3.0-pro 5s $1.18, 10s $2.36, 15s $3.53; seedance-2.5 5s $1.64, 10s $3.27, 15s $4.90; veo-3.1 4s $2.24, 6s $3.36, 8s $4.48."},"prompt":{"type":"string","maxLength":2000,"description":"What the video should show."},"seconds":{"enum":[4,5,6,8,10,15],"type":"number","description":"Clip length; each model sells its own (see model). Defaults to the model's shortest."},"image_url":{"type":"string","format":"uri","description":"Optional first frame: public https JPEG, PNG or WebP, up to 10 MB, cropped to aspectRatio. Without a model, the cheapest model that takes an image at your length renders it."},"aspectRatio":{"enum":["16:9","9:16"],"type":"string","default":"16:9"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"model":"minimax-h3","runId":"2026-09-23T18:04:11.000Z#1a2b3c4d","video":"https://www.trezalabs.com/api/media/generated/x402_video/1a2b3c4d.mp4?s=...&c=...","status":"success","paidUsd":0.42,"seconds":5,"statusUrl":"https://www.trezalabs.com/api/x402/video?runId=...&token=...","aspectRatio":"16:9","transaction":"0x..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.42","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.42/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.42","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.42","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J9g2GUHMwgkTv5MuQjmc1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.42","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a short video clip (5s, 10s, or 15s) from a text prompt in landscape or vertical format, paid per-call via USDC with no account required.","exampleAgentPrompt":"Generate a 10-second landscape video of a red fox running through a snowy forest at dusk.","exampleUseCases":[{"title":"Social media vertical clip creation","prompt":"Make me a 5-second vertical video of ocean waves crashing on a tropical beach — I need it in 9:16 format for an Instagram story."},{"title":"Product concept visualization","prompt":"Create a 15-second landscape video showing a sleek electric sports car driving through a neon-lit city at night."},{"title":"Animated explainer snippet","prompt":"Generate a 10-second video of a friendly robot assembling puzzle pieces on a white background, landscape orientation."}],"resultDescription":"On success, the endpoint returns a statusUrl that the caller polls until the video is ready; once complete, the response contains a URL to the generated video file. The video is 5, 10, or 15 seconds long in either 16:9 or 9:16 aspect ratio, as requested.","failureModes":["Payment not received or insufficient USDC — 402 response with pricing challenge","Invalid or empty prompt — validation error","Unsupported seconds value (not 5, 10, or 15) — schema error","Unsupported aspect ratio — schema error","Video generation timeout or upstream model failure — status URL may return error state","Polling statusUrl indefinitely if generation hangs — no built-in webhook fallback"],"whenToPreferThis":"Choose this endpoint when you need to generate a short video clip from a natural language prompt without setting up an account or API key — payment via USDC is the only credential. It is ideal for agents that need on-demand, pay-per-use video generation at a known per-second price, especially for 5–15 second clips in landscape or vertical format. Prefer alternatives if you need longer videos, audio, custom styles, or higher-volume bulk generation with account-level rate management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:37:55.734Z","isFirstParty":false,"canonicalSlug":"treza-labs-text-to-video-generator-5b907dc9"}