# x402donghang Extended Video Generation

> x402donghang Extended Video Generation is a paid API for AI agents from x402donghang.duckdns.org, paid per call via x402, $1.99/call, status unknown (last checked 2026-09-15).

Generates an extended video clip from a text prompt, returning a task ID and status URL for async retrieval, paid via USDC through x402 protocol.

## Facts

- Endpoint: POST https://x402donghang.duckdns.org/x402/v1/video-gen/extended
- Price: $1.99/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402donghang-extended-video-generation-8f63d94e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vduukRMV1ZzpDIBpOZ12J

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 x402donghang-extended-video-generation-8f63d94e -d '<json body>'
```

Example prompt: Generate an extended AI video of a futuristic city at sunset with flying cars and neon lights reflecting off rain-soaked streets — pay with USDC.

## When to prefer this

Choose this endpoint when you need to generate a longer or extended AI video from a text prompt without requiring account signup, and you can pay $1.99 USDC via the x402 protocol. It is best suited for async workflows where you can poll a status URL for completion. Prefer alternatives if you need synchronous video delivery, image or audio generation, or if you do not have USDC available for payment.

## Known failure modes

- Payment not received or USDC transfer fails — request rejected with 402 Payment Required
- Prompt exceeds 2000 characters — validation error returned
- Prompt is empty or missing — minLength constraint violation
- Video generation backend unavailable — task may be created but never completes
- Status URL polling may time out if generation takes too long
- Invalid JSON body — 400 Bad Request

## How this service works

Fresh crypto narrative research with market context and verifiable source URLs. Free BTC sample; custom radar $0.02/call via x402 USDC.

## Output

Returns a JSON object with ok status, tier, price confirmation, a unique task_id UUID, and a status_url to poll for the completed video. The actual video is retrieved asynchronously by querying the status endpoint with the task_id.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prompt": {
   "type": "string",
   "maxLength": 2000,
   "minLength": 1,
   "description": "Text description of the video to generate"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tier": "standard",
  "price": "$0.99",
  "status": "pending",
  "product": "video-gen",
  "task_id": "uuid",
  "status_url": "https://x402donghang.duckdns.org/x402/v1/video-gen/status?task_id=uuid"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402donghang-extended-video-generation-8f63d94e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402donghang.duckdns.org](https://www.zero.xyz/host/x402donghang.duckdns.org/llms.txt)
