> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-router-model-page-pilot.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ComfyUI Flux.1 Kontext Pro Image Partner Nodes Official Example

> This guide will show you how to use the Flux.1 Kontext Pro Image Partner node in ComfyUI to perform image editing

FLUX.1 Kontext is a professional image-to-image editing model developed by Black Forest Labs, focusing on intelligent understanding of image context and precise editing.
It can perform various editing tasks without complex descriptions, including object modification, style transfer, background replacement, character consistency editing, and text editing.
The core advantage of Kontext lies in its excellent context understanding ability and character consistency maintenance, ensuring that key elements such as character features and composition layout remain stable even after multiple iterations of editing.

Currently, ComfyUI has supported two models of Flux.1 Kontext:

* **Kontext Pro** is ideal for editing, composing, and remixing.
* **Kontext Max** pushes the limits on typography, prompt precision, and speed.

## What Flux.1 Kontext is good at

* **Versatile editing without complex descriptions**: Object modification, style transfer, background replacement, character consistency editing, and text editing
* **Context understanding**: Intelligent understanding of image context enables precise, targeted edits
* **Character consistency**: Character features and composition layout remain stable even after multiple iterations of editing
* **Multiple image input**: The `Image Stitch` node stitches multiple images into a single image for editing with Flux.1 Kontext
* **Two model tiers**: Kontext Pro for editing, composing, and remixing; Kontext Max for typography, prompt precision, and speed

## Example outputs

Editing a stitched multi-image input (a girl, a dog, and a sofa combined into one scene):

![Flux.1 Kontext multiple image input example](https://raw.githubusercontent.com/Comfy-Org/example_workflows/main/api_nodes/bfl/multiple_image_input/multiple_image_input.png)

Image editing with Kontext Pro, ideal for editing, composing, and remixing:

![Flux.1 Kontext Pro image editing example](https://raw.githubusercontent.com/Comfy-Org/example_workflows/main/api_nodes/bfl/flux_1_kontext_pro_image.png)

Image editing with Kontext Max, which pushes the limits on typography, prompt precision, and speed:

![Flux.1 Kontext Max image editing example](https://raw.githubusercontent.com/Comfy-Org/example_workflows/main/api_nodes/bfl/flux_1_kontext_max_image.png)

## Use it

<CardGroup cols={2}>
  <Card title="Flux.1 Kontext workflows" icon="diagram-project" href="/tutorials/partner-nodes/black-forest-labs/flux-1-kontext/workflow">
    Run the multiple image input, Kontext Pro, and Kontext Max image editing workflows in ComfyUI, locally or on Comfy Cloud
  </Card>

  <Card title="Call it from code" icon="code" href="/tutorials/partner-nodes/black-forest-labs/flux-1-kontext/code">
    Call Kontext Pro or Max over HTTP through Comfy Router, with copy-paste Python, TypeScript and cURL snippets
  </Card>
</CardGroup>

Both paths run on the same Comfy account and are billed in the same credits. See [Partner Nodes pricing](/tutorials/partner-nodes/pricing) for per-model rates and [Concurrency limits](/tutorials/partner-nodes/concurrency-limits) for how many requests you can have in flight.
