All models

GPT Image 2.6 Sunburst

openai/gpt-image-2.6-sunburst

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "openai/gpt-image-2.6-sunburst",
    "prompt": "<your prompt>"
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "openai/gpt-image-2.6-sunburst", "prompt": "<your prompt>"}'

Examples

example

Parameters

Input
prompt string required

Text prompt describing the image to generate or edit

background string optional

Background transparency setting. Use transparent for images with no background, opaque for a solid background, or auto to let the model decide.

images array optional

Input images for image editing, 1-16 entries. Each entry is base64-encoded (raw string or data:image/{png|jpeg|webp};base64,... URI). Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

moderation string optional

Content moderation level. Use low for less restrictive filtering, or auto for the default.

output_compression integer optional

Compression level from 0 to 100 for webp and jpeg output

output_format string optional

Output format for the generated image. Use gif for an animated GIF.

quality string optional

Quality of the generated image

size string optional

Size of the generated image.

Output