Batch render template
Batch
Batch Operations
Generate multiple images efficiently with batch processing
POST
Batch render template
Batch Operations
Generate multiple images from a single template with different variables. Ideal for bulk generation of social cards, certificates, or personalized content.Endpoints
Two input modes
The same endpoint accepts rows either inline or from a spreadsheet: Rows mode — sendvariableSets, an array of variable objects, one per render:
mappings is { "templateVariable": "CSV Column" } — the key is the template variable, the value is the CSV column that fills it. The CSV must be publicly fetchable — the server downloads it once when the batch starts.
Batch Status
Webhook Notification
When a batch job completes, Pictify sends abatch.completed event to your webhook URL (if provided):
Limits
Best Practices
- Use webhooks — don’t poll for results; use webhooks for notification
- Handle failures gracefully — some items may fail; implement retry logic
- Batch appropriately — group related renders; avoid tiny batches
- Monitor progress — track batch status for long-running jobs
- Clean up — results are stored for 7 days; download and store permanently if needed
Authorizations
API key obtained from the Pictify dashboard
Path Parameters
Body
application/json
Required array length:
1 - 100 elementsAvailable options:
png, jpeg, webp Required range:
0.1 <= x <= 1Layout variant to use for all batch items. Omit for default layout.
Pattern:
^[a-z0-9-]{1,64}$Array of layout variant names to render for all batch items. Use instead of layout to render multiple layouts per item.
Pattern:
^[a-z0-9-]{1,64}$Required range:
1 <= x <= 10