Documentation Index
Fetch the complete documentation index at: https://docs.znapai.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
Response
Image from base64 data

Parameters
Text description of the desired image. Maximum 32,000 characters.
Output image dimensions. Supports arbitrary
WIDTHxHEIGHT where both edges are multiples of 16, aspect ratio between 1:3 and 3:1, max edge 3840.Standard values: 1024x1024, 1536x1024, 1024x1536, autoImage quality level. Higher quality increases cost and latency.Allowed values:
low, medium, high, autoNumber of images to generate. Must be between
1 and 10.Format of the returned image.Allowed values:
png, jpegCompression level (0–100). Only applies when
output_format is jpeg.Background behavior for the generated image.Allowed values:
opaque, autoContent moderation strictness.Allowed values:
auto, lowStream partial images as they are generated. Use with
--no-buffer in curl.Number of partial images to emit during streaming. Value between
0 and 3. Only used when stream is true.Params to Never Send
| Param | Reason |
|---|---|
response_format: "url" | Returns empty response from Azure |
background: "transparent" | Not supported on Azure gpt-image-2 |
output_format: "webp" | Not supported on Azure gpt-image-2 |
style: "vivid" | dall-e-3 only |
