Skip to main content
POST
/
api
/
v3
/
alibaba
/
wan-2.2-plus
/
image-to-video
wan-2.2-plus (image to video)
curl --request POST \
  --url https://api.example.com/api/v3/alibaba/wan-2.2-plus/image-to-video
Generate videos from input images using Qwen’s wan-2.2-plus model with GPTProto format API.
curl --location 'https://gptproto.com/api/v3/alibaba/wan-2.2-plus/image-to-video' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
    "duration": 5,
    "image": "https://d1q70pf5vjeyhc.cloudfront.net/media/fb8f674bbb1a429d947016fd223cfae1/images/1758167279419187099_bdfkyyQf.jpeg",
    "prompt": "A young woman sits by a sun-drenched window, the gentle breeze softly blowing her hair as she focuses on reading a book, a calm and content smile on her face. The lighting is soft, creating a warm, tranquil atmosphere. Cinematic close-up shot.\n\n",
    "enable_sync_mode": false,
    "seed": -1,
    "resolution": "1080p"
}'

Response

{
  "task_id": "abc123def456",
  "status": "processing",
  "message": "Video generation task submitted successfully"
}

Parameters

ParameterTypeRequiredDefaultRangeDescription
imagestring✅ Yes--URL of the input image to be used as the starting frame for video generation
promptstring✅ Yes--Text description for the video generation, describing the desired scene, actions, and style
durationinteger❌ No5-Duration of the generated video in seconds
resolutionstring❌ No"1080p"1080p, 480pVideo resolution. Available options: 1080p for high definition or 480p for standard definition
enable_sync_modeboolean❌ Nofalse-Enable synchronous mode. When set to true, the API will wait for the video generation to complete before returning the response
seedinteger❌ No-1-1 ~ 2147483647Random seed for generation reproducibility. Set to -1 for random generation