ComfyUI Node
Qwen - Text to Image
Qwen - Text to Image OpenAPI Specification
Qwen - Text to Image
- image
- url
- all_urls_json
- task_id
- raw_json
- credits_consumed
- credits_left
◄prompt►
◄image_sizesquare_hd►
◄num_inference_steps30.00►
◄guidance_scale2.50►
◄enable_safety_checkertrue►
◄output_formatpng►
◄negative_prompt ►
◄accelerationnone►
◄seed0►
◄nsfw_checkerfalse►
◄timeout_seconds1200►
◄callback_url►
CategoryKIE Next/Image/Qwen
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | The prompt to generate the image with (Max length: 5000 characters) | |
| image_sizeopt | COMBO | square_hd | The size of the generated image |
| num_inference_stepsopt | FLOAT | 30.002–250 | The number of inference steps to perform (Min: 2, Max: 250, Step: 1) (step: 1) |
| guidance_scaleopt | FLOAT | 2.500–20 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you (Min: 0, Max: 20, Step: 0.1) (step: 0.1) |
| enable_safety_checkeropt | BOOLEAN | true | The safety checker is always enabled in Playground. It can only be disabled by setting false through the API. (Boolean value (true/false)) |
| output_formatopt | COMBO | png | The format of the generated image |
| negative_promptopt | STRING | The negative prompt for the generation (Max length: 500 characters) | |
| accelerationopt | COMBO | none | Acceleration level for image generation. Options: 'none', 'regular', 'high'. Higher acceleration increases speed. 'regular' balances speed and quality. 'high' is recommended for images without text |
| seedopt | INT | 0-2147483648–2147483647 | The same seed and the same prompt given to the same version of the model will output the same image every time |
| nsfw_checkeropt | BOOLEAN | false | Defaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself. Note: There is no guarantee that everything can be filtered out; if you are not satisfied with the results, you will need to make your own arrangements. |
| timeout_secondsopt | INT | 120030–7200 | — |
| callback_urlopt | STRING | Optional KIE callback URL. Leave empty for normal ComfyUI use. |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| url | STRING | — |
| all_urls_json | STRING | — |
| task_id | STRING | — |
| raw_json | STRING | — |
| credits_consumed | FLOAT | — |
| credits_left | FLOAT | — |