Skip to main content

Lora

How to Get the Model ID for Lora

The structure related to Lora is as follows:

{
"lora": {
"items": [
{
"loraModel": "661652545330040294",
"weight": 1.1
}
]
}
}

Put fields into the request Example:

{
"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
}
]
}
}
}
]
}