Skip to main content
POST
/
generate
/
k
/
veo3-image-to-video
Veo3 Image-to-Video
curl --request POST \
  --url https://api.sinancode.com/v1/generate/k/veo3-image-to-video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "aspectRatio": "16:9",
  "enableTranslation": true,
  "imageUrls": [
    "https://example.com/image1.jpg"
  ],
  "model": "veo3_fast",
  "prompt": "animate the scene with smooth camera movement",
  "seeds": 12345,
  "watermark": "my-watermark"
}'
{
  "task_id": "01234567-89ab-cdef-0123-456789abcdef"
}
Generate videos from 1-2 images, supporting both single-image animation and start-to-end frame transition modes.

Authorizations

Authorization
string
header
required

Please use your API Token for authentication

Body

application/json

Task parameters

imageUrls
string[]
required

Image URL list (required) - Image URLs for video generation 1 image: Generate video from single image; 2 images: Generate video with first and last frames

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

Prompt (required) - Text description for video generation

Example:

"animate the scene with smooth camera movement"

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 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"