Skip to main content

What You Need

Before you send a generate request, you need two things:
  1. A Pixy designId
  2. One or more element id values for the parts you want to change

Find A Design ID

Open the design or template in Pixy, then use the Copy design id action in the editor.

Open Pixy

Open the Pixy dashboard and choose the design or template you want to use.
Use that ID in the request URL:
POST /api/v1/{designId}/generate

Find Element IDs

Once the design is open in the editor, select the element you want to modify and use Copy element id. Typical targets include:
Use these when you want to change text content, fill color, or stroke color.Text element placeholder
Use these when you want to swap the source image, or change stroke color.Image element placeholder
Use these when you want to change fill or stroke color.Shape element placeholder

Supported Modifications

Review the full Modifications guide for the supported fields, examples, and combinations.

What Happens Next

Pixy renders the design and returns one or more generated image URLs:
{
  "urls": [
    "https://assets.example.com/generated/design-output-1.png"
  ]
}