wan-video/wan-2.7-image
Generate and edit images with Alibaba's Wan 2.7
Capabilities
Cost
$0.030 / image
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
prompt* | string | Text prompt for image generation or editing | — | — |
aspect_ratio | string | Unused — this model uses the 'size' parameter instead | "" | — |
guidance_scale | number | Unused | 0 | — |
height | integer | Unused — this model uses the 'size' parameter instead | 0 | — |
image_set_mode | boolean | Generate a coherent set of related images from a single prompt (e.g. a character across seasons). When enabled, num_outputs can be up to 12. | false | — |
images | array | Input images for editing, style transfer, or multi-reference generation (up to 9 images, jpg/png/bmp/webp). When provided, the model operates in image editing mode. | | — |
negative_prompt | string | Unused | "" | — |
num_outputs | integer | Number of images to generate (1-4 for standard mode, 1-12 for image set mode) | 1 | min: 1, max: 4 |
output_format | string | Unused — output is always PNG | "" | — |
resolution | string | Unused — this model uses the 'size' parameter instead | "" | — |
seed | integer | Random seed for reproducible generation. Range: 0-2147483647 | — | — |
size | string | Output image resolution. '1K' and '2K' auto-size based on input images. | "2K" | 1K2K1024*10242048*20481280*720720*12802048*11521152*20481024*768768*10242048*15361536*2048 |
thinking_mode | boolean | Enable enhanced reasoning for improved image quality. Only applies to text-to-image (no input images, no image set mode). Increases generation time. | true | — |
width | integer | Unused — this model uses the 'size' parameter instead | 0 | — |
promptrequiredstringText prompt for image generation or editing
aspect_ratiostringUnused — this model uses the 'size' parameter instead
""guidance_scalenumberUnused
0heightintegerUnused — this model uses the 'size' parameter instead
0image_set_modebooleanGenerate a coherent set of related images from a single prompt (e.g. a character across seasons). When enabled, num_outputs can be up to 12.
falseimagesarrayInput images for editing, style transfer, or multi-reference generation (up to 9 images, jpg/png/bmp/webp). When provided, the model operates in image editing mode.
negative_promptstringUnused
""num_outputsintegerNumber of images to generate (1-4 for standard mode, 1-12 for image set mode)
1min: 1, max: 4output_formatstringUnused — output is always PNG
""resolutionstringUnused — this model uses the 'size' parameter instead
""seedintegerRandom seed for reproducible generation. Range: 0-2147483647
sizestringOutput image resolution. '1K' and '2K' auto-size based on input images.
"2K"thinking_modebooleanEnable enhanced reasoning for improved image quality. Only applies to text-to-image (no input images, no image set mode). Increases generation time.
truewidthintegerUnused — this model uses the 'size' parameter instead
0e9abda5ee11fUpdated: 11/26/2026268.4K runs
cinemasetfree