Skip to main content

Wan Text to Image

api node/image/Wan
WanTextToImageApi

Generates an image based on a text prompt.

Inputs

NameTypeStatusConstraintsDefault
model?COMBOrequired-"wan2.5-t2i-preview"
prompt?STRINGrequired-""
negative_prompt?STRINGoptional-""
widthINToptionalmin: 768, max: 1440, step: 321024
heightINToptionalmin: 768, max: 1440, step: 321024
seed?INToptionalmin: 0, max: 2147483647, step: 10
prompt_extend?BOOLEANoptional-true
watermark?BOOLEANoptional-true

Outputs

IndexNameTypeIs ListConnection Reference
0IMAGEIMAGENo["{node_id}", 0]
How to connect to these outputs

To connect another node's input to an output from this node, use the connection reference format:

["node_id", output_index]

Where node_id is the ID of this WanTextToImageApi node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • IMAGE (IMAGE): ["5", 0]
Was this page helpful?