Documentation Index
Fetch the complete documentation index at: https://developer.pixelbyte.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
Generate videos using one or more reference images to guide the visual style and content with Google’s Veo 3.1 Fast model.
| Property | Value |
|---|
| Provider | Google |
| Model | Veo 3.1 Fast |
| Capability | Reference to Video |
| Base Cost | 200,000 micro-cents/second ($0.20/sec) |
| Processing Time | ~240 seconds |
Request Body
Model slug. Use google/veo-3.1-fast/reference-to-video for reference-to-video generation.
Input parameters for reference-to-video generation.
Text description guiding the generation (max 4000 characters).
Array of reference image URLs (minimum 1, maximum 3).
Video aspect ratio. Default: 16:9. Options: 16:9, 9:16.
Output resolution. Default: 720p. Options: 720p, 1080p, 4k.
Video duration in seconds. Default: 8. Options: 4, 6, 8.
Enable audio generation. Default: true. Options: true, false.
Seed for reproducible results.
HTTPS URL to receive a webhook notification when the job completes or fails.
Pricing
Base cost: 200,000 micro-cents per second ($0.20/sec)
finalCost = baseCost × duration × resolution × has_sound
| Factor | Option | Multiplier |
|---|
| Duration | 4 | 4x |
| 6 | 6x |
| 8 | 8x |
| Resolution | 720p | 1x |
| 1080p | 1x |
| 4k | 1.5x |
| Sound | false | 1x |
| true | 1.5x |
Default cost: 8 seconds, 720p, with sound = 200,000 × 8 × 1 × 1.5 = 2,400,000 micro-cents ($2.40)
Response
Unique identifier for the submitted job.
Initial job status. Always "pending" on successful submission.
ISO 8601 timestamp of the estimated completion time.
The cost of the job in micro-cents.
Code Examples
curl -X POST https://api.muvi.video/v1/jobs/submit \
-H "Authorization: Bearer $PIXELBYTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/veo-3.1-fast/reference-to-video",
"input": {
"prompt": "A cinematic scene combining the visual elements from the reference images",
"image_urls": [
"https://example.com/reference1.png",
"https://example.com/reference2.png"
],
"aspect_ratio": "16:9",
"resolution": "1080p",
"duration": "8",
"has_sound": "true"
}
}'