Flux-Lora-Training(训练Lora)
POST
/302/submit/flux-lora-training用于图片生成,可训练自己的lora
平均运行时长10s
价格:3 PTC/次
请求参数
URL to zip archive with images. Try to use at least 4 images in general the more the better.
In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.
Trigger word to be used in the captions. If None, a trigger word will not be used. If no captions are provide the trigger_word will be used instead of captions. If captions are the trigger word will not be used.
If True, the training will be for a style. This will deactivate segmentation, captioning and will use trigger word instead. Use the trigger word to specify the style.
If True segmentation masks will be used in the weight the training loss. For people a face mask is used if possible. Default value: true
{
"images_data_url": "https://xxx.com/xxx.zip",
"create_masks": true,
"is_style": false,
"trigger_word": "aa"
}
示例代码
返回响应
{
"diffusers_lora_file": {
"url": "",
"file_size": 1
},
"config_file": {
"url": "",
"file_size": 1
}
}