Skip to content
onelayer.
All tools

Tool detail

Treza

Generates a short video from a text prompt, or animates an image's first frame, choosing from 8 video models.

Categories: Video generation

Use when

  • generate a short video clip from a text description
  • animate a still image into a short video clip
  • pick a specific video model (e.g. Veo, Kling, Seedance) for a generation

Not for

  • clips longer than 15 seconds — max length is model-dependent, capped at 15s
  • immediate results with async — poll the returned statusUrl instead

Inputs

POST JSON body: prompt (string, ≤2000 chars, required); model, image_url, aspectRatio (16:9|9:16), seconds, async (bool) — all optional

Admitted input schema

{
  "type": "object",
  "properties": {
    "aspectRatio": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "16:9",
        "9:16"
      ],
      "default": "16:9"
    },
    "async": {
      "type": "boolean",
      "description": "true: answer 202 with a statusUrl at once.",
      "default": false
    },
    "image_url": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "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."
    },
    "model": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "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"
      ],
      "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."
    },
    "prompt": {
      "type": "string",
      "minLength": 0,
      "maxLength": 2000,
      "description": "What the video should show."
    },
    "seconds": {
      "type": "number",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "enum": [
        4,
        5,
        6,
        8,
        10,
        15
      ],
      "description": "Clip length; each model sells its own (see model). Defaults to the model's shortest."
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://www.trezalabs.com/api/x402/video

Payment

Protocol
x402
Listed price
0.42 USDC per call on Base (default model/length; up to $4.90 for others)
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://www.trezalabs.com/api/x402/video
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z