Image: Text-to-Image

grok-imagine-text-to-image-quality

Generate images from text using Grok Imagine in quality mode (enable_pro=true). Input: text prompt, aspect ratio. Output: image. Use for: highest-fidelity Grok Imagine generations where accuracy matters more than speed.

post/api/v1/grok-imagine-text-to-image-quality

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/grok-imagine-text-to-image-quality
  • 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 required
aspect_ratio'9:16' | '16:9' | '2:3' | '3:2' | '1:1'
webhook_urlstring uri nullable

Response

Successful Response

unknown required

Changes

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