Skip to main content
POST
/
generate
/
k
/
veo3-reference-to-video
Veo3 Reference-to-Video
curl --request POST \
  --url https://api.sinancode.com/v1/generate/k/veo3-reference-to-video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enableTranslation": true,
  "imageUrls": [
    "https://example.com/reference1.jpg"
  ],
  "prompt": "generate a video based on the reference images",
  "seeds": 12345,
  "watermark": "my-watermark"
}'
{
  "task_id": "01234567-89ab-cdef-0123-456789abcdef"
}
Generate videos with consistent style based on 1-3 reference images, supporting only veo3_fast model and 16:9 aspect ratio.

Authorizations

Authorization
string
header
required

Please use your API Token for authentication

Body

application/json

Task parameters

imageUrls
string[]
required

Image URL list (required) - Reference image URLs (1-3 images)

Required array length: 1 - 3 elements
Example:
["https://example.com/reference1.jpg"]
prompt
string
required

Prompt (required) - Text description for video generation

Example:

"generate a video based on the reference images"

enableTranslation
boolean
default:true

Enable translation (optional) - Enable translation, default true

Example:

true

seeds
integer

Random seeds (optional) - Range 10000-99999

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

12345

watermark
string

Watermark (optional) - Watermark identifier

Example:

"my-watermark"

Response

OK

task_id
string
required

Task ID

Example:

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