Turn “Headline on Photo” into a Story for the 12 rows of Fall Campaign.
Drive it with the API or an agent
“Our AI agents must be able to do it on their own.” REST, signed render links, webhooks and an MCP server.
DEVELOPERS · API AND MCP
The same template powers the editor, the spreadsheet and your code: named variables, formats by name, one credit per rendered file. A test key generates without using credits.
curl -X POST https://suwar.app/api/v1/render \ -H "Authorization: Bearer $SUWAR_KEY" \ -H "Content-Type: application/json" \ -d '{ "template_id": "grand-titre-photo", "format": "post", "variables": { "sujet": "pubs", "verbe": "vendent", "accroche": "dès lundi" } }'
200 OK{ "id": "rnd_8f2kq1", "status": "completed", "format": "post", "width": 1080, "height": 1350, "credits": 1, "url": "https://suwar.app/uploads/renders/rnd_8f2kq1.png" }Des pubsqui vendent,dès lundi →
SIGNED RENDER LINKS
For an email, a CMS or an img tag, no API key: the visual renders on open, at the format's size.
<img src="https://suwar.app/v/…/post.png?sujet=pubs&sig=…"
width="1080" height="1350" alt="Des pubs qui vendent">X-Suwar-Signature: sha256=5f2c…
{
"event": "render.completed",
"timestamp": "2026-10-08T09:30:00.000Z",
"data": { "templateId": "…", "renderId": "…" }
}Verify the signature (Node)const attendu = 'sha256=' + crypto
.createHmac('sha256', process.env.SUWAR_WEBHOOK_SECRET)
.update(corpsBrut).digest('hex');WEBHOOKS
A signed JSON POST for each selected event; no response within 10 seconds means two retries, after 2 then 4 seconds.
render.completedA visual is readyrender.failedA render failed, with the error messagetemplate.createdA template is createdtemplate.updatedA template is savedtemplate.deletedA template is moved to the trashform.submittedA public form is submitted, with the entered valuesMCP SERVER
Claude and compatible agents create, fill and render your templates in conversation. Each member authorizes access with their own account.
claude mcp add --transport http suwar <adresse du serveur>
Modèleslist, read, create, edit, duplicateVariantescreate, edit, detachRendusa visual, a carousel, a whole spreadsheet, a PDF catalogTableurscreate, read, add rowsMédiasimport, list, remove backgroundMarques et policescreate a brand, apply itTurn “Headline on Photo” into a Story for the 12 rows of Fall Campaign.
“Our AI agents must be able to do it on their own.” REST, signed render links, webhooks and an MCP server.
TOOLS
Everything you need to plug Suwar into your tools.
DOCUMENTATION
Parameters, responses, errors and examples, endpoint by endpoint.
DEVELOPERS
Create a test key, paste the request, watch the visual arrive.
DEVELOPERS · API AND MCP
The same template powers the editor, the spreadsheet and your code: named variables, formats by name, one credit per rendered file. A test key generates without using credits.
curl -X POST https://suwar.app/api/v1/render \ -H "Authorization: Bearer $SUWAR_KEY" \ -H "Content-Type: application/json" \ -d '{ "template_id": "grand-titre-photo", "format": "post", "variables": { "sujet": "pubs", "verbe": "vendent", "accroche": "dès lundi" } }'
200 OK{ "id": "rnd_8f2kq1", "status": "completed", "format": "post", "width": 1080, "height": 1350, "credits": 1, "url": "https://suwar.app/uploads/renders/rnd_8f2kq1.png" }
SIGNED RENDER LINKS
For an email, a CMS or an img tag, no API key: the visual renders on open, at the format's size.
<img src="https://suwar.app/v/…/post.png?sujet=pubs&sig=…"
width="1080" height="1350" alt="Des pubs qui vendent">WEBHOOKS
A signed JSON POST for each selected event; no response within 10 seconds means two retries, after 2 then 4 seconds.
render.completedA visual is readyrender.failedA render failed, with the error messagetemplate.createdA template is createdtemplate.updatedA template is savedtemplate.deletedA template is moved to the trashform.submittedA public form is submitted, with the entered valuesX-Suwar-Signature: sha256=5f2c…
{
"event": "render.completed",
"timestamp": "2026-10-08T09:30:00.000Z",
"data": { "templateId": "…", "renderId": "…" }
}Verify the signature (Node)const attendu = 'sha256=' + crypto
.createHmac('sha256', process.env.SUWAR_WEBHOOK_SECRET)
.update(corpsBrut).digest('hex');MCP SERVER
Claude and compatible agents create, fill and render your templates in conversation. Each member authorizes access with their own account.
claude mcp add --transport http suwar <adresse du serveur>
Modèleslist, read, create, edit, duplicateVariantescreate, edit, detachRendusa visual, a carousel, a whole spreadsheet, a PDF catalogTableurscreate, read, add rowsMédiasimport, list, remove backgroundMarques et policescreate a brand, apply itTurn “Headline on Photo” into a Story for the 12 rows of Fall Campaign.
“Our AI agents must be able to do it on their own.” REST, signed render links, webhooks and an MCP server.
TOOLS
Everything you need to plug Suwar into your tools.
DOCUMENTATION
Parameters, responses, errors and examples, endpoint by endpoint.
DEVELOPERS
Create a test key, paste the request, watch the visual arrive.