Submits a text to video job
Submits a text to video job. Returns {id, status: "processing"} immediately; poll GET /video-api/status/{id} every few seconds until status is completed (output_url) or failed (error). The status record expires one hour after completion. Prompts over 3000 characters and flagged content are rejected with a 400. Billed per second at the chosen mode.
1000000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-10
updated
Provider
deepai.pay.zeroclick.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2a90d68071b16ba7ab236709d4e37a54f56fea3b",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "zeroclick:card",
"payTo": "merchant",
"asset": "USD",
"amount": "100",
"maxTimeoutSeconds": 3600
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"duration": 5,
"mode": "hd",
"prompt": "a golden retriever surfing a wave at sunset",
"shape": "landscape"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"example": {
"duration": 5,
"mode": "hd",
"prompt": "a golden retriever surfing a wave at sunset",
"shape": "landscape"
},
"properties": {
"duration": {
"default": 5,
"description": "Length of the generated video in seconds, 5 to 15. Billing is per second.",
"example": 5,
"maximum": 15,
"minimum": 5,
"type": "integer"
},
"mode": {
"default": "hd",
"description": "hd for standard videos (billed as hd_seconds), hollywood for 2K cinematic quality (billed as hollywood_seconds).",
"enum": [
"hd",
"hollywood"
],
"example": "hd",
"type": "string"
},
"prompt": {
"description": "What to generate, up to 3000 characters.",
"example": "a golden retriever surfing a wave at sunset",
"maxLength": 3000,
"type": "string"
},
"shape": {
"default": "auto",
"description": "Output shape. auto uses landscape for text to video and matches the source image for image to video. Must be auto in hollywood mode for image to video.",
"enum": [
"square",
"landscape",
"standard",
"vertical",
"portrait",
"auto"
],
"example": "landscape",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"zeroclick": {
"info": {
"payment": {
"amountUsd": "1.000000",
"id": "apay_4ESJV_UvNYE8ubTTI1E8A"
},
"requestId": "zcreq_-TPHvXG4IVDN3GnwONmrI",
"service": "text-to-video"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"agentId": {
"type": "string"
},
"payment": {
"properties": {
"amountUsd": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"amountUsd"
],
"type": "object"
},
"requestId": {
"type": "string"
},
"service": {
"type": "string"
}
},
"required": [
"payment"
],
"type": "object"
}
}
}Use it
curl
curl "https://deepai.pay.zeroclick.io/video-api/text2video" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://deepai.pay.zeroclick.io/video-api/text2video");
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://deepai.pay.zeroclick.io/video-api/text2video")
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/3492.json, and this resource appears in /discovery/resources and /discovery/search.