Nodes/arkennemasis - ChatGPT / Codex / fal AI nodes/arkennemasis fal · Flux Pro Kontext Max Text to Image · $0.08/image
ComfyUI Node

arkennemasis fal · Flux Pro Kontext Max Text to Image · $0.08/image

No reference image, same premium instruction-following

By Hishamahmer·Created 3 months ago·Updated 9 days ago· 11
arkennemasis fal · Flux Pro Kontext Max Text to Image · $0.08/image
    • images
    • image_paths
    • seed
    • has_nsfw_concepts
    • prompt
    • timings
    • info
    ◄prompt►
    ◄seed-1►
    ◄guidance_scale3.50►
    ◄num_images1►
    ◄output_formatjpeg►
    ◄safety_tolerance2►
    ◄enhance_promptfalse►
    ◄aspect_ratio1:1►
    ◄max_cost_usd20.0►
    ◄reuse_identical_runtrue►
    ◄extra_json►
    ◄max_concurrent1►

    Kontext is usually described as an editor, which makes this node look odd: it's the Max tier with no image input at all. What you're buying is generation with Max's prompt adherence and typography, at $0.08 per image. If your prompts are long, specific, and full of things most models quietly ignore - exact counts, spatial relations, text that has to be legible - this is the endpoint built for that.

    Inputs

    • prompt - a real prompt. Flux-lineage models want sentences rather than tags, and the whole point of the Max tier is that it pays attention to the ones you write.
    • aspect_ratio - default 1:1 here (unlike the multi nodes, which default to (not set)). Options run 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21. Change it to 16:9 before you generate a wallpaper.
    • guidance_scale 3.5 (1–20), seed (-1 lets the model pick), num_images 1–4, output_format (jpeg or png).
    • safety_tolerance default 2, options 1–6, strictest to most permissive. Moderation, not quality.
    • enhance_prompt, default off. When on, fal expands and rewrites your prompt before generating. Useful for short prompts; actively unhelpful when you've spent ten minutes choosing words.

    Plus the pack's four shared widgets: max_cost_usd (default $20, checked before upload - nothing is sent if the estimate is over, and 0 disables it), reuse_identical_run (on by default; identical settings and media return the paid-for files instead of billing again), extra_json (JSON merged last into the request, for fal fields the node has no box for), max_concurrent (default 1 - one paid fal call at a time across every fal node in the run).

    Outputs

    images is what you wire into preview or save. image_paths gives the saved locations in output/fal/fal-ai_flux-pro_kontext_max_text-to-image/. seed returns the seed actually used, prompt echoes the prompt, timings and info are diagnostics - and info carries the request id plus the cost estimate and fal's full answer. has_nsfw_concepts appears here too, which is your first thing to check if an image comes back black.

    Install

    cd ComfyUI/custom_nodes
    git clone https://github.com/Hishamahmer/comfyui-arkennemasis
    

    Manager route: search comfyui-arkennemasis, or Install via Git URL. Restart ComfyUI afterwards; the node shows up under arkennemasis/fal/Image/Flux. No weights, no extra Python packages for the fal provider.

    # .env, in the folder with run_nvidia_gpu.bat (or your ComfyUI folder)
    FAL_KEY=your-key-from-fal.ai/dashboard/keys
    

    There's no key box on the node, so nothing to leak into a workflow file.

    The unglamorous parts

    Typography is better, not solved. Max generates legible text where other models produce hieroglyphs, but long strings and tight letterforms still come back with a wrong character sometimes. Spell-check the output before you deliver it.

    It's not cheap per idea. Eight cents an image means a prompt-hunting session is a real spend. The acceleration-style shortcuts other Flux nodes have don't exist here - there's no speed dial, just price and count. Keep num_images at 1 until a prompt is earned.

    No steps, no guidance-based recovery from a bad prompt. You get guidance_scale and your words. If output is stiff or over-baked, rewrite the prompt rather than hunting for a setting, because there isn't one.

    Black frames mean the safety checker, not a crash. Ease safety_tolerance up a step and re-read the prompt.

    Categoryarkennemasis/fal/Image/Flux

    Inputs (12)

    NameTypeDefaultDescription
    promptSTRINGThe prompt to generate an image from.
    seedINT-1-1–2147483647The same seed and the same prompt given to the same version of the model will output the same image every time. -1 leaves it to the model.
    guidance_scaleFLOAT3.501–20The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
    num_imagesINT11–4The number of images to generate.
    output_formatCOMBOjpegThe format of the generated image.
    safety_toleranceCOMBO2The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.
    enhance_promptBOOLEANfalseWhether to enhance the prompt for better results.
    aspect_ratioCOMBO1:1The aspect ratio of the generated image.
    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 (7)

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