Breaking News
Render one per story from your publishing system, with the headline, text, cover image, source and a QR code to the follow-up page.
Image, 1080 × 1080, 1 credit
Output

Variables
coverImagetexthttps://images.pexels.com/photos/158826/structure-light-led-movement-158826.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1followUrltexthttps://news.example.com/quantum-breakthroughheadlinetextMajor Technology Breakthrough AnnouncedsourcetextGlobal News Networktimestamptext2024-11-21T15:30:00updates[].contenttextScientists reveal groundbreaking quantum computing advancement that could revolutionize data processing.updates[].timestamptext2024-11-21T15:30:00
Send any of these in modify. Anything you leave out prints the sample value, and the response lists it in warnings.
Render it
Save the template to your account first. Saving gives you its ID.
curl --request POST \
--url https://api.ojo.so/v1/image/template \
--header 'Authorization: Bearer <your API key>' \
--header 'Content-Type: application/json' \
--data '{
"templateId": "<YOUR_TEMPLATE_ID>",
"modify": {
"coverImage": "https://images.pexels.com/photos/158826/structure-light-led-movement-158826.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1",
"source": "Global News Network",
"timestamp": "2024-11-21T15:30:00",
"headline": "Major Technology Breakthrough Announced"
},
"viewportWidth": 1080,
"viewportHeight": 1080
}'What's included
- Live Timeline
- QR Tracking
- Real-time Updates


