Edit images using Alibaba Wan2 models with reference images.
| Property | Requirement |
|---|---|
| Formats | JPEG, JPG, PNG, BMP, WEBP |
| Dimensions | [384, 5000] pixels for both width and height |
| File Size | Max 10MB per image |
| Max Images | 2 images |
https://example.com/image.jpgdata:image/jpeg;base64,{base64_data}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Model name
wan2.5-i2i-preview Text description for the desired edit (max 2000 characters)
2000Array of image URLs or Base64 encoded data (max 2 images)
Supported formats: JPEG, JPG, PNG, BMP, WEBP Dimensions: [384, 5000] pixels for both width and height Max file size: 10MB per image
2Negative prompt (max 500 characters)
500Output image resolution (format: "width*height")
Default: 1280*1280 Total pixels: [768*768, 1440*1440], aspect ratio: [1:4, 4:1]
Number of images to generate (1-4)
1 <= x <= 4Random seed [0, 2147483647]
0 <= x <= 2147483647Accepted - Task created successfully