Api Endpoint

Treza

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.

Open interactive test console

Offering

Provider
www.trezalabs.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://www.trezalabs.com/api/x402/video
MIME type
Not provided
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
video, video-generation, text-to-video, image-to-video, veo

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.42 USDC
Atomic price: 420000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.42 USDC
Atomic price: 420000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "420000",
    "payTo": "0xaE393a9CD728F7397F50f6f8C88096a0F3D2b42C"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "420000",
    "payTo": "EX4MyYWHc7NKBGuytmMpxixM7ovSWYLNy5acN2mFfoGd"
  }
]

Observed health

Status
Healthy
Latest latency
66 ms
Average latency
1009 ms
HTTP status
204
Last checked
Reachability
100% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "aspectRatio": {
          "default": "16:9",
          "enum": [
            "16:9",
            "9:16"
          ],
          "type": "string"
        },
        "async": {
          "default": false,
          "description": "true: answer at once, status running with a statusUrl.",
          "type": "boolean"
        },
        "image_url": {
          "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.",
          "format": "uri",
          "type": "string"
        },
        "model": {
          "description": "Defaults to minimax-h3 without an image_url. 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.",
          "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"
        },
        "prompt": {
          "description": "What the video should show.",
          "maxLength": 2000,
          "type": "string"
        },
        "seconds": {
          "description": "Clip length; each model sells its own (see model). Defaults to the model's shortest.",
          "enum": [
            4,
            5,
            6,
            8,
            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 schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "aspectRatio": {
              "default": "16:9",
              "enum": [
                "16:9",
                "9:16"
              ],
              "type": "string"
            },
            "async": {
              "default": false,
              "description": "true: answer at once, status running with a statusUrl.",
              "type": "boolean"
            },
            "image_url": {
              "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.",
              "format": "uri",
              "type": "string"
            },
            "model": {
              "description": "Defaults to minimax-h3 without an image_url. 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.",
              "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"
            },
            "prompt": {
              "description": "What the video should show.",
              "maxLength": 2000,
              "type": "string"
            },
            "seconds": {
              "description": "Clip length; each model sells its own (see model). Defaults to the model's shortest.",
              "enum": [
                4,
                5,
                6,
                8,
                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"
}