Image: Text-to-Image

flux-2-pro (best)

Generate ultra-high-quality 4MP images from text using Flux 2 Pro with excellent text rendering. Input: text prompt, up to 10 reference images. Output: 4MP image. Use for: commercial photography, marketing visuals, detailed text in images, product shots.

post/api/v1/flux-2-pro

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/flux-2-pro
  • 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
webhook_urlstring uri nullable
aspect_ratio'16:9' | '9:16' | '1:1' | '4:3' | '3:4' | '3:2' | '2:3'
resolution'1k' | '2k'

Response

Successful Response

unknown required

Changes

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