infery
← All models

Wan 2.5 Text to Image

wan-25-preview-text-to-image

Image generationby Alibaba

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

FieldTypeDescription
seedRandom seed for reproducibility. If None, a random seed is chosen.
promptrequiredstringThe text prompt describing how to edit the image. Max 2000 characters.
image_sizeThe size of the generated image. Width and height must be between 384 and 1440 pixels.
image_urlsarrayURLs 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_imagesintegerNumber of images to generate. Values from 1 to 4.
negative_promptNegative prompt to describe content to avoid. Max 500 characters.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.
enable_prompt_expansionbooleanWhether to enable prompt rewriting using LLM. Improves results for short prompts but increases processing time.

Output

FieldTypeDescription
seedsarrayThe seeds used for each generated image
imagesarrayThe edited images
actual_promptThe original prompt (prompt expansion is not available for image editing)