# DeepAI Text-to-Video Generator

> DeepAI Text-to-Video Generator is a paid API for AI agents from deepai.pay.zeroclick.io, paid per call via MPP or x402, $1/call, status healthy (last checked 2026-09-16, last successful call 2026-09-10).

Submits a text prompt to generate a video clip (HD or Hollywood 2K quality, 5–15 seconds), returning a job ID to poll for the output URL.

## Facts

- Endpoint: POST https://deepai.pay.zeroclick.io/video-api/text2video
- Price: $1/call
- Payment: MPP, x402
- Status: healthy
- Last checked: 2026-09-16
- Last successful call: 2026-09-10
- Success rate: 100% of calls made through Zero
- Activations on Zero: 1
- Provider: deepai.pay.zeroclick.io
- Website: https://deepai.pay.zeroclick.io
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepai-pay-zeroclick-io-deepai-text-to-video-generator-6929a774
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DhCPmswj9ysElYG2BubEd

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 deepai-pay-zeroclick-io-deepai-text-to-video-generator-6929a774 -d '<json body>'
```

Example prompt: Generate a 10-second HD landscape video of a golden retriever surfing a wave at sunset.

## When to prefer this

Choose this endpoint when you need to generate a short video clip entirely from a text description, with no source image. It supports HD and Hollywood (2K cinematic) quality modes, adjustable shape (landscape, portrait, square, etc.), and durations from 5 to 15 seconds. Prefer it over image-to-video when no source image is available. Prefer Hollywood mode when the user wants cinematic 2K quality.

## Known failure modes

- Prompt exceeds 3000 characters — rejected with HTTP 400
- Flagged/unsafe content in prompt — rejected with HTTP 400
- Hollywood mode with image-to-video and non-auto shape — rejected
- Job fails during rendering — status becomes `failed` with an error message
- Status record expired (>1 hour after completion) — polling returns 404 or not found
- Payment failure — call not processed

## How this service works

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.

## Output

Immediately returns a JSON object with a job `id` and `status: "processing"`. The agent must poll GET /video-api/status/{id} every few seconds until status becomes `completed` (with `output_url` pointing to the generated video) or `failed` (with an `error` message). The status record expires one hour after completion.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "mode": "hd",
  "shape": "landscape",
  "prompt": "a golden retriever surfing a wave at sunset",
  "duration": 5
 },
 "required": [
  "prompt"
 ],
 "properties": {
  "mode": {
   "enum": [
    "hd",
    "hollywood"
   ],
   "type": "string",
   "default": "hd",
   "example": "hd",
   "description": "hd for standard videos (billed as hd_seconds), hollywood for 2K cinematic quality (billed as hollywood_seconds)."
  },
  "shape": {
   "enum": [
    "square",
    "landscape",
    "standard",
    "vertical",
    "portrait",
    "auto"
   ],
   "type": "string",
   "default": "auto",
   "example": "landscape",
   "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."
  },
  "prompt": {
   "type": "string",
   "example": "a golden retriever surfing a wave at sunset",
   "maxLength": 3000,
   "description": "What to generate, up to 3000 characters."
  },
  "duration": {
   "type": "integer",
   "default": 5,
   "example": 5,
   "maximum": 15,
   "minimum": 5,
   "description": "Length of the generated video in seconds, 5 to 15. Billing is per second."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deepai-pay-zeroclick-io-deepai-text-to-video-generator-6929a774/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from deepai.pay.zeroclick.io](https://www.zero.xyz/host/deepai.pay.zeroclick.io/llms.txt)
