Image: Text-to-Image

gpt-image-1.5 (best)

Generate high-quality images from text using GPT Image 1.5. Input: text prompt. Output: image. Use for: OpenAI image generation, detailed realistic images.

post/api/v1/gpt-image-1.5

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/gpt-image-1.5
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (client credentials, token URL https://api.muapi.ai/oauth/token)

Query parameters

webhookstring
team_idinteger nullable

Headers

x-api-keystring
x-embed-codestring nullable
x-agent-embed-codestring nullable
x-whitelabel-studiostring nullable
authorizationstring nullable

Request body

promptstring nullable required
aspect_ratio'1:1' | '2:3' | '3:2'
quality'low' | 'medium' | 'high'
webhook_urlstring uri nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.