← All models
Wan 2.6 text-to-image model.
images
Details
- Accepts
- text + image
Pricing
- Price
- 3.75 cr / image
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed for reproducibility (0-2147483647). Same seed produces more consistent results. |
| promptrequired | string | Text prompt describing the desired image. Supports Chinese and English. Max 2000 characters. Example: 'Generate an image using the style of image 1 and background of image 2'. |
| image_size | — | Output image size. Use presets like 'square_hd', 'landscape_16_9', 'portrait_9_16', or specify exact dimensions with ImageSize(width=1280, height=720). Total pixels must be between 768*768 and 1280*1280. |
| image_urls | array | Reference images for editing (1-3 images required). Order matters: reference as 'image 1', 'image 2', 'image 3' in prompt. Resolution: 384-5000px each dimension. Max size: 10MB each. Formats: JPEG, JPG, PNG (no alpha), BMP, WEBP. |
| num_images | integer | Number of images to generate (1-4). Directly affects billing cost. |
| negative_prompt | — | Content to avoid in the generated image. Max 500 characters. |
| enable_safety_checker | boolean | Enable content moderation for input and output. Disabling it requires account authorization; unauthorized requests are always checked. |
| enable_prompt_expansion | boolean | Enable LLM prompt optimization. Significantly improves results for simple prompts but adds 3-4 seconds processing time. |
| image_url | — | Optional reference image (0 or 1). When provided, can be used for style guidance. Resolution: 384-5000px each dimension. Max size: 10MB. Formats: JPEG, JPG, PNG (no alpha), BMP, WEBP. |
| max_images | integer | Maximum number of images to generate (1-5). Actual count may be less depending on model inference. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | The seed used for generation |
| images | array | Generated images in PNG format |