Skip to main content

Base URL

https://api.pikzels.com

Get Your API Key

You need a Pikzels account to create an API key.
  1. Create an account or log in at app.pikzels.com/dashboard.
  2. Create an API key in your dashboard.
  3. API keys always start with pkz_.

Authentication

Send your API key in the X-Api-Key header. Use this as an example key (not valid):
X-Api-Key: pkz_example_a1b2c3d4e5f6

Make Your First Request

cURL
curl -X POST https://api.pikzels.com/v2/thumbnail/text \
  -H "X-Api-Key: pkz_example_a1b2c3d4e5f6" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "I bought my first island",
    "model": "pkz_4",
    "format": "16:9"
  }'
Response
{
  "output": "https://cdn.pikzels.com/example.png",
  "request_id": "a2f3..."
}