Skip to main content
POST
LoRAs training for custom characters

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 character. 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 character

Available options:
high,
ultra
gender
enum<string>
required
Available options:
male,
female,
neutral,
custom
images
string<uri>[]
required

List of images to train the LoRA character

Required array length: 8 - 20 elements

Url of the image to train the LoRA character

description
string

Description of the LoRA character

webhook_url
string<uri>

Webhook URL to notify the user when the task is completed

Response

OK - The request has succeeded and the character is processing

data
object
required
Example: