Flux.1 Kontext Multiple Image Input - After
Flux.1 Kontext Multiple Image Input - Before

The 'Flux.1 Kontext Multiple Image Input' workflow is designed to streamline the process of editing multiple images simultaneously using the advanced capabilities of the Flux.1 Kontext model. This workflow leverages several key nodes, including the FluxKontextProImageNode for processing, LoadImage for importing images, and SaveImage for exporting the final results. The ImageStitch node is particularly useful for combining images into a cohesive output, while PreviewImage allows users to view edits in real-time. This setup is ideal for users who need to apply consistent edits across multiple images, such as batch processing for style transfer or color adjustments.

Technically, the workflow operates by first loading multiple images into the system using the LoadImage node. These images are then processed through the FluxKontextProImageNode, where users can apply various edits such as color changes or style transformations. The results can be previewed using the PreviewImage node, ensuring that the desired edits are achieved before finalizing the output. Finally, the SaveImage node is used to export the edited images. This workflow is particularly useful for creative professionals looking to maintain a consistent aesthetic across a series of images or for those needing to perform bulk edits efficiently.

API

Use this workflow from code

Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.

GET https://comfy.org/workflows/download/c6a221e04f71.json
Fetching workflow JSON…

Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.

# Install (beta)
pip install comfy-sdk        # Python
npm i @comfyorg/sdk          # TypeScript

# Run "Flux.1 Kontext Multiple Image Input" (Python)
from comfy_sdk import Comfy

client = Comfy(api_key="comfyui-...")

# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("api_bfl_flux_1_kontext_multiple_images_input_api.json")

asset = client.assets.from_file("input.png")
wf.set_input("84", "image", asset)  # LoadImage

job = client.run(wf)
for output in job.get_outputs("85"):  # SaveImage
    output.to_file(output.name)

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key

FAQ

Frequently Asked Questions

View all workflows
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates