Image: Text-to-Image

Flux Lora Trainer

post/api/v1/flux-lora-trainer

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/flux-lora-trainer
  • 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

images_data_urlstring uri required

URL of a .zip archive containing 10-50 training images (and optional caption .txt files matched by filename).

trigger_phrasestring nullable

A unique word or phrase that triggers the trained concept at inference time. If captions in the zip contain [trigger], it is replaced with this value.

training_style'subject' | 'style'

What the LoRA learns: 'subject' (a person/character/object) or 'style' (an aesthetic).

webhook_urlstring uri nullable

Response

Successful Response

unknown required

Changes

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