AI Models
Veo 3.1 Fast
Faster AI video generation with good quality. Lower cost than standard Veo 3.1, supports 720p to 4K.
POST
$0.10/call/v1/media/queueOverview
Faster video generation with good quality. Lower cost than standard Veo 3.1, supports 720p to 4K.
| Property | Value |
|---|---|
| Model ID | google/veo-3-fast |
| Upstream Model | veo-3.1-fast-generate-preview |
| Resolutions | 720p, 1080p, 4K |
| Duration | 4, 6, or 8 seconds |
| Pricing | $0.20/sec (720p), $0.24/sec (1080p), $0.60/sec (4K) |
Usage
All media models use the async job queue. Submit a job, then poll for the result.
Step 1: Submit Job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'google/veo-3-fast',
prompt: 'A drone flyover of a mountain lake at golden hour',
options: {
aspectRatio: '16:9',
resolution: '1080p',
duration: '6',
},
}),
});
const { data } = await res.json();
// data.jobId — use this to poll for resultscurl -X POST https://api.yepapi.com/v1/media/queue \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/veo-3-fast", "prompt": "A drone flyover of a mountain lake", "options": {"resolution": "1080p", "duration": "6"}}'Step 2: Poll for Result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${data.jobId}`, {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status — "pending" | "processing" | "completed" | "failed"
// job.result.video — { mimeType, base64 } when completedcurl https://api.yepapi.com/v1/media/status/JOB_ID \
-H "x-api-key: YOUR_API_KEY"Pricing
| Resolution | Cost/sec |
|---|---|
| 720p | $0.20 |
| 1080p | $0.24 |
| 4K | $0.60 |
Under the Hood
Powered by Google's Gemini API directly.