← All models
Wan 2.5 text-to-image model.
images
Details
- Accepts
- text + image
Pricing
- Price
- 6.25 cr / image
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed for reproducibility. If None, a random seed is chosen. |
| promptrequired | string | The text prompt describing how to edit the image. Max 2000 characters. |
| image_size | — | The size of the generated image. Width and height must be between 384 and 1440 pixels. |
| image_urls | array | URLs of images to edit. For single-image editing, provide 1 URL. For multi-reference generation, provide up to 2 URLs. If more than 2 URLs are provided, only the first 2 will be used. |
| num_images | integer | Number of images to generate. Values from 1 to 4. |
| negative_prompt | — | Negative prompt to describe content to avoid. Max 500 characters. |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked. |
| enable_prompt_expansion | boolean | Whether to enable prompt rewriting using LLM. Improves results for short prompts but increases processing time. |
Output
| Field | Type | Description |
|---|---|---|
| seeds | array | The seeds used for each generated image |
| images | array | The edited images |
| actual_prompt | — | The original prompt (prompt expansion is not available for image editing) |