Nodes/ComfyUI-Gemini3-API-Fallback/🏁 Grid Format Selector (API Fallback)
ComfyUI Node

🏁 Grid Format Selector (API Fallback)

The grid-format node that has nothing to do with Gemini at all

By LatentnautΒ·Created 7 months agoΒ·Updated 3 months agoΒ· 0
🏁 Grid Format Selector (API Fallback)
    • grid_format
    β—„grid_format1x1β–Ί

    Here's the honest truth about the 🏁 Grid Format Selector: it's the odd one out in the ComfyUI-Gemini3-API-Fallback pack, and it's probably the easiest to skip. It outputs a grid-layout string like 2x2 or 4x4, and it does not plug into any input on the Gemini image node. It's a glorified constant - a pretty dropdown that hands a value to whatever other node you want to consume it.

    The use case the author presumably had in mind: after Gemini generates a batch of images, you'll often lay them out on a contact sheet or comparison grid. That's not done by this pack - you'd use something like ImageBatch plus a grid/compose node that accepts a row-by-column layout. Those grid makers usually take a WxH style string, and this selector just makes that value visible, editable, and consistent across your graph instead of buried inside some node's internal settings.

    How it works

    Pick a format from the dropdown - 1x1, 2x2, 3x3, 4x4, 6x2, 2x6, 3x1, 1x3, 4x1, 1x4 - and the node passes your choice straight through as a string on its grid_format output. Ten options, no logic, no network, no API key. If you hand it a 2x3 format that isn't in the list, there's no snapping and no validation - it's just a dropdown, not a parser.

    When you'd actually use it

    Real talk: this is a value node for a workflow that doesn't exist inside this pack. If you're generating six images and want them presented as a 3x2 grid, and your grid-assembly node accepts a layout string, this selector is a clean way to drive that. If you don't have a grid/compose step downstream, the node does nothing for you - and there's no shame in leaving it out of your graph entirely. It's the kind of node that exists so the pack's author could keep one consistent "controls at the top" layout, not because it does anything clever.

    Installing it

    Same as the rest of the pack - it ships in ComfyUI-Gemini3-API-Fallback. ComfyUI Manager (search "ComfyUI-Gemini3-API-Fallback"), or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Latentnaut/ComfyUI-Gemini3-API-Fallback
    python -m pip install google-genai pillow numpy requests
    

    then restart ComfyUI. No model files, no GPU, no Google key required for this node.

    In short: it's a tidy little constant factory. If a grid-layout workflow already exists in your graph, it's a nice way to control it. If not, this is the one node in the pack you can happily ignore.

    CategoryGemini AI

    Inputs (1)

    NameTypeDefaultDescription
    grid_formatCOMBO1x110 options: 1x1, 2x2, 3x3, 4x4, 6x2, 2x6, +4

    Outputs (1)

    NameTypeDescription
    grid_format1x1,2x2,3x3,4x4,6x2,2x6,3x1,1x3,4x1,1x4β€”