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
| Method | Endpoint | Description |
|---|---|---|
POST | /templates/{uid}/batch-render | Start batch job |
GET | /templates/batch/{batchId}/results | Get results |
POST | /templates/batch/{batchId}/cancel | Cancel batch |
Batch Status
| Status | Description |
|---|---|
pending | Job created, waiting to start |
processing | Currently rendering images |
completed | All items processed successfully |
partial | Completed with some failures |
failed | All items failed |
cancelled | Job was cancelled |
Webhook Notification
When a batch job completes, Pictify sends abatch.completed event to your webhook URL (if provided):
Limits
| Plan | Max Items per Batch | Concurrent Batches |
|---|---|---|
| Free | 10 | 1 |
| Pro | 100 | 3 |
| Business | 1,000 | 10 |
| Enterprise | 10,000 | Unlimited |
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