# x402.agentutility.ai Text-to-Video (Seedance)

> x402.agentutility.ai Text-to-Video (Seedance) is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-14).

Generates a short MP4 video clip from a text prompt using fal.ai Bytedance Seedance, with configurable duration, aspect ratio, and resolution, returning a hosted video URL.

## Facts

- Endpoint: POST https://x402.agentutility.ai/text-to-video
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agentutility-ai-text-to-video-seedance-88af7b59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ha40yZUUubd1nYmoC-O1T

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 x402-agentutility-ai-text-to-video-seedance-88af7b59 -d '<json body>'
```

Example prompt: Generate a 5-second 16:9 video of a golden retriever running through a field of sunflowers in slow motion — use AI video generation and give me the MP4 link when it's done.

## When to prefer this

Choose this endpoint when you need to generate short AI video clips from text descriptions using the Bytedance Seedance model specifically, with pay-per-call USDC pricing via x402 and no subscription required. Prefer it for autonomous agent workflows needing programmatic, on-demand video generation with configurable aspect ratios (including vertical 9:16 for social media) and resolutions. It is particularly suited for agents that need a simple REST call returning a ready-to-use hosted MP4 URL without managing fal.ai credentials directly.

## Known failure modes

- Invalid or missing prompt returns a 400 or validation error
- Unsupported aspect ratio or resolution value causes request rejection
- fal.ai backend timeout or generation failure results in an error response
- Payment failure (insufficient USDC) blocks the request via x402 protocol
- Model override referencing a non-existent fal.ai model returns an upstream error

## How this service works

Generates video from a text prompt via fal.ai Bytedance Seedance. Duration, aspect ratio, and resolution are configurable. Returns a hosted MP4 URL plus fal request id and seed. Use it for AI video, Seedance generation, generative video, and cinematic clips from a prompt.

## Output

A JSON object containing a hosted MP4 video URL (video_url), the fal.ai request ID (fal_request_id), the random seed used (seed), the model name, the original prompt, and the configured duration, resolution, and aspect ratio. The video is immediately streamable from the returned URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "prompt"
     ],
     "properties": {
      "model": {
       "type": "string",
       "description": "Override the fal.ai model. Default 'fal-ai/bytedance/seedance/v1/pro/text-to-video'."
      },
      "prompt": {
       "type": "string",
       "description": "Video scene description."
      },
      "duration": {
       "type": "string",
       "description": "Clip length, e.g. '5s' or '10s'. Default '5s'."
      },
      "resolution": {
       "type": "string",
       "description": "Video resolution: '720p', '480p'. Default '720p'."
      },
      "aspect_ratio": {
       "type": "string",
       "description": "Aspect ratio: '16:9', '9:16', '1:1', '4:3'. Default '16:9'."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "seed": {
       "type": "integer"
      },
      "model": {
       "type": "string"
      },
      "prompt": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "duration": {
       "type": "string"
      },
      "video_url": {
       "type": "string"
      },
      "resolution": {
       "type": "string"
      },
      "aspect_ratio": {
       "type": "string"
      },
      "fal_request_id": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "seed": 42,
  "model": "fal-ai/bytedance/seedance/v1/pro/text-to-video",
  "prompt": "A golden retriever running through a field of sunflowers, slow motion",
  "source": "fal-ai",
  "duration": "5s",
  "video_url": "https://v3.fal.media/files/abc/xyz/video.mp4",
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "fal_request_id": "fal_vid..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agentutility-ai-text-to-video-seedance-88af7b59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
