Menu

1 / 6

Nano Banana Pro API: Batch a Holiday Catalog in Python

DEV Community: api·Siray AI·6 days ago
#auBsIjGB
#devtoapi#devto#dev#nano#banana
Long article (3481 words) — no AI summary yet.
Reading 0:00
15s threshold

The Nano Banana Pro API turns a CSV of product photos into finished catalog cards at $0.098 per 2K image on Siray AI. This tutorial builds a Python pipeline that reads the CSV, submits image-to-image tasks three at a time, resumes from a saved task_id instead of paying twice, caps the spend before the first request, and names every file by SKU.

We ran the same four requests end to end: four SKUs, four seconds of setup, 80.5 seconds of wall time and $0.392 in spend , four cards out with character-exact captions.

Key takeaways

$0.098 per card at 1K and 2K, $0.168 at 4K. Input images are free, so a two-reference edit costs the same as a one-reference edit. A 250-SKU catalog at 2K is $24.50 .

Four SKUs, four successes, 80.5 s at concurrency 3. Individual jobs finished in 26.7–50.2 s from submit to downloaded file.

Submission, not generation, is what serialises. The first POST took 1.4 s; the fourth took 12.8 s.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.