Nodes/comfyui-arkennemasis/arkennemasis fal · Flux 2 Flex Edit · $0.05/MP
ComfyUI Node

arkennemasis fal · Flux 2 Flex Edit · $0.05/MP

Image editing with FLUX.2 [flex] from Black Forest Labs. Supports multi-reference editing with customizable inference steps and enhanced text rendering. Pricing (from fal, 2026-09-30): Your request will cost $0.05 per megapixel on both input and output side, rounded up to the nearest megapixel. For example, a 1024x1024 image will cost $0.05, and a 1920x1080 image will cost $0.10 ($0.05 × 2 megapixels). Similarly, a 512x512 output will cost $0.06 ($0.05 for 0.26 megapixels, rounded to 1 megapixel). Model page: https://fal.ai/models/fal-ai/flux-2-flex/edit Key: FAL_KEY in the .env next to run_nvidia_gpu.bat. Results are saved in output/fal/fal-ai_flux-2-flex_edit/.

By Hishamahmer·Created 2 months ago·Updated 4 days ago· 10
arkennemasis fal · Flux 2 Flex Edit · $0.05/MP
  • image_1
  • image_2
  • image_3
  • image_4
  • image_5
  • image_6
  • images
  • image_paths
  • seed
  • info
◄prompt►
◄image_sizeauto►
◄image_size_width1024►
◄image_size_height1024►
◄seed-1►
◄safety_tolerance2►
◄enable_safety_checkertrue►
◄output_formatjpeg►
◄guidance_scale3.50►
◄num_inference_steps28►
◄max_cost_usd20.0►
◄reuse_identical_runtrue►
◄extra_json►
◄max_concurrent1►
Categoryarkennemasis/fal/Image/Flux

Inputs (20)

NameTypeDefaultDescription
promptSTRINGThe prompt to generate an image from.
image_sizeCOMBOautoThe size of the generated image. If `auto`, the size will be determined by the model. 'custom' uses the width and height below.
image_size_widthINT102416–14142Width in pixels when image_size is 'custom'.
image_size_heightINT102416–14142Height in pixels when image_size is 'custom'.
seedINT-1-1–2147483647The seed to use for the generation. -1 leaves it to the model.
safety_toleranceCOMBO2The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.
enable_safety_checkerBOOLEANtrueWhether to enable the safety checker. Disabling it requires account authorization; unauthorized requests are always checked.
output_formatCOMBOjpegThe format of the generated image.
image_1IMAGEList of URLs of input images for editing Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
guidance_scaleFLOAT3.501.5–10The guidance scale to use for the generation.
num_inference_stepsINT282–50The number of inference steps to perform.
image_2optIMAGEList of URLs of input images for editing Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
image_3optIMAGEList of URLs of input images for editing Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
image_4optIMAGEList of URLs of input images for editing Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
image_5optIMAGEList of URLs of input images for editing Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
image_6optIMAGEList of URLs of input images for editing Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
max_cost_usdoptFLOAT20.00–100000Safety cap. If the estimated cost of this run is above this many US dollars the node stops BEFORE sending anything to fal. 0 = no cap.
reuse_identical_runoptBOOLEANtrueIf these exact inputs (the settings AND the same pictures/clips/audio) were already paid for and the files are still in output/fal, return them instead of paying again - also after a ComfyUI restart. Turn off for a fresh take with the same settings.
extra_jsonoptSTRINGAdvanced: a JSON object merged into the request last, for any fal field this node has no box for. Example: {"seed": 7}. Leave empty normally.
max_concurrentoptINT11–32How many paid fal calls may run at the same time in one run, across every fal node. 1 (default) = one after another. This node starts its paid part only while fewer than this many fal calls are running. Once any fal node fails, the ones still waiting are not started, so nothing more is billed.

Outputs (4)

NameTypeDescription
imagesIMAGE—
image_pathsSTRING—
seedINT—
infoSTRINGJSON: request id, cost estimate, saved files and fal's full answer.