Image: Text-to-Image

flux-dev (balanced)

Generate high-quality images from text prompts using Flux Dev. Input: text prompt. Output: image. Use for: text-to-image generation, creative visuals, detailed illustrations, photorealistic renders.

post/api/v1/flux-dev-image

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/flux-dev-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
webhook_urlstring uri nullable
widthinteger
heightinteger
num_images1 | 2 | 3 | 4
syncboolean

Response

Successful Response

unknown required

Changes

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