ComfyUI Node
Flux-2 - Image to Image
Flux-2 - Image to Image OpenAPI Specification
Flux-2 - Image to Image
- input_urls
- image
- url
- all_urls_json
- task_id
- raw_json
- credits_consumed
- credits_left
◄promptReplace the can in image 2 with the can from image 1►
◄aspect_ratio1:1►
◄resolution1K►
◄nsfw_checkerfalse►
◄timeout_seconds1200►
◄callback_url►
CategoryKIE Next/Image/Black Forest Labs/Flux 2
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| input_urls | IMAGE | — | |
| prompt | STRING | Replace the can in image 2 with the can from image 1 | Must be between 3 and 5000 characters. (Max length: 5000 characters) |
| aspect_ratio | COMBO | 1:1 | Aspect ratio for the generated image. Select 'auto' to match the first input image ratio (requires input image). |
| 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 | — |