Wan 25 Preview

wan-25-preview-text-to-image

post

Wan 2.5 text-to-image model.

Header parameters
AuthorizationstringRequiredExample: sk-kEEV5TfTCTpE4uFwUg9p8UhVyVWpC9IEgOVezQ4b1ZCWQFCV
Body
modelstringRequired

model is the model name

Example: wan-25-preview-text-to-image
promptstringRequired

prompt is the prompt.

Example: A cute baby sea otter.
enable_prompt_expansionbooleanOptional

Whether to enable prompt rewriting using LLM. Improves results for short prompts but increases processing time. Default value: true

Default: true
seedintegerOptional

Random seed for reproducibility. If None, a random seed is chosen.

negative_promptstringOptional

Negative prompt to describe content to avoid. Max 500 characters.

nintegerOptional

n is the number of images to generate, default value is 1.

Default: 1Example: 1
output_formatstring · enumOptional

output_format indicate the output format, default value is url.

Default: urlExample: urlPossible values:
Responses
200Success
application/json
post
/v1/images/generations
200Success