chatgpt_generate_batch
Generate many ChatGPT images in parallel tabs, then save each to disk. Use shared reference images and a style suffix to keep a consistent visual style across all outputs.
Instructions
Generate MANY images on chatgpt.com IN PARALLEL (one tab per job, fire-all-then-collect) and save each to disk. Submits every job first WITHOUT waiting, then waits for all generations concurrently — far faster than sequential. For a CONSISTENT feed set, pass shared_image_paths (e.g. [logo] and/or a style-reference image like a previously-generated hero) uploaded to EVERY tab, plus style_suffix (a shared style spec) appended to every prompt. Requires an authenticated chatgpt.com session (import cookies first). Returns per-job results (saved path / ok / bytes / error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | Per-image jobs: each has a prompt and an output PNG path. | |
| stagger_ms | No | Delay between submitting each tab (avoids UI/anti-bot races). | |
| timeout_ms | No | Max ms to wait for each image to finish. | |
| style_suffix | No | Shared style spec text appended to every prompt (exact colors, typography, layout, mood) for consistency. | |
| shared_image_paths | No | Reference images uploaded to EVERY tab (e.g. [logoPath, styleRefPath]) — key for visual consistency. |