Nodes/Comfyui-zhenzhen/Zhenzhen_Flux_2_Flex
ComfyUI Node

Zhenzhen_Flux_2_Flex

The tuned one of the Comfly Flux trio

By T8mars·Created 12 months ago·Updated a day ago· 719
Zhenzhen_Flux_2_Flex
  • input_image
  • input_image_2
  • input_image_3
  • input_image_4
  • input_image_5
  • input_image_6
  • input_image_7
  • input_image_8
  • image
  • image_url
  • task_id
  • response
prompt
api_key
prompt_upsamplingtrue
seed-1
width1024
height1024
guidance5.0
steps50
safety_tolerance2
output_formatpng
skip_errorfalse

Flux 2 is Black Forest Labs' current image model line, and the Comfly pack wraps the three API tiers - Flex, Max, Pro - as separate nodes. Comfly_Flux_2_Flex is the "tuned" one: it's the only of the three that exposes the sampling dials (guidance, steps, prompt_upsampling), which makes it the node you'd actually iterate with. The catch, as always with this pack: nothing runs locally. You're renting Flux 2 Flex by the image through the Comfly relay, so it's a paid call every time.

Inputs that matter

  • prompt - required, multiline. The one thing you must set.
  • input_image … input_image_8 - up to eight reference images. Feed one and the prompt becomes an edit/reimagination; several lets you blend characters or styles. This is the same "image comes along for the ride" design the whole Flux 2 line shares.
  • prompt_upsampling - default on. Flex is built for this: it expands your short prompt into a richer one before generating. Leave it on unless you've hand-tuned a long prompt and don't want it touched.
  • guidance - 1.5–10, default 5. How hard the generation clamps to your (upsampled) prompt. 5 is the BFL default; lower for looser, higher for literal.
  • steps - 1–50, default 50. This one actually matters on Flex; fewer steps are cheaper/faster but you lose quality fast below ~25.
  • width / height - 64–6000, step 8, default 1024 square.
  • safety_tolerance - 0–5, default 2. Higher = stricter content filtering. The dial exists because it's an API model, and it's a paid call - don't fight it, just know it's there.
  • output_format - png (default) or jpeg.

Outputs: image (IMAGE), image_url, and response.

Install

Same as every Comfly node:

cd ComfyUI/custom_nodes
git clone https://github.com/ainewsto/Comfyui_Comfly

Or ComfyUI Manager → "Comfyui_Comfly" → restart. No model downloads - it's an HTTP client. Key from https://ai.comfly.chat in Comflyapi.json (or the node's apikey).

Gotchas

The three Flux nodes look identical and that's the trap: Max and Pro have no guidance or steps, because those tiers don't accept them - so if you load a Flex workflow, swap in Max, and wonder why your settings vanished, that's by design. Flex is the tier where your sliders do something; if you're not using them, you're paying Flex prices for a Max-style experience and might as well use Max. And as a paid relay: check response when output looks off - the task log at ai.comfly.chat tells you what the API actually returned.

Categoryzhenzhen/Flux

Inputs (19)

NameTypeDefaultDescription
promptSTRING
api_keyoptSTRING
input_imageoptIMAGE
input_image_2optIMAGE
input_image_3optIMAGE
input_image_4optIMAGE
input_image_5optIMAGE
input_image_6optIMAGE
input_image_7optIMAGE
input_image_8optIMAGE
prompt_upsamplingoptBOOLEANtrue
seedoptINT-1-1–2147483647
widthoptINT102464–6000
heightoptINT102464–6000
guidanceoptFLOAT5.01.5–10
stepsoptINT501–50
safety_toleranceoptINT20–5
output_formatoptCOMBOpng2 options: jpeg, png
skip_erroroptBOOLEANfalse开启后,节点失败时不报错、按旧行为返回默认空结果;关闭时(默认)失败直接抛出错误。

Outputs (4)

NameTypeDescription
imageIMAGE
image_urlSTRING
task_idSTRING
responseSTRING