Other

z-image-turbo-text-to-image-lora

Generate photorealistic images ultra-fast with external LoRAs using Z-Image-Turbo LoRA. Input: text prompt, optional LoRAs list. Output: image. Use for: sub-second text-to-image generation with custom LoRA styles.

post/api/v1/z-image-turbo-text-to-image-lora

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/z-image-turbo-text-to-image-lora
  • 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

The positive prompt for the generation.

lorasobject[] nullable

List of LoRAs to apply (maximum 3). Example: [{'path': '...', 'scale': 1.0}]

aspect_ratio'1:1' | '16:9' | '9:16' | '3:2' | '2:3' | '4:3' | '3:4' | '21:9' | '9:21' nullable

Output image aspect ratio. Mapped to size (width*height).

seedinteger nullable

Random seed (-1 for random).

output_format'jpeg' | 'png' | 'webp' nullable

Output image format.

webhook_urlstring uri nullable

Response

Successful Response

unknown required

Changes

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