/APIXO Docs

Veo 3.1

Google's high-fidelity video generation with Fast and Quality modes

Veo 3.1

Google's advanced video generation with multiple quality tiers.

Model ID
veo-3-1
Price
$0.20-1.50/video
Speed
~2 minutes
Type
Video

Quality Modes

ModePriceDescription
fast$0.20Quick, cost-effective
quality$1.50High-fidelity output

Generation Types

TypeImages RequiredDescription
TEXT_2_VIDEO0Text-only video generation
FIRST_AND_LAST_FRAMES_2_VIDEO1-2Transition between frames
REFERENCE_2_VIDEO1-3Style reference (fast mode, 16:9 only)

Parameters

For common parameters (request_type, callback_url), see Request Format.

ParameterTypeRequiredDefaultDescription
modestringYes-fast or quality
promptstringYes-Video description (max 10,000 characters)
generationTypestringYes-See Generation Types above
image_urlsstring[]No-Reference images (max 10MB, JPG/PNG)
aspect_ratiostringNo16:916:9, 9:16, or auto
enableTranslationbooleanNotrueAuto-translate prompts
watermarkstringNo-Custom watermark
seedintegerNo-For reproducibility

Examples

Text to Video (Fast)

curl -X POST https://api.apixo.ai/api/v1/generateTask/veo-3-1 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request_type": "async",
    "input": {
      "mode": "fast",
      "prompt": "A golden retriever running through a field of flowers",
      "generationType": "TEXT_2_VIDEO",
      "aspect_ratio": "16:9"
    }
  }'

Frame Transition

curl -X POST https://api.apixo.ai/api/v1/generateTask/veo-3-1 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request_type": "async",
    "input": {
      "mode": "quality",
      "prompt": "Smooth morphing transition between the two landscapes",
      "generationType": "FIRST_AND_LAST_FRAMES_2_VIDEO",
      "image_urls": [
        "https://example.com/start-frame.jpg",
        "https://example.com/end-frame.jpg"
      ],
      "aspect_ratio": "16:9"
    }
  }'

Tips

  • Polling: Wait 120 seconds, then poll every 10 seconds
  • Timeout: Set max wait to 10 minutes
  • REFERENCE_2_VIDEO only works with fast mode and 16:9 aspect ratio
  • Use quality mode for final output, fast for iterations

On this page