Nodes/comfyui-arkennemasis/arkennemasis fal · Flux 2 LoRA Gallery Add Background · $0.021/MP
ComfyUI Node

arkennemasis fal · Flux 2 LoRA Gallery Add Background · $0.021/MP

Add a background to images with white/clean background Pricing (from fal, 2026-09-30): $0.021 per processed megapixel (fal's billing unit). Model page: https://fal.ai/models/fal-ai/flux-2-lora-gallery/add-background Key: FAL_KEY in the .env next to run_nvidia_gpu.bat. Results are saved in output/fal/fal-ai_flux-2-lora-gallery_add-background/.

By Hishamahmer·Created 2 months ago·Updated 4 days ago· 10
arkennemasis fal · Flux 2 LoRA Gallery Add Background · $0.021/MP
  • image_1
  • image_2
  • image_3
  • image_4
  • image_5
  • image_6
  • images
  • image_paths
  • seed
  • prompt
  • info
◄promptAdd Background forest►
◄image_sizesquare_hd►
◄image_size_width1024►
◄image_size_height1024►
◄guidance_scale2.50►
◄num_inference_steps40►
◄accelerationregular►
◄seed-1►
◄enable_safety_checkertrue►
◄output_formatpng►
◄num_images1►
◄lora_scale1.00►
◄max_cost_usd20.0►
◄reuse_identical_runtrue►
◄extra_json►
◄max_concurrent1►
Categoryarkennemasis/fal/Image/Flux

Inputs (22)

NameTypeDefaultDescription
image_1IMAGEThe URLs of the images. Provide an image with a white or clean background. Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
promptSTRINGAdd Background forestThe prompt describing the background to add. Must start with 'Add Background' followed by your description. Empty leaves it out.
image_sizeCOMBOsquare_hdThe size of the generated image. If not provided, the size of the input image will be used. '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'.
guidance_scaleFLOAT2.500–20The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.
num_inference_stepsINT404–50The number of inference steps to perform.
accelerationCOMBOregularAcceleration level for image generation. 'regular' balances speed and quality.
seedINT-1-1–2147483647Random seed for reproducibility. Same seed with same prompt will produce same result. -1 leaves it to the model.
enable_safety_checkerBOOLEANtrueWhether to enable the safety checker for the generated image. Disabling it requires account authorization; unauthorized requests are always checked.
output_formatCOMBOpngThe format of the output image
num_imagesINT11–4Number of images to generate
lora_scaleFLOAT1.000–2The strength of the add background effect.
image_2optIMAGEThe URLs of the images. Provide an image with a white or clean background. Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
image_3optIMAGEThe URLs of the images. Provide an image with a white or clean background. Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
image_4optIMAGEThe URLs of the images. Provide an image with a white or clean background. Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
image_5optIMAGEThe URLs of the images. Provide an image with a white or clean background. Each socket may carry a batch; they are sent in socket order (the first picture of socket 1 is number 1).
image_6optIMAGEThe URLs of the images. Provide an image with a white or clean background. 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 (5)

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