Skip to main content
POST
/
generate
/
k
/
veo3-text-to-video
Veo 3.1 Text to Video
curl --request POST \
  --url https://api.sinancode.com/v1/generate/k/veo3-text-to-video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "a cat playing with a ball",
  "aspectRatio": "16:9",
  "enableTranslation": true,
  "model": "veo3_fast",
  "seeds": 12345,
  "watermark": ""
}
'
{
  "task_id": "01234567-89ab-cdef-0123-456789abcdef"
}
Generate videos from text using Google DeepMind’s Veo 3.1 model. Key Features:
  • Native Audio Generation - Synchronized dialogue, sound effects, and ambient audio with precise lip-sync
  • Ultra-Realistic Visuals - 1080P HD output with improved physics and human rendering
  • Camera Control - Specify camera movements, cinematic styles, and scene transitions

Authorizations

Authorization
string
header
required

Please use your API Token for authentication

Body

application/json

Task parameters

prompt
string
required

Prompt (required) - Text description for video generation

Minimum string length: 1
Example:

"a cat playing with a ball"

aspectRatio
enum<string>
default:16:9

Aspect ratio (optional) - Video aspect ratio, default 16:9

Available options:
16:9,
9:16,
Auto
Example:

"16:9"

enableTranslation
boolean
default:true

Enable translation (optional) - Enable translation, default true

Example:

true

model
enum<string>
default:veo3_fast

Model (optional) - veo3 (quality priority) or veo3_fast (speed priority), default veo3_fast

Available options:
veo3,
veo3_fast
Example:

"veo3_fast"

seeds
integer

Random seed (optional) - Range 10000-99999

Required range: 10000 <= x <= 99999
Example:

12345

watermark
string

Watermark (optional) - Watermark identifier

Example:

""

Response

OK

task_id
string
required

Task ID

Example:

"01234567-89ab-cdef-0123-456789abcdef"