Render multiple sizes in one call
Use response.extraSizes to get the same design at several sizes from a single render request
Published Jun 14, 2026
Need a Story, a Square, and an OG image from one design? extraSizes renders them all in a single call. Where size replaces the output, extraSizes is purely additive — your normal render is unchanged, and each output gains an extraSizes array beside it.
Pass an array of sizes:
curl -X POST "https://api.orshot.com/v1/studio/render" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"templateId": "1227",
"response": {
"type": "url", "format": "png",
"extraSizes": ["1080x1920", "1080x1080", "1200x630"]
}
}'…or a named object, when you want a label to route on:
"extraSizes": { "story": "1080x1920", "square": "1080x1080" }Each extra size comes back nested beside your render — self-describing its size, width, height, and content URL (and name, for a named object). On multi-page templates, every page carries its own extraSizes.
Image formats only
extraSizes works on png, jpg, webp, and avif — not PDF or video.
Each extra size is billed as its own render.
Related#
More in Generating Visuals
Ready to automate?
Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.
Get your API key- Image, PDF and video generation via API
- Visual editor with AI and smart layouts
- Zapier, Make, MCP and 50+ integrations
- White-label embed for your own app
- 30 free credits — no credit card required