Video Generation
Text-to-video and image-to-video models, pay-per-clip.
Text-to-video and image-to-video models, pay-per-clip. 3 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"
}'