Skip to main content
POST
Mystic LoRA Styles - Train custom style

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Body

application/json
name
string
required

Name of the LoRA style. This name will be used to identify the style in the system.

Pattern: ^[a-zA-Z0-9-_]+$
quality
enum<string>
required

Quality of the LoRA style

Available options:
medium,
high,
ultra
images
string<uri>[]
required

List of images to train the LoRA style

Required array length: 6 - 20 elements

Url of the image to train the LoRA style

description
string

Description of the LoRA style

webhook_url
string<uri>

Webhook URL to notify the user when the task is completed

Response

OK - The request has succeeded and the style is processing

data
object
required
Example: