cURL
curl --request POST \ --url https://api.pictify.io/templates/{uid}/render \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "variables": {}, "format": "png", "quality": 0.9 } '
{ "url": "https://cdn.pictify.io/renders/abc123.png", "userStorageUrl": "<string>", "id": "img_abc123", "createdAt": "2023-11-07T05:31:56Z" }
Generate an image from a template with variables
API key obtained from the Pictify dashboard
png
jpeg
webp
pdf
0.1 <= x <= 1
Template rendered
URL of the generated image
"https://cdn.pictify.io/renders/abc123.png"
URL in user's configured storage (if configured)
Unique image identifier
"img_abc123"
Timestamp when image was created