Get API Key
Sign up and get your API key from RunBlob dashboard.All requests require Bearer authentication with your API key.
Generate Video
Create a video generation task with a text prompt.curl -X POST https://api.runblob.com/api/veo/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A cat playing with a ball in a sunny room"
}'
Response:{
"success": true,
"message": "Task created successfully",
"task_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
Check Status
Monitor your video generation progress using the task ID.curl -X GET https://api.runblob.com/api/veo/status/a1b2c3d4-e5f6-7890 \
-H "Authorization: Bearer YOUR_API_KEY"
Completed Response:{
"status": "completed",
"task_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message": "Task completed successfully",
"video_url": "https://your-video.mp4"
}
Video generation typically takes 1-10 minutes. Consider using webhooks for automatic notifications instead of polling.