Skip to main content

Base URL

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):

Make Your First Request

cURL
Response
model is the model that actually generated the thumbnail. Prompts longer than 750 characters may be automatically shortened before generation; the response reports this via prompt_compacted.