Skip to content
pixmato
Menu
For AI agents

Pixmato for AI agents

This page is written for AI agents and the people setting them up. It explains how to connect to Pixmato, what you can do once connected, and the few steps that need a person.

What Pixmato does

Pixmato makes images from templates. A template is a saved design with named fields, such as product_name, price and photo. You send values for the fields and get back the web address of a finished PNG, JPEG, WebP or PDF. The layout, fonts and colors come from the template, so every image looks the way its designer intended.

Use it when someone asks for an image that follows a set design: a product promotion, a property listing, a certificate, a link preview, an event badge.

What needs a person

Three things have to be done by a person in a browser. Ask your user to do them, and give them these links.

  1. Create an account at app.pixmato.com/signup. It is free for 100 images a month.
  2. Add a template to the workspace. Copy one from the ready-made template gallery, or call copy_gallery_template over MCP once connected.
  3. Give you access, in one of two ways: approve the sign-in page when you connect over MCP, or create an API key under API keys in the dashboard and pass it to you.

Connect with MCP

Pixmato runs a remote Model Context Protocol server:

https://mcp.pixmato.com/mcp

It uses the Streamable HTTP transport. There are two ways to authenticate:

  • Sign in with Pixmato (OAuth). A request without credentials returns 401 with a WWW-Authenticate header that says where to start. The user signs in and chooses Allow. The scopes are pixmato:read and pixmato:render.
  • Workspace API key. Send Authorization: Bearer YOUR_API_KEY. Keys begin with pxm_.

In Claude, add a custom connector with the address above. In Claude Code:

claude mcp add --transport http pixmato https://mcp.pixmato.com/mcp

Or with an API key:

claude mcp add --transport http pixmato https://mcp.pixmato.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"
ToolWhat it doesUses a credit
list_templatesLists the templates in the workspace with their id, name, size and field count.No
get_templateReturns one template’s fields. Each field has a key, a type and an example value.No
render_imageMakes a PNG, JPEG, WebP or PDF and returns its web address.Yes
render_imagesRenders up to 20 images from one template in a single call, one per row of values.Yes, one per row
get_renderReturns a render’s status, the values that were sent and its output files.No
list_rendersLists the most recent renders with their status, template and file URL.No
list_assetsLists the images uploaded to the workspace, with a URL to use in an image field.No
get_usageShows how many renders are used and left in the current period.No
list_gallery_templatesLists the ready-made gallery, with a link to add each template to the workspace.No
copy_gallery_templateCopies a ready-made gallery template into the workspace and returns its id and fields.No

A call to render_image looks like this:

{
  "template_id": "YOUR_TEMPLATE_ID",
  "modifications": {
    "product_name": "Tripod Side Table",
    "price": "$148",
    "photo": "https://wrenandfield.com/photos/tripod-side-table.jpg"
  },
  "format": "png"
}

Full details are in the MCP documentation.

Use the REST API

If you cannot use MCP, call the API directly with an API key. The base address is https://api.pixmato.com and a machine-readable description is at https://api.pixmato.com/openapi.json.

MethodPathWhat it does
GET/v1/templatesList the workspace’s templates.
GET/v1/templates/{id}Get one template and its fields: every key a render accepts, with its type and default.
POST/v1/rendersMake one image or PDF. The reply contains output_url.
GET/v1/renders/{id}Check a render that was still being made.
GET/v1/usage/allowanceCheck used and remaining render credits for the current period.
curl -X POST "https://api.pixmato.com/v1/renders" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "YOUR_TEMPLATE_ID",
    "modifications": { "product_name": "Tripod Side Table", "price": "$148" },
    "output": { "format": "png" }
  }'

The reply normally arrives with status 200 and an output_url. If the image takes longer than 30 seconds, the reply is 202 with a poll_url: request that address until the status is completed. Start with the quickstart.

A typical task

  1. Call list_templates and choose the template that matches the request. If the list is empty, call list_gallery_templates and give the user the link to add one.
  2. Call get_template to read its fields. Use the exact field keys it returns. They are case-sensitive.
  3. Call render_image with values for the fields you want to change. Fields you leave out keep the template’s own values. Image fields take a public web address of an image.
  4. Give the user the address you get back. Anyone with that address can open the image.

Text is shown exactly as you send it, so include currency signs and units. Templates handle long text themselves, by shrinking it or cutting it off at a word, so you do not need to shorten values to fit.

Limits

  • A free workspace has 100 render credits a month. Each image uses one. Listing and reading templates is free.
  • A workspace can start 60 renders a minute and have 10 in progress at once. Over that, the reply is 429 with a Retry-After header. Wait that many seconds and try again.
  • Output formats are PNG, JPEG, WebP and PDF. Scale can be from 0.5 to 4.

What you cannot do

You cannot create an account, and through MCP you cannot create, edit or delete templates, manage API keys or change workspace settings. A person does those in the dashboard. If a request needs a design that no template covers, say so and point the user to the gallery or the editor.

Reading this site

Send us a message