models

Google: Veo 3.1

Markdown · JSON

Google: Veo 3.1

Veo 3.1 is Google’s video model for text- and image-led scenes with generated sound, guided boundary frames and reference assets. Its production profile provides four-, six- or eight-second clips at 24 fps, with output options including 720p, 1080p and 4K.

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

Veo 3.1 is Google’s video-generation model for creating a short audiovisual scene from text or an image-led brief. Its production profile supports text-to-video, image-to-video and guided first/last-frame creation, with generated sound, asset references and a separate continuation workflow. Use it to develop a cinematic concept, a short product narrative or a visual segment with a defined scene, action and listening experience.

Describe the subject and the visible event first. Establish the surroundings, time of day and light, then define the camera’s viewpoint or movement and the intended visual style. An original scene brief might show a glass vessel on a dark studio surface, with a slow lateral move revealing a reflection while a soft environmental sound accompanies the reveal. Each instruction gives a visible or audible feature that can be assessed in the completed result.

Google’s prompting framework treats the subject, action, scene, camera and aesthetics as separate parts of the brief. Use the parts that serve the shot rather than adding every possible descriptor. Write direction in English for the documented prompt profile. If the scene has several actions, state their relationship and keep them proportionate to a short clip, so a reveal or reaction remains readable.

A starting image establishes the opening appearance and composition. Use it when the character, product or setting already exists as a visual asset, and describe the motion that should develop from it. A last frame adds a target composition for the ending. Prepare boundary frames that communicate a plausible transition and preserve the details that identify the main subject, then inspect the movement between those frames after generation.

Asset references serve another purpose: they guide a character or object’s appearance in a newly generated scene, while boundary frames define specific moments in that scene. Choose references that show the important visual traits and make each asset’s role clear in the prompt. The production model’s reference-image-to-video specification uses eight-second output for that reference workflow, separate from ordinary text-led duration selection.

The maker’s ordinary production profile generates four-, six- or eight-second clips at 24 frames per second. It lists landscape 16:9 and portrait 9:16 framing, up to four video outputs per prompt and output resolutions of 720p, 1080p and 4K. The output video format is MP4. Its image-led specification accepts JPEG or PNG, lists an input image maximum of 20 MB and supports 720p/1080p input configurations. Choose the output profile for the intended placement and keep the frame composition readable at that size.

Native sound can accompany the visible scene. Specify spoken lines, atmosphere and sound effects as parts of the same brief, naming the subject or event that produces each one. A dialogue instruction and a camera instruction answer different questions: one establishes the performance, the other establishes how the viewer sees it. Keep the words within the clip’s useful speaking time and review the sound for intelligibility and its relationship to the action.

For a continuation, the maker provides a separate video-extension workflow. Begin from an appropriate generated source clip and describe the next visible event or change in the scene. Preserve the original and continued segment so their joining point can be reviewed for appearance, motion and sound. The normal new-generation duration and resolution choices should not be treated as a universal contract for every extension operation.

A negative description can focus exclusions on the task’s visual requirements. For a series of product variations, keep the subject and composition stable while changing a single creative direction, such as the lighting or camera distance. Record the prompt, references and selected settings with the result. This makes it possible to compare a useful creative difference rather than a collection of unrelated generations.

The regular Veo 3.1 production profile and Veo 3.1 Fast have different output-resolution profiles. Fast lists 720p and 1080p; regular 3.1 also lists 4K. Keep the chosen edition attached to the result, without silently replacing a production model identifier with an older Preview profile or another Veo generation. Both the appearance of a subject and the supported operation depend on the selected workflow.

Generation is an operation whose completed result provides video artifacts for playback and later editing. Keep the returned files with their source frames, reference assets and brief, and preserve supplied content-provenance information. Inspect each actual output for the subject’s appearance, action, framing, sound and final composition. Use the chosen clip as a production building block, with titles, transitions or other finishing work added in the surrounding edit.

Ailoot Ultra · Video POST /v1/videos google/veo-3.1

google/veo-3.1

Google /google/veo-3.1

Overview

Veo 3.1 is Google’s video model for text- and image-led scenes with generated sound, guided boundary frames and reference assets. Its production profile provides four-, six- or eight-second clips at 24 fps, with output options including 720p, 1080p and 4K.

Accepted inputs
Text
Results
Video

Available in Ailoot · inputs & methods

Ailoot Ultra · Video POST /v1/videos
Input types
text
Output types
video
Output format
mp4
Output count
Up to 4 outputs
FieldTypeRequirementValues & limitsDefault
FieldmodelTypestringRequirementRequiredValues & limits
google/veo-3.1
Default—
FieldpromptTypestringRequirementRequiredValues & limits
Maximum UTF-8 bytes: 10,000
Non-whitespace required: Yes
Default—
FielddurationTypeintegerRequirementRequiredValues & limits
4, 6, 8
Default—
FieldresolutionTypestringRequirementRequiredValues & limits
720p
Default—
Fieldaspect_ratioTypestringRequirementRequiredValues & limits
16:9, 9:16
Default—
Fieldgenerate_audioTypebooleanRequirementRequiredValues & limits
false, true
Default—
Input material combinations

Text to video · Required: prompt

Method parameters and lifecycle
ParameterContract
Parametercontent_typeContractapplication/json
ParameterrequiredContractmodel, prompt, duration, resolution, aspect_ratio, generate_audio
Parameteradditional_propertiesContractfalse
ParameterparametersContract{"name":"model","type":"string","required":true,"enum":["google/veo-3.1"]}, {"name":"prompt","type":"string","required":true,"non_whitespace":true,"max_utf8_bytes":10000}, {"name":"duration","type":"integer","required":true,"enum":[4,6,8]}, {"name":"resolution","type":"string","required":true,"enum":["720p"]}, {"name":"aspect_ratio","type":"string","required":true,"enum":["16:9","9:16"]}, {"name":"generate_audio","type":"boolean","required":true,"enum":[false,true]}
Parametermaterial_typesContracttext

Method aliases: /v1/videos/generations, /videos, /videos/generations

Lifecycle: submit_once_poll_original

GET /v1/videos/{request_id}

GET /v1/videos/generations/{request_id}

GET /v1/videos/{request_id}/content

GET /v1/videos/generations/{request_id}/content

Keep the complete response and the original returned IDs.

Never resubmit an unknown creation.

Pricing

How the final charge is calculated

The displayed rates estimate the cost before generation. The final charge is calculated from the cost recorded for the original generation. Measured output duration and forecast quantities are not the final billable quantity.

Tariff references do not add request options. Supported parameters are listed for the selected method.

Fast mode
Not specified When fast mode is selected
Flex mode
Not specified When flex mode is selected
Maximum reasoning effort
Not specified When maximum reasoning effort uses the default adjustment

Estimated rates for comparison

Prices by configuration

Match each charge to the conditions shown. Use one rate for each set of alternative configurations.

ConfigurationRate scheduleForecast quantityGenerate audioResolutionBilling unitBilling conditionsCharge
ConfigurationBase token ratesRate scheduleBase rateForecast quantity—Generate audio—Resolution—Billing unit—Billing conditions—Charge
Input · Input tokens · Estimate for comparison only — / 1K tokens
Output · Output tokens · Estimate for comparison only — / 1K tokens
Input · Cache read · Estimate for comparison only — / 1K tokens
Input · Cache write · Estimate for comparison only — / 1K tokens
Input · Cache write, 1 hour · Estimate for comparison only — / 1K tokens
ConfigurationUltraRate schedule—Forecast quantityRequested configuration; estimate only.Generate audioWith audioResolution720pBilling unitper output video secondBilling conditions—Charge
Output · Estimated output video second · Estimate for comparison only $0.8 per output video second

The displayed rate estimates the cost before generation. The final charge is calculated from the cost recorded for the original generation. Physical video duration is not the billable quantity.

ConfigurationVideo priceRate schedule—Forecast quantity—Generate audio—Resolution—Billing unitper video secondBilling conditionsaudio: with_audio; resolution: 4kCharge
Output · Video price · Estimate for comparison only $1.2 per video second
ConfigurationUltraRate schedule—Forecast quantityRequested configuration; estimate only.Generate audioWithout audioResolution720pBilling unitper output video secondBilling conditions—Charge
Output · Estimated output video second · Estimate for comparison only $0.4 per output video second

The displayed rate estimates the cost before generation. The final charge is calculated from the cost recorded for the original generation. Physical video duration is not the billable quantity.

ConfigurationVideo priceRate schedule—Forecast quantity—Generate audio—Resolution—Billing unitper video secondBilling conditionsaudio: without_audio; resolution: 4kCharge
Output · Video price · Estimate for comparison only $0.8 per video second
ConfigurationEstimated generation costRate schedule—Forecast quantityone generation estimateGenerate audio—Resolution—Billing unit—Billing conditions—Charge
Output · Estimated generation cost · Estimate for comparison only $1.6 estimate before generation

This estimate is not an additional charge or a fixed rate for the completed generation.

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →

Reference tariff details

Model-level reference schedules do not change method selection, quotes or charges. Active charges use the selected Ailoot method rates.

Video configuration price references

Prices by configuration

Match each charge to the conditions shown. Use one rate for each set of alternative configurations.

ConfigurationBilling conditionsCharge
ConfigurationVideo priceBilling conditionsaudio: with_audioCharge
Output · Video price $0.8 per video second

Published price reference for the configuration shown. Final charges follow the actual billed configuration.

ConfigurationVideo priceBilling conditionsaudio: with_audio; resolution: 4kCharge
Output · Video price $1.2 per video second

Published price reference for the configuration shown. Final charges follow the actual billed configuration.

ConfigurationVideo priceBilling conditionsaudio: without_audioCharge
Output · Video price $0.4 per video second

Published price reference for the configuration shown. Final charges follow the actual billed configuration.

ConfigurationVideo priceBilling conditionsaudio: without_audio; resolution: 4kCharge
Output · Video price $0.8 per video second

Published price reference for the configuration shown. Final charges follow the actual billed configuration.

Example requests

Ailoot Ultra · Video

curl · exact configured profile
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "google/veo-3.1", "prompt": "a calm greenhouse", "duration": 6, "resolution": "720p", "aspect_ratio": "16:9", "generate_audio": true}')
Path('request.json').write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/videos \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
python3 - <<'PY_RESULT'
import json
from pathlib import Path
r=json.loads(Path('result.json').read_text())
print(json.dumps(r,ensure_ascii=False,indent=2))
print('Keep the complete JSON and response headers; do not resubmit an unknown creation.')
PY_RESULT

Receive and save results

Ailoot Ultra · Video

mp4

  • GET /v1/videos/{request_id}
  • GET /v1/videos/generations/{request_id}
  • GET /v1/videos/{request_id}/content
  • GET /v1/videos/generations/{request_id}/content
Check job status
GET original status
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
python3 - <<'PY_STATUS_URL'
import json
from pathlib import Path
from urllib.parse import quote
r=json.loads(Path('result.json').read_text())
if not isinstance(r.get('id'),str) or not r['id']:raise SystemExit('Keep the original response and headers for reconciliation; no returned ID')
Path('status-url.txt').write_text('https://api.ailoot.ai/v1/videos/'+quote(r['id'],safe=''))
PY_STATUS_URL
curl --fail-with-body --silent --show-error "$(cat status-url.txt)" \
  -H "Authorization: Bearer $AILOOT_API_KEY" -D status-headers.txt -o status.json
python3 - <<'PY_RESULT'
import json
from pathlib import Path
r=json.loads(Path('status.json').read_text())
print(json.dumps(r,ensure_ascii=False,indent=2))
print('Keep the complete JSON and response headers; do not resubmit an unknown creation.')
PY_RESULT
Other content reads
Save every completed owned output
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_ASSETS'
import json,os,subprocess
from pathlib import Path
from urllib.parse import urljoin,urlsplit
r=json.loads(Path('status.json').read_text())
if r.get('status')!='completed':raise SystemExit('Keep the original ID and read its status; never recreate an unknown job')
if not isinstance(r.get('data'),list) or not r['data']:raise SystemExit('Keep the complete original status; no completed outputs supplied')
urls=[]
for i,u in enumerate(r.get('data',[])):
    if not isinstance(u,str):raise SystemExit('Keep the original response; unexpected asset shape')
    urls.append((str(i),u))
for label,path in urls:
    u=urljoin('https://api.ailoot.ai',path);z=urlsplit(u)
    if z.scheme!='https' or z.netloc!='api.ailoot.ai' or z.username or z.password:raise SystemExit('Use the actual returned Ailoot owned content URL')
    target=Path('owned-'+label+'.bin')
    subprocess.run(['curl','--fail-with-body','--silent','--show-error',u,'-H','Authorization: Bearer '+os.environ['AILOOT_API_KEY'],'-D',str(target)+'.headers','-o',str(target)],check=True)
print('All returned owned URLs saved; complete metadata, timing and usage remain in the JSON.')
PY_ASSETS
Keep all completed results

Save every completed video or returned file; retrieve every actual returned asset URL.

Keep every completed data[] signed owned URL and the full status metadata. Save every output, including its generated audio. A valid AAC audio track can be present even with generate_audio=false; keep the complete original MP4 including that audio.

If the original response needs checking

Read existing original job; never resubmit unknown send.

Maximum outputs: 4.

Response fields
FieldTypeMeaning
FieldidTypestringMeaning—
FieldobjectTypestringMeaning—
FieldmodelTypestringMeaning—
FieldstatusTypestringMeaning—
Fielddata[]Typesigned content URLMeaning—
Fieldcharge_pending_checkTypebooleanMeaning—
Fielderror.codeTypestringMeaning—
Fielderror.messageTypestringMeaning—
Fieldoperation_idTypestringMeaningHTTP503 result_pending_check original status/content response: same original public video ID as id.
Fielderror.typeTypestringMeaningserver_error on HTTP503 result_pending_check.
Errors and next steps
ResponseConditionNext step
Response400 · invalid_request_errorConditionReading the raw request body fails before parsing the video profileNext stepPreserve the returned response and correct the unreadable request body.
Response422 · price_unavailableConditionParsing the exact video profile fails, or the complete parsed profile has no ready exact price cardNext stepPreserve the response; use the complete exact admitted profile and its published card. This branch runs before a provider send.
Response409 · video_not_readyConditionOriginal result content is not yet availableNext stepPoll the original returned ID and respect Retry-After.
Responseserver_errorConditionThe returned response says the operation or result requires a checkNext stepKeep the original returned operation/task ID, request headers and response; continue supported reads of that original operation. Do not resubmit the creation request.
Response503 · result_pending_checkConditionGET original status/content: task is not published, original job is not failed/cancelled/expired, and local state is unknown or original job status is completed.Next stepKeep original id and operation_id (same public video ID), response and headers; read only the original status/content. Never submit a new generation request.

Aliases

Model aliases

Ailoot Ultra google/veo-3.1

Method path aliases

/v1/videos/generations, /videos, /videos/generations

Related caller IDs

google/veo-3.1

FAQ · Google: Veo 3.1
What inputs and results are available?

POST /v1/videos · google/veo-3.1: text → video

Which fields does the request use?

POST /v1/videos · google/veo-3.1: model, prompt, duration, resolution, aspect_ratio, generate_audio

More details

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription
Choose a discounted plan for your regular requests.
Promo code: up to 50% off
Enter your code at checkout. The price updates to reflect the current promotion.
Spending in your history
The model, tokens and amount are recorded for each request.

Choose a subscription · View model prices

Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application
Add text, image, video and audio generation to paid features in your service.
Reseller licence
Send a description of your project and how you provide access. Request written terms for use and resale.
Documents on the website
The service offer, licence agreement and data processing policy are available before you connect.

Request a reseller licence · Service offer and licence agreement