Skip to main content
POST
/
v3
/
async
/
veo-3.1-lite-t2v
Veo 3.1 Lite Text-to-Video
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/veo-3.1-lite-t2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "seed": 123,
  "prompt": "<string>",
  "duration": 123,
  "resolution": "<string>",
  "aspect_ratio": "<string>",
  "sample_count": 123,
  "enhance_prompt": true,
  "generate_audio": true,
  "negative_prompt": "<string>",
  "person_generation": "<string>"
}
'
{
  "task_id": "<string>"
}
Generate videos from text prompts using the Google Veo 3.1 Lite model. Supports 4s/6s/8s durations, 720p/1080p resolutions, 16:9 and 9:16 aspect ratios, and optional audio generation.
This is an asynchronous API and only returns the task_id of the async task. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

Content-Type
string
required
Enum value: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

seed
integer
Random seed for reproducible results
prompt
string
required
Text description for video generationLength limit: 0 - 2048
duration
integer
default:8
Video duration (seconds)Allowed values: 4, 6, 8
resolution
string
default:"720p"
Output video resolutionAllowed values: 720p, 1080p
aspect_ratio
string
default:"16:9"
Video aspect ratioAllowed values: 16:9, 9:16
sample_count
integer
default:1
Number of videos to generateValue range: [1, 4]
enhance_prompt
boolean
default:true
Whether to automatically optimize the prompt
generate_audio
boolean
default:false
Whether to generate audio at the same time
negative_prompt
string
Content that should not appear in the videoLength limit: 0 - 2048
person_generation
string
default:"allow_adult"
Controls whether generating people is allowedAllowed values: dont_allow, allow_adult

Response

task_id
string
Use task_id to request the Get Task Result API to retrieve the generated output.