Video generation API
Wan Video
Alibaba Wan 2.7/2.6/2.5/2.2 video family — text-to-video, image-to-video, video extend, video-to-video, and character swap.
Provider: Alibaba13 models
Available models
| Model key | Display name | Capability | Atlas Cloud slug |
|---|---|---|---|
wan_2_7_t2v | Wan 2.7 T2V | text-to-video | alibaba/wan-2.7/text-to-video |
wan_2_7_i2v | Wan 2.7 I2V | image-to-video | alibaba/wan-2.7/image-to-video |
wan_2_7_ref2vid | Wan 2.7 Ref2Vid | reference-to-video | alibaba/wan-2.7/reference-to-video |
wan_2_7_vid_edit | Wan 2.7 Video Edit | video-edit | alibaba/wan-2.7/video-edit |
wan_2_6_t2v | Wan 2.6 T2V | text-to-video | alibaba/wan-2.6/text-to-video |
wan_2_6_i2v | Wan 2.6 I2V | image-to-video | alibaba/wan-2.6/image-to-video |
wan_2_6_i2v_flash | Wan 2.6 I2V Flash | image-to-video | alibaba/wan-2.6/image-to-video-flash |
wan_2_6_v2v | Wan 2.6 V2V | video-to-video | alibaba/wan-2.6/video-to-video |
wan_2_5_t2v | Wan 2.5 T2V | text-to-video | alibaba/wan-2.5/text-to-video |
wan_2_5_i2v | Wan 2.5 I2V | image-to-video | alibaba/wan-2.5/image-to-video |
wan_2_5_vid_extend | Wan 2.5 Video Extend | video-extend | alibaba/wan-2.5/video-extend |
wan_2_2_char_swap | Wan 2.2 Character Swap | character-swap | alibaba/wan-2.2/animate-mix |
wan_2_2_i2a | Wan 2.2 Image-to-Animation | animation | alibaba/wan-2.2/animate-move |
Endpoint
POST /api/generateRequest body
| Parameter | Type | Required | Description |
|---|---|---|---|
modelKey | string | ✓ | One of the model keys listed above |
prompt | string | ✓ | Text description of the image to generate |
inputUrl | string | Input image URL (for edit/i2i models) | |
aspectRatio | string | "1:1", "16:9", "9:16", etc. | |
imageQuality | string | "Low", "Medium", "High" | |
styleRef | string | string[] | Style reference image URL(s) | |
charRef | string | string[] | Character reference image URL(s) | |
brandId | string | Brand DNA ID for brand-consistent generation |
Code example
curl -X POST https://api.oyefilmy.com/api/generate \
-H "Authorization: Bearer of_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"modelKey": "wan_2_7_t2v",
"prompt": "A time-lapse of a flower blooming in a lush garden, macro photography"
}'Response
{
"success": true,
"predictionId": "pred_abc123...",
"status": "processing",
"model": "alibaba/wan-2.7/text-to-video",
"creditCost": 5
}Wan 2.7 is the latest and highest quality. Flash variants are optimized for speed. Spicy variants tend to be more creative. Video extend continues an existing video.

