Image: Text-to-Image

flux-2-dev (balanced)

Generate 4MP images from text using Flux 2 Dev with multi-reference input (up to 10 images). Input: text prompt, optional reference images. Output: high-resolution image. Use for: professional image generation, brand consistency, style reference.

post/api/v1/flux-2-dev

Request

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

Response

Successful Response

unknown required

Changes

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