Full dual-provider batch image generator (OpenAI gpt-image-1 and Google Gemini 'Nano Banana'): provider switch, single-prompt and JSON-driven batch modes (load a file or paste JSON, extract by explicit keys or grab every string, three ways to combine with a base prompt), continue-on-error, live progress + log, preview and save, a Help dialog, and settings that autosave every second. API keys are read from the secure vault, never stored in plaintext.
Generate one image per prompt from a JSON file and/or inline JSON - the same JSON-keys/ignore-keys extraction and concatenation-mode logic the GUI's batch mode uses - saving every image to an output folder.
Inputs
Name
Type
Required / default
Values and notes
prompts_file
path
optional, default ""
prompts
json
optional, default []
keys
string
optional, default ""
ignore_keys
bool
optional, default false
base_prompt
text
optional, default ""
concat_mode
enum
optional, default No Concatenate
No ConcatenatePrepend JSON to Base PromptAppend JSON to Base Prompt
Verify that the stored API key for a provider is present and accepted - the same check OpenAI's 'Verify Key / Model' button runs; adds an equivalent lightweight check for Gemini, which the original app never had.