Lora
LoRA相关的结构体如下:
{
"lora": {
"items": [
{
"loraModel": "661652545330040294",
"weight": 1.1
}
]
}
}
将结构体放入请求中 示例:
{
"requestId": "unique_key",
"stages": [
{
"type": "INPUT_INITIALIZE",
"inputInitialize": {
"seed": "-1",
"count": 1
}
},
{
"type": "DIFFUSION",
"diffusion": {
"width": 512,
"height": 768,
"prompts": [
{
"text": "1girl"
}
],
"negativePrompts": [
{
"text": "EasyNegative"
}
],
"sdModel": "613045163490732233",
"sdVae": "vae-ft-mse-840000-ema-pruned.ckpt",
"sampler": "Euler a",
"steps": 25,
"cfgScale": 7,
"clipSkip": 2,
"etaNoiseSeedDelta": 31337,
"lora": {
"items": [
{
"loraModel": "661652545330040294",
"weight": 1.1
}
]
}
}
}
]
}