# BlockRun Video Generation

> BlockRun Video Generation is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.420001/call, status unknown (last checked 2026-09-14).

Generates AI videos from text prompts or seed images using models like xai/grok-imagine-video or bytedance/seedance-2.0-fast, billed per call in USDC

## Facts

- Endpoint: POST https://blockrun.ai/api/v1/videos/generations
- Price: $0.420001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Success rate: 0% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-video-generation-0e10d7bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AkLsC3BOIugnM98dCcBdj

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 blockrun-video-generation-0e10d7bf -d '<json body>'
```

Example prompt: Generate a 5-second video of a golden retriever running on a sunny beach at sunset using the bytedance/seedance-2.0-fast model.

## When to prefer this

Choose this endpoint when you need AI video generation (text-to-video or image-to-video) without managing API keys, and want to pay per call in USDC on Base or Solana. Ideal for agents that need access to multiple video models (xAI Grok, ByteDance Seedance) through a single unified gateway with crypto-native payments.

## Known failure modes

- Invalid or unsupported model ID returns an error
- Seed image URL is unreachable or malformed
- real_face_asset_id provided but model is not Seedance 2.0 fast/pro
- Insufficient USDC balance causes payment failure and 402 response
- Prompt violates content policy and generation is rejected
- Duration exceeds model limits

## How this service works

Pay for the outcome. One endpoint for every model, tool and data source an agent needs — each call priced before it runs, at the best value per dollar. 103 models and 100 data and tool APIs.

## Output

Returns a generated video or a video generation job result, including a video URL or asset reference, after the per-call fee of $0.42 USDC is settled on Base or Solana.

## Example request

```json
{
 "model": "xai/grok-imagine-video",
 "prompt": "A serene landscape with rolling hills and a sunset sky, birds flying in formation",
 "duration_seconds": 5
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Video model ID (e.g., xai/grok-imagine-video, bytedance/seedance-2.0-fast)"
  },
  "prompt": {
   "type": "string",
   "description": "Text description of the video to generate"
  },
  "image_url": {
   "type": "string",
   "description": "Optional seed image URL for image-to-video"
  },
  "duration_seconds": {
   "type": "integer",
   "description": "Duration billed for (default: model default)"
  },
  "real_face_asset_id": {
   "type": "string",
   "description": "BytePlus RealFace asset ID (ta_...) — Seedance 2.0 fast/pro only"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-video-generation-0e10d7bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
