Back to catalogue

Image Generation

High-quality image generation with configurable size, quality, background, and output format.

mainnet Default model: gpt-image-1.5JPEG, PNG, or WebP outputBackground and quality controlsMainnet only

1 endpoint available

Click any endpoint to see details, example requests, and try it live with your Freighter wallet.

POST /image/generate
mainnet $0.10 USD

Prompt-to-image generation that returns a base64-encoded image payload.

request
{
  "prompt": "A cinematic satellite view of a storm front above the Atlantic, premium editorial style",
  "size": "1536x1024",
  "quality": "high",
  "output_format": "jpeg"
}
  • prompt: string
  • size?: auto | 1024x1024 | 1536x1024 | 1024x1536
  • quality?: auto | low | medium | high
  • background?: auto | opaque | transparent
  • output_format?: jpeg | png | webp
  • moderation?: auto | low