Train a custom style (LoRA)
Styles
Train a custom style (LoRA)
Train a custom style (LoRA) with simplified parameters. Uses intelligent defaults based on the training type (Default/Style/Object/Character).
POST
Train a custom style (LoRA)
Trained styles are private and only usable by the API user that created them. To allow other workspace members to use the style, share it with the workspace using
POST /styles/{id}/share/workspace.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
URL to receive a POST request when the job completes. The webhook will receive the job data including results.
Body
application/json
- Option 1
- Option 2
Available options:
flux_dev, flux_schnell, wan, wan22 Available options:
Style, Object, Character, Default Required range:
1 <= x <= 2000Required range:
x >= 1Response
Training job created successfully. The job will be in a pending state until completed. Use /jobs/{id} to check progress.