- Components
- Image
- Polaroid
Polaroid Image
Wrap photos in a padded white frame with a soft shadow for a printed-photo look, swapping the picture on every API call. Create polaroid images free.
Updated

What this style sets
A style is the image component with a few properties set. Send these, or start from the style in the editor.
{
"photo.imageSize": "cover",
"photo.padding": "12px",
"photo.backgroundColor": "#ffffff",
"photo.borderRadius": 4,
"photo.boxShadow": "0 10px 25px rgba(0,0,0,0.15)"
}Good for
- Event photo recap graphics
- User-generated content showcases
- Nostalgic social media campaigns
Try your own data
Change the polaroid image here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.
Examples
Each example is the same polaroid image with different values. The JSON is what you send.
Event recap snapshot
A meetup photo in a thick white frame on a soft gray canvas.
{
"photo.imageSize": "cover",
"photo.padding": "16px",
"photo.backgroundColor": "#ffffff",
"photo.borderRadius": 4,
"photo.boxShadow": "0 16px 32px rgba(0,0,0,0.2)"
}UGC photo feature
A customer photo framed in warm cream for a community showcase post.
{
"photo.imageSize": "cover",
"photo.padding": "12px",
"photo.backgroundColor": "#FFF7ED",
"photo.borderRadius": 2,
"photo.boxShadow": "0 10px 25px rgba(0,0,0,0.15)"
}New values, every render
Point '<key>.image' at any image URL per render; opacity, borders and padding can be overridden too. Send only the properties you want to change; everything else keeps its design value. The API guides cover every language.
curl -X POST "https://render.imejis.io/v1/$IMEJIS_DESIGN_ID" \
-H "dma-api-key: $IMEJIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"photo.image": "https://picsum.photos/seed/hello/600/600",
"photo.imageSize": "cover",
"photo.padding": "12px",
"photo.backgroundColor": "#ffffff",
"photo.borderRadius": 4,
"photo.boxShadow": "0 10px 25px rgba(0,0,0,0.15)"
}' \
-o image.pngconst res = await fetch(`https://render.imejis.io/v1/${process.env.IMEJIS_DESIGN_ID}`, {
method: "POST",
headers: {
"dma-api-key": process.env.IMEJIS_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"photo.image": "https://picsum.photos/seed/hello/600/600",
"photo.imageSize": "cover",
"photo.padding": "12px",
"photo.backgroundColor": "#ffffff",
"photo.borderRadius": 4,
"photo.boxShadow": "0 10px 25px rgba(0,0,0,0.15)"
}),
})
if (!res.ok) throw new Error(`render failed: ${res.status}`)
const image = Buffer.from(await res.arrayBuffer())import os
import requests
response = requests.post(
f"https://render.imejis.io/v1/{os.environ['IMEJIS_DESIGN_ID']}",
headers={
"dma-api-key": os.environ["IMEJIS_API_KEY"],
"Content-Type": "application/json",
},
json={
"photo.image": "https://picsum.photos/seed/hello/600/600",
"photo.imageSize": "cover",
"photo.padding": "12px",
"photo.backgroundColor": "#ffffff",
"photo.borderRadius": 4,
"photo.boxShadow": "0 10px 25px rgba(0,0,0,0.15)"
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Other image styles
Polaroid Image questions
What does the Polaroid style change on the image component?
Padded frame with a soft shadow for a printed-photo feel. It sets 5 properties on the image component: imageSize, padding, backgroundColor, borderRadius, boxShadow. Everything else keeps the component's defaults, so your data and layout carry over.
How do I render the polaroid image through the API?
Add a image component to a design, then send its data together with the style's properties as flat overrides (for example photo.imageSize and photo.padding) in the render request. Each render can carry different data while keeping the Polaroid look.
Can I change the image on every API call?
Yes — point '<key>.image' at any publicly reachable image URL in the modifications JSON and each render fetches that image.
How is the image fitted inside its box?
imageSize maps to CSS object-fit (cover, contain, fill, none, scale-down) and imagePosition sets the focal point, so you control cropping precisely.
Where the image component fits
Free tools built on it, guides that use it, and the components that sit beside it.


