{
  "x402Version": 2,
  "id": 26898,
  "slug": "26898",
  "resource": "https://www.trezalabs.com/api/x402/video",
  "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.",
  "type": "http",
  "serviceName": "Treza",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xaE393a9CD728F7397F50f6f8C88096a0F3D2b42C",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "420000",
      "amountUsd": 0.42,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "EX4MyYWHc7NKBGuytmMpxixM7ovSWYLNy5acN2mFfoGd",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "420000",
      "amountUsd": 0.42,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "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",
            "model": "minimax-h3",
            "paidUsd": 0.42,
            "runId": "2026-09-23T18:04:11.000Z#1a2b3c4d",
            "seconds": 5,
            "status": "success",
            "statusUrl": "https://www.trezalabs.com/api/x402/video?runId=...&token=...",
            "transaction": "0x...",
            "video": "https://www.trezalabs.com/api/media/generated/x402_video/1a2b3c4d.mp4?s=...&c=..."
          },
          "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",
                    "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"
      }
    }
  },
  "tags": [
    "video",
    "video-generation",
    "text-to-video",
    "image-to-video",
    "veo",
    "bazaar"
  ],
  "sourceHost": "www.trezalabs.com",
  "lastUpdated": "2026-10-08T16:05:12.627Z",
  "quality": {
    "calls30d": 16,
    "uniquePayers30d": 8,
    "lastCalledAt": "2026-10-08T16:05:12.412Z"
  },
  "metadata": {
    "serviceName": "Treza",
    "extensions": {
      "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",
              "model": "minimax-h3",
              "paidUsd": 0.42,
              "runId": "2026-09-23T18:04:11.000Z#1a2b3c4d",
              "seconds": 5,
              "status": "success",
              "statusUrl": "https://www.trezalabs.com/api/x402/video?runId=...&token=...",
              "transaction": "0x...",
              "video": "https://www.trezalabs.com/api/media/generated/x402_video/1a2b3c4d.mp4?s=...&c=..."
            },
            "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",
                      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.trezalabs.com",
    "manifest_name": "www.trezalabs.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}