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

Examples

example
example
example
example
example

Parameters

Input
prompt string required

Text prompt describing the image to generate or edit

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

quality string optional

Quality of the generated image

size string optional

Size of the generated image

style string optional

Style of the generated image

Output
image: URL to the generated image