Vision / Alibaba
Wan2.7-VideoEdit
API name: wan2.7-videoedit
Video Generation
Overview
Wan2.7 video edit, supports both localized and global editing with prompt. Seamlessly replace elements using image references and replicate complex dynamic processes, including motion, special effects, and camera movements.
- Model type: Vision
- Input: Text / Image / Video
- Output: Video
- Endpoints: chat / chat_completion / video_generation / video
Video pricing (per second · resolution)
- 720p$0.1 /sec
- 1080p$0.15 /sec
Billed by duration: unit price for that resolution × video seconds. Default group price (other groups converted by discount).
Code example
Call with wan2.7-videoedit :
curl https://www.starunion.net/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-videoedit",
"messages": [{
"role": "user",
"content": [
{ "type": "text", "text": "Describe this image" },
{ "type": "image_url", "image_url": { "url": "https://example.com/photo.jpg" } }
]
}]
}'