nanobanana_process_queue
Process queued prompt files to generate images using Gemini models, with validation, dry-run, and overwrite options for batch image creation.
Instructions
Process all prompt files in the queue directory and generate images.
Modes:
validate_only=true: Only validate prompts, no API callsdry_run=true: Show what would be generated, no API callsBoth false: Actually generate images
Overwrite Strategies:
skip: Skip if output file exists (default)overwrite: Replace existing filesrename: Generate with suffix (e.g., hero_1.png)
After successful generation, prompt files are moved to completed_dir with timestamp.
Example:
queue_dir: "nanobanana/queue"
dry_run: true
overwrite: "skip"Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue_dir | No | Directory containing prompt markdown files | nanobanana/queue |
| output_dir | No | Default directory to save generated images (used if prompt has relative path) | assets/generated |
| completed_dir | No | Directory to move processed prompts to | nanobanana/completed |
| model | No | Gemini model to use for all generations (overrides prompt settings) | gemini-2.5-flash-image |
| validate_only | No | If true, only validate prompt files without generating images | |
| dry_run | No | If true, show what would be generated without actually calling API | |
| overwrite | No | Strategy when output file exists: skip, overwrite, or rename with suffix | skip |