Generate a video from a text prompt and get the file back
Generate a video from a text prompt and get the file back. Price scales with clip length and the model you pick: minimax-h3 (default) 5s $0.42, 10s $0.84, 15s $1.26; seedance-2.5 5s $1.64, 10s $3.27, 15s $4.90, in 16:9 or 9:16. Send a prompt, poll the returned statusUrl until the video URL appears. No account, API key, or signup: the payment is the only credential.
420000 (raw units)
price
5
calls / 30d
3
unique payers
2026-09-17
updated
Provider
www.trezalabs.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xe8dC41F9e675Ba8340140c99180CFaEE65D4d160",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "420000",
"maxTimeoutSeconds": 120
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"aspectRatio": "16:9",
"model": "minimax-h3",
"prompt": "a manta ray gliding over a sunlit coral reef, slow cinematic drift",
"seconds": 5
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"aspectRatio": "16:9",
"balanceUsd": 0,
"model": "minimax-h3",
"network": "eip155:8453",
"paidUsd": 0.42,
"pollAfterMs": 15000,
"runId": "2026-08-23T18:04:11.000Z#1a2b3c4d",
"seconds": 5,
"status": "running",
"statusUrl": "https://www.trezalabs.com/api/x402/video?runId=...&token=...",
"transaction": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"aspectRatio": {
"default": "16:9",
"description": "Landscape (16:9) or vertical (9:16).",
"enum": [
"16:9",
"9:16"
],
"type": "string"
},
"model": {
"default": "minimax-h3",
"description": "Which video model renders it. minimax-h3: 768p with native audio, and the fewest prompt refusals of anything we run. The default, and the right choice unless you have a reason to pay more. seedance-2.5: 720p with native audio and higher fidelity, at about four times the price. Its content filter is strict: prompts that resemble a brand, a broadcast, or a famous scene are refused. A refusal is not charged, and the status response carries a retryUrl that renders a reworded prompt without paying again. Prices: minimax-h3 (default) 5s $0.42, 10s $0.84, 15s $1.26; seedance-2.5 5s $1.64, 10s $3.27, 15s $4.90.",
"enum": [
"minimax-h3",
"seedance-2.5"
],
"type": "string"
},
"prompt": {
"description": "What the video should show.",
"maxLength": 2000,
"type": "string"
},
"seconds": {
"default": 5,
"description": "Clip length. Longer clips cost proportionally more; the 402 challenge quotes the price for the length you send.",
"enum": [
5,
10,
15
],
"type": "number"
}
},
"required": [
"prompt"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://www.trezalabs.com/api/x402/video" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://www.trezalabs.com/api/x402/video");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://www.trezalabs.com/api/x402/video")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6955.json, and this resource appears in /discovery/resources and /discovery/search.