Skip to main content

Flux.1 Kontext [pro] Image

api node/image/BFL
FluxKontextProImageNode

Edits images using Flux.1 Kontext [pro] via api based on prompt and aspect ratio.

Example

JSON Example
{
  "class_type": "FluxKontextProImageNode",
  "inputs": {
    "prompt": "",
    "aspect_ratio": "16:9",
    "guidance": 3,
    "steps": 50,
    "seed": 1234,
    "prompt_upsampling": false
  }
}

This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.

Inputs

NameTypeStatusConstraintsDefault
prompt?STRINGrequired-""
aspect_ratio?STRINGrequired-"16:9"
guidance?FLOATrequiredmin: 0.1, max: 99, step: 0.13
steps?INTrequiredmin: 1, max: 15050
seed?INTrequiredmin: 0, max: 1.84e+191234
prompt_upsampling?BOOLEANrequired-false
input_imageIMAGEoptional--

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 FluxKontextProImageNode 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?