Wan Text to Image
api node/image/Wan
WanTextToImageApiGenerates an image based on a text prompt.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
model? | COMBO | required | - | "wan2.5-t2i-preview" |
prompt? | STRING | required | - | "" |
negative_prompt? | STRING | optional | - | "" |
width | INT | optional | min: 768, max: 1440, step: 32 | 1024 |
height | INT | optional | min: 768, max: 1440, step: 32 | 1024 |
seed? | INT | optional | min: 0, max: 2147483647, step: 1 | 0 |
prompt_extend? | BOOLEAN | optional | - | true |
watermark? | BOOLEAN | optional | - | true |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | IMAGE | IMAGE | No | ["{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?