Skip to main content
POST
/
api
/
v3
/
google
/
veo3.1-fast
/
text-to-video
veo3.1-fast (text to video)
curl --request POST \
  --url https://api.example.com/api/v3/google/veo3.1-fast/text-to-video
Google Veo3.1-fast’s GPTProto format for the text to video API.
curl --location 'https://gptproto.com/api/v3/google/veo3.1-fast/text-to-video' \
--header 'Authorization: Bearer sk-xxxxxx' \
--header 'Content-Type: application/json' \
--data '{
  "prompt": "A young woman walks alone under a transparent umbrella in a quiet alley during light rain, soft city lights reflecting on the wet pavement. Her pace is calm and thoughtful. The camera follows slowly behind her, occasional droplets hitting the lens. Subtle piano music plays, evoking a melancholic but peaceful mood. Dreamy, cinematic, slightly slow motion.",
  "aspect_ratio": "16:9",
  "enhance_prompt": true
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
promptstring✅ Yes-The positive prompt for the generation. A detailed description of the video content you want to generate.
aspect_ratiostring❌ No16:9The aspect ratio of the generated media. Options: 16:9, 9:16
enhance_promptboolean❌ NotrueWhether to enhance the prompt automatically. Options: true, false

Usage Notes

  • The prompt should be detailed and descriptive for best results
  • Video generation is asynchronous - use the task ID returned to query status
  • Processing time varies based on video complexity
  • Use the Query Task endpoint to check generation status