Batch image generation planning
Generating one image is cheap; generating two thousand for a product catalog, game assets, or a dataset is a real time-and-money decision. This planner estimates the total time, the cloud credit cost, and whether local or cloud hardware is the smarter call for your batch.
How it works
The core estimate chains three numbers:
sec_per_image = base(model, gpu) × res_scale × step_scale
total_time = sec_per_image × image_count
cloud_cost = (total_time / 3600) × gpu_hourly_rate
Resolution scales with pixel count and step count scales linearly, mirroring how diffusion actually works (each step is one UNet pass). For cloud, the planner applies a representative hourly rate for the GPU tier; for local, the marginal electricity cost is small, so the recommendation hinges on whether you already own the card.
Tips for cheaper, faster batches
- Prototype small. Lock your prompt and seed range on 4–8 images before launching thousands.
- Right-size resolution. Generate at the model’s native res and upscale only the keepers — cheaper than generating everything large.
- Trim steps to the sweet spot. 20–30 steps is plenty for most samplers; extra steps mostly cost money.
- Batch per call. Generating 4–8 images per GPU call amortises model load and raises throughput on cloud instances.