- Components
- Text
- Highlighted
Highlighted Text
Add a marker-style highlight behind your headline with textBackgroundColor and change the copy on every API call. Generate highlighted text images free.
Updated

What this style sets
A style is the text component with a few properties set. Send these, or start from the style in the editor.
{
"title.text": "Launch day is here",
"title.textBackgroundColor": "#FDE68A",
"title.color": "#111827"
}Good for
- Quote cards with a highlighter swipe behind the key phrase
- Sale banners that make the offer pop
- Newsletter header images with emphasized keywords
Try your own data
Change the highlighted text 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 highlighted text with different values. The JSON is what you send.
Weekend sale banner
A store-wide offer with a green highlighter swipe behind the copy.
{
"title.text": "Everything 30% off this weekend",
"title.textBackgroundColor": "#BBF7D0",
"title.color": "#111827",
"title.fontSize": 44
}Testimonial pull quote
A customer quote for social with the words set on a pink marker.
{
"title.text": "“The best design API we’ve used”",
"title.textBackgroundColor": "#FBCFE8",
"title.color": "#111827",
"title.fontSize": 42,
"title.fontWeight": 600
}New values, every render
Override the copy per render with '<key>.text', plus '<key>.color' and background/stroke colors for styling. 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 '{
"title.text": "Launch day is here",
"title.color": "#111827",
"title.textBackgroundColor": "#FDE68A"
}' \
-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({
"title.text": "Launch day is here",
"title.color": "#111827",
"title.textBackgroundColor": "#FDE68A"
}),
})
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={
"title.text": "Launch day is here",
"title.color": "#111827",
"title.textBackgroundColor": "#FDE68A"
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Other text styles
Highlighted Text questions
What does the Highlighted style change on the text component?
A marker-style highlight behind the glyphs via textBackgroundColor. It sets 3 properties on the text component: text, textBackgroundColor, color. Everything else keeps the component's defaults, so your data and layout carry over.
How do I render the highlighted text through the API?
Add a text component to a design, then send its data together with the style's properties as flat overrides (for example title.text and title.textBackgroundColor) in the render request. Each render can carry different data while keeping the Highlighted look.
Can I change the text on every API call?
Yes. Mark the component dynamic and send '<key>.text' in the flat modifications JSON — every render can carry different copy, colors and styling.
What happens when long text overflows the box?
Enable autoResize and the font size shrinks or grows between minFontSize and maxFontSize to fit the box; autoWidth and autoHeight can let the box grow instead.
Where the text component fits
Free tools built on it, guides that use it, and the components that sit beside it.





