Image generation API
Wan Image
Alibaba's Wan 2.5/2.6/2.7 image generation family — text-to-image and image editing with Pro variants.
Provider: Alibaba8 models
Available models
| Model key | Display name | Capability | Atlas Cloud slug |
|---|---|---|---|
wan_2_7_pro_t2i | Wan 2.7 Pro T2I | text-to-image | alibaba/wan-2.7-pro/text-to-image |
wan_2_7_pro_edit | Wan 2.7 Pro Edit | edit | alibaba/wan-2.7-pro/image-edit |
wan_2_7_t2i | Wan 2.7 T2I | text-to-image | alibaba/wan-2.7/text-to-image |
wan_2_7_edit | Wan 2.7 Edit | edit | alibaba/wan-2.7/image-edit |
wan_2_6_t2i | Wan 2.6 T2I | text-to-image | alibaba/wan-2.6/text-to-image |
wan_2_6_edit | Wan 2.6 Edit | edit | alibaba/wan-2.6/image-edit |
wan_2_5_t2i | Wan 2.5 T2I | text-to-image | alibaba/wan-2.5/text-to-image |
wan_2_5_edit | Wan 2.5 Edit | edit | alibaba/wan-2.5/image-edit |
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_pro_t2i",
"prompt": "A hyperrealistic macro photograph of morning dew on a spider web, bokeh background"
}'Response
{
"success": true,
"predictionId": "pred_abc123...",
"status": "processing",
"model": "alibaba/wan-2.7-pro/text-to-image",
"creditCost": 5
}Wan 2.7 Pro offers the best quality. Edit models accept an inputUrl for image modification.

