ComfyUI Node
Flux-2 - Text to Image
Flux-2 - Text to Image OpenAPI Specification
Flux-2 - Text to Image
- image
- url
- all_urls_json
- task_id
- raw_json
- credits_consumed
- credits_left
◄promptA humanoid figure with a vintage television set for a head, featuring a green-tinted screen displaying a `Hello FLUX.2` writing in ASCII font. The figure is wearing a yellow raincoat, and there are various wires and components attached to the television. The background is cloudy and indistinct, suggesting an outdoor setting►
◄aspect_ratio1:1►
◄resolution1K►
◄nsfw_checkerfalse►
◄timeout_seconds1200►
◄callback_url►
CategoryKIE Next/Image/Black Forest Labs/Flux 2
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | A humanoid figure with a vintage television set for a head, featuring a green-tinted screen displaying a `Hello FLUX.2` writing in ASCII font. The figure is wearing a yellow raincoat, and there are various wires and components attached to the television. The background is cloudy and indistinct, suggesting an outdoor setting | Generation prompt, length must be between 3-5000 characters. (Maximum length: 5000 characters) |
| aspect_ratio | COMBO | 1:1 | Aspect ratio of the generated image. When `auto` is selected, it will match the ratio of the first input image (requires input image to be provided). |
| resolution | COMBO | 1K | Output image resolution. |
| 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 | — |