packages/cloud-frontend/content/video-generation.mdx
import { Callout, Tabs, Cards } from "@/docs/components";
Create AI-generated videos from text prompts.
<div className="status-badge status-stable">Stable</div>elizaOS Cloud provides video generation through the configured video provider catalog. See the Video API reference or API Explorer for current models and defaults.
Navigate to Dashboard → Videos for the visual interface.
<Tabs items={['cURL', 'JavaScript', 'Python']}> <Tabs.Tab>
curl -X POST "https://elizacloud.ai/api/v1/generate-video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A butterfly emerging from a cocoon in slow motion",
"model": "fal-ai/veo3"
}'
</Tabs.Tab> <Tabs.Tab>
const response = await fetch('https://elizacloud.ai/api/v1/generate-video', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
prompt: 'A butterfly emerging from a cocoon in slow motion',
model: 'fal-ai/veo3',
}),
});
const result = await response.json();
console.log(result.video.url);
</Tabs.Tab> <Tabs.Tab>
import requests
response = requests.post(
'https://elizacloud.ai/api/v1/generate-video',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
json={
'prompt': 'A butterfly emerging from a cocoon in slow motion',
'model': 'fal-ai/veo3',
},
)
result = response.json()
print(result['video']['url'])
</Tabs.Tab> </Tabs>
{
"success": true,
"video": {
"url": "https://your-storage.vercel-storage.com/videos/abc123.mp4"
},
"model": "fal-ai/veo3"
}
Model availability and defaults are documented in the canonical Video API reference. Use that page or the API Explorer for the current model catalog and pricing-sensitive defaults.
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | ✓ | Text description of the video |
model | string | Model to use (default: fal-ai/veo3) |
Include camera direction for dynamic videos:
camera pan left/right - Horizontal movementzoom in/out - Focal adjustmentdolly forward/backward - Physical camera movementtracking shot - Following subjectaerial view - Bird's eye perspectiveBe specific about motion and timing:
{
"prompt": "A golden retriever running through autumn leaves in a park, slow motion, cinematic lighting, tracking shot following the dog"
}
slow motion - Dramatic effecttimelapse - Accelerated timecinematic - Movie-like qualityhandheld - Organic movementsteady cam - Smooth, professional| Code | Error | Solution |
|---|---|---|
| 400 | Invalid prompt | Ensure prompt is non-empty |
| 400 | Invalid model | Use a supported model |
| 402 | Insufficient credits | Add credits to your account |
| 429 | Rate limited | Wait and retry |
| 500 | Generation failed | Retry or try a different model |