The 'Character × 4 Scene Explorer' workflow is designed to help users generate a variety of character images based on a single reference image. This workflow leverages the power of Google Gemini Image and Nano Banana Pro models to create a 1x4 grid of character variations. By using nodes such as LoadImage and GeminiImage2Node, the workflow first processes the input image to produce four distinct character scenes. Once generated, users can select their preferred image for further refinement and upscaling using the Nano Banana Pro model, ensuring high-quality output.

Technically, this workflow utilizes several custom nodes, including those from comfyui-kjnodes and comfyui_essentials, which streamline the image processing and refinement tasks. Nodes like Reroute, PrimitiveInt, and RegexReplace are employed to manage data flow and transform inputs efficiently. This workflow is particularly useful for artists and designers looking to explore multiple character design options quickly, as it automates the generation and refinement process, saving time and enhancing creativity.

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/71355ee91724.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 "Character × 4 Scene Explorer" (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("templates-split_stack_api.json")

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

job = client.run(wf)
for output in job.get_outputs("18"):  # 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