Skip to main content
POST
/
api
/
v3
/
alibaba
/
wan-2.5-fast
/
image-to-video
wan-2.5-fast (image to video)
curl --request POST \
  --url https://api.example.com/api/v3/alibaba/wan-2.5-fast/image-to-video
Generate videos from input images using Qwen’s wan-2.5-fast model with GPTProto format API.
curl -X POST "https://gptproto.com/api/v3/alibaba/wan-2.5-fast/image-to-video" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "image": "https://heyoo.oss-ap-southeast-1.aliyuncs.com/ai-draw/java/test/d95aeb5f-2081-4db5-9e41-7230f51b49e0.png",
  "audio": "",
  "prompt": "a cat",
  "negative_prompt": false,
  "resolution": "720p",
  "duration": "5",
  "enable_prompt_expansion": "false",
  "seed": -1
}'

Response

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

Parameters

ParameterTypeRequiredDefaultDescription
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
audiostring❌ No""URL of the audio file to be added to the generated video. Leave empty for no audio
negative_promptboolean❌ NofalseEnable negative prompt to specify what should not appear in the generated video
resolutionstring❌ No"720p"Video resolution. Available options: 720p, 1080p
durationstring❌ No"5"Duration of the generated video in seconds
enable_prompt_expansionstring❌ No"false"Enable automatic prompt expansion and optimization. Set to "true" or "false"
seedinteger❌ No-1Random seed for generation reproducibility. Set to -1 for random generation