# Treza Labs Text-to-Video Generator

> Treza Labs Text-to-Video Generator is a paid API for AI agents from www.trezalabs.com, paid per call via x402, $0.42/call, status unknown (last checked 2026-09-15).

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.

## Facts

- Endpoint: POST https://www.trezalabs.com/api/x402/video
- Price: $0.42/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treza-labs-text-to-video-generator-5b907dc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZPU_XD58uGPFrnzHFuh09

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability treza-labs-text-to-video-generator-5b907dc9 -d '<json body>'
```

Example prompt: Generate a 10-second landscape video of a red fox running through a snowy forest at dusk.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "prompt": {
       "type": "string",
       "maxLength": 2000,
       "description": "What the video should show."
      },
      "seconds": {
       "type": "number",
       "enum": [
        5,
        10,
        15
       ],
       "default": 5,
       "description": "Clip length. Longer clips cost proportionally more; the 402 challenge quotes the price for the length you send."
      },
      "aspectRatio": {
       "type": "string",
       "enum": [
        "16:9",
        "9:16"
       ],
       "default": "16:9",
       "description": "Landscape (16:9) or vertical (9:16)."
      },
      "model": {
       "type": "string",
       "enum": [
        "minimax-h3",
        "seedance-2.5"
       ],
       "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."
      }
     },
     "required": [
      "prompt"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treza-labs-text-to-video-generator-5b907dc9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.trezalabs.com](https://www.zero.xyz/host/www.trezalabs.com/llms.txt)
