Documentation Index
Fetch the complete documentation index at: https://docs.pixy.art/llms.txt
Use this file to discover all available pages before exploring further.
What You Need
Before you send a generate request, you need:- An Automation key
- A design
id - One or more element
idvalues for the parts you want to change
Get An Automation Key
Create or copy an Automation key from your Pixy API settings. Get Automation keyInstall The SDK
If you prefer a wrapper instead of writing raw fetch requests, install the official npm package:Search Public Templates
Use the public templates endpoint when you need a templatedesignId to start from.
Supported query parameters:
searchfilters templates by name or keywordpageis a zero-based page indexperPagecontrols how many templates are returned, up to 100promotedoptionally filters promoted templatesorderByoptionally controls ordering. Useoldestfor oldest created templates first. Omit it for latest updated templates first.
data, total, page, perPage, and search.
Each template includes its id, name, thumbnail, category, size, orientation, fonts, and supported export formats.
Use a returned template id as the designId for generation, or open it in the Embed editor with openAsCopy: true.
Duplicate a Design
Use the duplicate endpoint when you need a separate editable copy of a design. The response returns a newid; saving or editing that copy will not change the source design.
If the source design was created through Embed with a userId, the copied design keeps the same association.
cURL
Find Design ID
Open the design or template in Pixy, then use theCopy design id action in the editor.
Find Element IDs
Once the design is open in the editor, select the element you want to modify and useCopy element id.
Typical targets include:
Text elements
Text elements
Use these when you want to change text content, fill color, or stroke color.
Image elements
Image elements
Use these when you want to swap the source image, or change stroke color.
SVG and shape elements
SVG and shape elements
Use these when you want to change fill or stroke color.
Send Your First Request
Use your authenticated Automation key to sendmodifications in the request body.
id, the designId, total duration, and generated files, with each file returning its URL, size, dimensions, mimetype, and an optional previewUrl for outputs such as PDFs.