Templated MCP by usefulapi

v1.2.1
io.usefulapi/templated Checked 3 days ago Published 2 days ago

Create images, PDFs and videos from templates, and list layers and renders in Templated.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

templated_get_account Get account

Show your Templated account: name, plan, and API credit usage against your quota. Good first call to check the key works. Templated API: GET /v1/account.

templated_list_templates List templates

List your templates with their id, name, size and layer count. Optionally include layers or pages. Templated API: GET /v1/templates.

ParameterTypeDescription
externalIdstringFilter by your own external id.
heightintegerFilter by height in pixels.
includeLayersbooleanInclude each template's layers (default false).
includePagesbooleanInclude each template's pages and layers (default false).
limitintegerResults per page (default 25).
pageintegerPage number, starting at 0 (default 0).
querystringFilter templates by name.
tagsstringFilter by tags, comma-separated.
widthintegerFilter by width in pixels.

templated_get_template Get a template

Get one template by id, optionally with its layers or pages. Templated API: GET /v1/template/{id}.

ParameterTypeDescription
id *stringThe Templated id (from the matching list or create tool).
includeLayersbooleanInclude the template's layers (default false).
includePagesbooleanInclude the template's pages and layers (default false).

templated_list_template_layers List template layers

List the layers of one template: each layer name, type (text, image, shape, …) and group. Use the layer names as keys in templated_create_render. Templated API: GET /v1/template/{id}/layers.

ParameterTypeDescription
id *stringThe Templated id (from the matching list or create tool).
includeLockedLayersbooleanInclude layers locked in the editor (default false).

templated_list_template_renders List renders of a template

List the renders made from one template, newest first, with their file urls. Templated API: GET /v1/template/{id}/renders.

ParameterTypeDescription
id *stringThe Templated id (from the matching list or create tool).
externalIdstringFilter by your own external id.
limitintegerResults per page (default 25).
pageintegerPage number, starting at 0 (default 0).

templated_get_render Get a render

Get one render by id: its file url, size, format, template and creation time. Templated API: GET /v1/render/{id}.

ParameterTypeDescription
id *stringThe Templated id (from the matching list or create tool).

templated_list_folders List folders

List your template and render folders. Templated API: GET /v1/folders.

ParameterTypeDescription
limitintegerResults per page (default 25).
pageintegerPage number, starting at 0 (default 0).
querystringFilter folders by name.

templated_create_render Create a render

Create an image, PDF, or video from a template with new layer values. Each call uses API credits and stores a new file. Returns the render with its file url. Templated API: POST /v1/render.

ParameterTypeDescription
template *stringThe template id to render (from templated_list_templates).
formatstringOutput format (default jpg). Transparency needs png; mp4 needs a video template.
heightintegerOutput height in pixels (default: the template's height).
layersobjectLayer values keyed by layer name (from templated_list_template_layers). Each value holds properties such as {"text": "Hello"}, {"color": "#ff0000"} or {"image_url": "https://…"}.
namestringA name for the render, shown in your dashboard.
scalenumberScale factor applied to the output size.
transparentbooleanTransparent background (png only, default false).
widthintegerOutput width in pixels (default: the template's width).

templated_delete_render Delete a render

Permanently delete one render: its file, the data sent to create it, and its record. This cannot be undone. Templated API: DELETE /v1/render/{id}.

ParameterTypeDescription
id *stringThe Templated id (from the matching list or create tool).

templated_clone_template Clone a template

Copy one template into a new template with a new id. The copy keeps a link to the source. Templated API: POST /v1/template/{id}/clone.

ParameterTypeDescription
id *stringThe Templated id (from the matching list or create tool).
namestringName for the copy.

templated_delete_template Delete a template

Permanently delete one template by id. This is irreversible: a deleted template cannot be recovered. Check the id with templated_get_template first. Templated API: DELETE /v1/template/{id}.

ParameterTypeDescription
id *stringThe Templated id (from the matching list or create tool).