Image: Text-to-Image

midjourney-v7 (best)

Generate 4 photorealistic artistic images per run with Midjourney v7. Input: text prompt, optional reference image_url. Output: image. Use for: artistic image generation, painterly styles, concept art, fantasy images.

post/api/v1/midjourney-v7

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/midjourney-v7
  • 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' | '3:4' | '4:3' | '21:9'
image_urlstring uri nullable
stylizeinteger
chaosinteger
weirdinteger
negative_promptstring nullable
seedinteger nullable
webhook_urlstring uri nullable

Response

Successful Response

unknown required

Changes

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