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.
Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
// Install (beta)
npm i @comfyorg/sdk
// Run "Flux.1 Kontext Multiple Image Input" (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("api_bfl_flux_1_kontext_multiple_images_input_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("84", "image", asset); // LoadImage
const job = await client.run(wf);
await job.getOutputs("85")[0].toFile("output.png"); // SaveImageThe SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).
Comfy Cloud API access requires a plan with an API key.
FAQ















