Image: Text-to-Image

z-image-base (budget)

Generate images from text using Z Image Base model. Input: text prompt. Output: image. Use for: baseline image generation.

post/api/v1/z-image-base

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/z-image-base
  • 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'16:9' | '9:16' | '1:1' | '3:4' | '4:3' | '21:9' | '9:21'
image_urlstring uri nullable
strengthnumber
webhook_urlstring uri nullable

Response

Successful Response

unknown required

Changes

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