
Templates to start from
Each of these is a finished design you can copy and change: a product launch, a sale, a fixture announcement, and a daily post.
What you send, what you get
This is the whole request for Wednesday’s post in the example above. Seven values go in and one finished graphic comes back.
POST /v1/rendersRequest
{
"template": "YOUR_TEMPLATE_ID",
"modifications": {
"background": "#5739a6",
"photo": "https://images.formathletic.com/coaching.jpg",
"headline": "YOUR NEXT\nCHAPTER.",
"description": "Small steps. Lasting strength.",
"offer_heading": "YOUR FIRST MONTH",
"offer": "$89 / MONTH",
"button": "JOIN THE CLUB"
},
"output": {
"format": "png",
"scale": 1
}
}
Questions about social media images
Does Pixmato post to social media for me?
No. Pixmato makes the image and gives you the file. Publishing stays in your scheduler or your own code.
Can one request produce the post, the story, and the link preview?
No. Each size is a separate template with its own layout, so it is one request per size. The values you send can be the same.
What happens when a headline is too long?
A text layer can shrink its text to fit, or cut it off after a set number of lines. Either way the copy stays inside the design.
Can the colors change between campaigns?
Yes. Any color you expose on a layer can be sent with the request, including the background.
