YepAPI
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/v1/media/queue
$0.20/sec

Overview

Faster video generation with good quality. Lower cost than standard Veo 3.1, supports 720p to 4K.

PropertyValue
Model IDgoogle/veo-3-fast
Upstream Modelveo-3.1-fast-generate-preview
Resolutions720p, 1080p, 4K
Duration4, 6, or 8 seconds
BillingPer-second (dynamic)
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

Text-to-Video

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 results
curl -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"}}'

Image-to-Video

Pass a reference image via imageData to generate a video from a still image.

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: 'Bring this photo to life with gentle camera movement and ambient motion',
    options: { aspectRatio: '16:9', resolution: '1080p', duration: '6' },
    imageData: {
      mimeType: 'image/png',
      base64: '...', // Base64-encoded image
    },
  }),
});

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 completed
curl https://api.yepapi.com/v1/media/status/JOB_ID \
  -H "x-api-key: YOUR_API_KEY"

Request Body

ParameterTypeRequiredDescriptionDefault
modelstringYesgoogle/veo-3-fast
promptstringYesText description of the video to generate
options.aspectRatiostringNo16:9 or 9:1616:9
options.resolutionstringNo720p, 1080p, or 4K1080p
options.durationstringNo4, 6, or 8 (seconds)6
imageData.mimeTypestringNoMIME type of input image (image/png, image/jpeg, image/webp)
imageData.base64stringNoBase64-encoded input image for image-to-video generation

Pricing

ResolutionCost/sec
720p$0.20
1080p$0.24
4K$0.60
Under the Hood

Powered by Google's Gemini API directly.

On this page