Templates, rendering, and AI generation — all accessible to autonomous agents.
No human in the loop required.
For Claude, Cursor, Windsurf, and any MCP-compatible host. Connect once, get five ready-to-use tools.
templateson.com/api/mcptemplateson.com/api/mcp/sseFor custom agents, n8n AI nodes, or any LLM that can read a JSON manifest and call REST endpoints.
templateson.com/api/agentsAgent fetches /api/agents and gets a complete JSON description of every endpoint, parameter, auth setup, and example.
Agent calls the REST API directly — list templates, render images, generate new designs — all from the manifest alone.
list_templatesdiscoveryList every template accessible to your API key — your own and all public ones. Returns IDs, names, and visibility.
get_template_fieldsintrospectionInspect a template's dynamic fields before rendering. Returns field names and types (text or image).
render_imageoutputRender any template as a PNG. Pass field values and get the image back inline — no download links, no extra steps.
render_pdfoutputSame as render_image but produces a PDF document. Identical parameters, base64-encoded result.
generate_and_save_templateai generationDescribe a design in plain language. AI generates the Fabric.js template and saves it — returns a template_id ready to render.
# 1. List your templates curl https://templateson.com/api/v1/templates/list \ -H "X-API-Key: YOUR_KEY" # 2. Get fields for a template curl https://templateson.com/api/v1/templates/TEMPLATE_ID/fields \ -H "X-API-Key: YOUR_KEY" # 3. Render it as PNG curl -X POST https://templateson.com/api/v1/image \ -H "X-API-Key: YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"templateId":"TEMPLATE_ID","title":"Hello","format":"json"}'
Get your API key and plug Templates on into your agent in minutes.