Wan 2.6 Image-To-Image Generation
Edit images using the wan2.6-image model with text prompts and reference images.
Documentation Index
Fetch the complete documentation index at: https://mulerouter.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Edit and transform images using the wan2.6-image model with text prompts and reference images.Image Requirements
| Property | Requirement |
|---|---|
| Formats | JPEG, JPG, PNG, BMP, WEBP |
| Dimensions | [384, 5000] pixels for both width and height |
| Max file size | 10MB per image |
| Max images | 2 images |
| Input | Public URL or Base64 encoded data |
Resolution Guidelines
- Default: 1280*1280
- Total pixels: Between 768*768 and 1440*1440
- Aspect ratio: Between 1:4 and 4:1
Example Requests
Basic Image Editing
With Negative Prompt
With Custom Seed
Parameters
images
- Required: Yes
- Max items: 2
- Description: Array of image URLs or Base64 encoded data
n (Number of Images)
- Range: 1-4
- Default: 4
- Note: Directly affects cost
prompt_extend (Prompt Rewriting)
- Default: false
- Effect: Uses AI to enhance and expand short prompts
seed (Random Seed)
- Range: 0 to 2,147,483,647
- Purpose: Improves reproducibility of results
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Text description for the desired edit (max 2000 characters)
2000Array of image URLs or Base64 encoded data (max 3 images)
Supported formats: JPEG, JPG, PNG, BMP, WEBP Dimensions: [384, 5000] pixels for both width and height Max file size: 10MB per image
3Negative 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 <= 2147483647Enable intelligent prompt rewriting
Enable content safety filter. Defaults to true. Set to false to disable content safety inspection.
Response
Accepted - Task created successfully

