All models

GPT Image 1.5

openai/gpt-image-1.5
OpenAI Image GenerationImage EditingMultimodal

OpenAI's image generation model that creates and edits images from text prompts, supporting multiple quality levels and output sizes.

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-1.5",
    "prompt": <string>
  }'

# 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-1.5", "prompt": "<string>"}'

Examples

example
example
example
example
example

Parameters

Input
images array

Input images for image editing, 1-16 entries. Each entry is base64-encoded (raw string or data:image/{png|jpeg|webp};base64,... URI).

prompt string required

Text prompt describing the image to generate or edit

quality string

Quality of the generated image

size string

Size of the generated image

style string

Style of the generated image

Output
image: URL to the generated image