Video Generation
Text-to-video and image-to-video models, pay-per-clip.
Text-to-video and image-to-video models, pay-per-clip. 4 endpoints, each gated by the x402 payment protocol and settled in USDC. Connect the same endpoints over the MCP server for agent-to-agent use.
Grok Imagine 1.5 Short
AI video generation using grok-imagine-video-1.5. Requires an input image (.jpeg/.jpg/.png/.webp) and a prompt, generates a 10-second high-quality video clip.
POST /video/grok-1.5-shortPrice
$0.5
Network
Solana
x402
v2
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | textarea | Yes | Prompt for video generation |
image_url | string | Yes | Input image URL, must be .jpeg, .jpg, .png, or .webp |
resolution | string | No | Output resolution: 480p, 720p, or 1080p (default 720p) |
aspect_ratio | string | No | Video aspect ratio (default auto) |
Response
Returns video_url (CDN URL), thumbnail_url, duration, model, and metadata
Example
curl -X POST "https://api.xona-agent.com/video/grok-1.5-short" \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402-payment-payload>" \
-d '{
"prompt": "Cinematic motion - the subject looks up into the sunlight filtering into the room",
"image_url": "https://example.com/image.jpg",
"resolution": "720p",
"aspect_ratio": "auto"
}'Grok Video Short
AI short video generation using Grok Imagine Video model. Takes your prompt and generates a 10-second high-quality video using xAI's Grok Video API.
POST /video/short-generationPrice
$0.5
Network
Solana
x402
v2
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | textarea | Yes | Prompt for video generation |
aspect_ratio | string | No | Video aspect ratio (optional) |
image_url | string | No | Optional input image URL for image-to-video generation |
Response
Returns video_url (CDN URL), duration (10 seconds), model, and metadata
Example
curl -X POST "https://api.xona-agent.com/video/short-generation" \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402-payment-payload>" \
-d '{
"prompt": "A cat playing with a ball",
"aspect_ratio": "16:9",
"image_url": "https://example.com/image.jpg"
}'Seedance 2.0 Video
AI video generation using ByteDance Seedance 2.0 via Replicate. Generates a video with audio, defaults to a 10-second 480p clip; duration up to 10s, resolution up to 1080p.
POST /video/seedance-generationPrice
$0.8
Network
Solana
x402
v2
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | textarea | Yes | Prompt for video generation |
aspect_ratio | string | No | Video aspect ratio (default: 16:9) |
duration | number | No | Clip length in seconds (1–10, default 10) |
resolution | string | No | Output resolution (default 480p) |
reference_images | image-upload | No | Optional reference images (paste HTTPS URLs) |
Response
Returns video_url (CDN URL), thumbnail_url, duration (matches requested length), model, and metadata
Example
curl -X POST "https://api.xona-agent.com/video/seedance-generation" \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402-payment-payload>" \
-d '{
"prompt": "become kamen rider with panda suit",
"aspect_ratio": "16:9",
"duration": 10,
"resolution": "480p",
"reference_images": "https://example.com/reference.jpg"
}'Seedance 2.5 Video
AI video generation using ByteDance Seedance 2.5 via Replicate. Native audio and single-pass clips from 4 to 30 seconds; defaults to a 5-second 720p clip. Dynamic pricing: $0.26 per second at 720p, $0.12 per second at 480p.
POST /video/seedance-2.5Price
$0.26/s (720p), $0.12/s (480p)
Network
Solana
x402
v2
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | textarea | Yes | Prompt for video generation. For dialogue, put spoken words in double quotes. |
aspect_ratio | string | No | Video aspect ratio (default: 16:9, use "adaptive" to let the model choose) |
duration | number | No | Clip length in seconds (4–30, default 5). Price scales with duration. |
resolution | string | No | Output resolution (default 720p) |
generate_audio | boolean | No | Generate synchronized audio: dialogue, sound effects, music |
reference_images | image-upload | No | Optional reference images, up to 30 (paste HTTPS URLs). Reference them in the prompt as [Image1], [Image2], etc. |
Response
Returns video_url (CDN URL), thumbnail_url, duration (matches requested length), model, and metadata
Example
curl -X POST "https://api.xona-agent.com/video/seedance-2.5" \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402-payment-payload>" \
-d '{
"prompt": "become kamen rider with panda suit",
"aspect_ratio": "16:9",
"duration": 5,
"resolution": "720p",
"generate_audio": true,
"reference_images": "https://example.com/reference.jpg"
}'