Skip to content
Styleof the Image component

Circle Avatar Image

Crop any photo into a ring-bordered circular avatar and swap the URL on every API call — perfect for profile-driven cards. Generate avatar images free.

Updated

Circle Avatar Image style, sample render

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.borderRadius": 150,
  "photo.borderWidth": 4,
  "photo.borderColor": "#4F46E5",
  "photo.borderStyle": "solid"
}

Good for

  • Personalized OG images with the author avatar
  • Community welcome cards for every new member
  • Speaker cards for event promotion

Try your own data

Change the circle avatar 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 circle avatar image with different values. The JSON is what you send.

Speaker announcement avatar

A conference speaker photo in a green-ringed circle for the lineup card.

{
  "photo.imageSize": "cover",
  "photo.borderRadius": 120,
  "photo.borderWidth": 6,
  "photo.borderColor": "#10B981",
  "photo.borderStyle": "solid"
}

Author avatar on a dark OG card

A white-ringed author photo popping off a dark Open Graph background.

{
  "photo.imageSize": "cover",
  "photo.borderRadius": 150,
  "photo.borderWidth": 4,
  "photo.borderColor": "#F8FAFC",
  "photo.borderStyle": "solid"
}

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.

Or ask your AI agent“Using imejis, make a 1200 × 630 image with the Circle avatar style of the Image component (type "image") filled with my data, then give me a render link I can call with new values.”
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.borderRadius": 150,
    "photo.borderWidth": 4,
    "photo.borderColor": "#4F46E5",
    "photo.borderStyle": "solid"
  }' \
  -o image.png

Other image styles

Circle Avatar Image questions

What does the Circle avatar style change on the image component?

Fully-rounded crop with a ring border — profile photos and avatars. It sets 5 properties on the image component: imageSize, borderRadius, borderWidth, borderColor, borderStyle. Everything else keeps the component's defaults, so your data and layout carry over.

How do I render the circle avatar 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.borderRadius) in the render request. Each render can carry different data while keeping the Circle avatar 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.

Free tools built on it, guides that use it, and the components that sit beside it.