Image: Text-to-Image

muse-image-text-to-image (budget)

Generate images from text using Meta Muse Image. Input: prompt, aspect_ratio, output_format. Output: image. Use for: fast, low-cost text-to-image generation.

post/api/v1/muse-image-text-to-image

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/muse-image-text-to-image
  • 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'1:1' | '16:9' | '9:16' | '4:3' | '3:4' | '21:9'
output_format'webp' | 'png' | 'jpeg'
webhook_urlstring uri nullable

Response

Successful Response

unknown required

Changes

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