docs / bulk
Bulk from CSV
Make one image per spreadsheet row. In the dashboard, open Bulk (CSV): upload a CSV file or paste a Google Sheets link (shared as "Anyone with the link can view"), match columns to the template's fields, preview the first three rows, then make them all and download a ZIP.
Before anything starts, the whole batch's credits are checked: a batch of 40 rows needs 40 credits, or nothing is created. Each finished image uses one credit. A row that fails (for example an image link that cannot be fetched) is listed with its reason and gives its credit back. Rows that do not pass validation are listed and skipped. Up to 250 rows per batch.
API
POST /v1/batches
{
"template": "product-spotlight",
"size": "square",
"format": "png",
"brand": "default",
"rows": [
{ "product_name": "Speckled mug", "price": "₹1,250", "image_url": "https://example.com/mug.jpg" },
{ "product_name": "Terracotta planter", "price": "₹899", "image_url": "https://example.com/pot.jpg" }
]
}
202 → { "id": "…", "total": 2, "invalid": [], "counts": {…}, "done": false, "rows": [ { "row": 1, "status": "queued", … } ] }
GET /v1/batches/{id} → the same shape; each finished row has output.download.urlEach row is an ordinary render, so it also appears in GET /v1/renders and in the dashboard's history. Download links last 24 hours; reading the batch again gives fresh ones.