跳到主要内容

GET-loar

获取 loar 模型

获取有哪些 loar 模型

success
  • URL/sdapi/v1/loras
  • MethodGET
  • 需要登录:否
  • 需要鉴权:是

请求参数

参数类型描述

成功响应

条件:存在 loar 模型

状态码:200 OK

响应示例:响应返回所有 loar 模型

:::

[
{
"name": "interior02_SDLife_Chiasedamme_v2.0",
"alias": "interior02_SDLife_Chiasedamme_v2.0",
"path": "D:\\Desktop\\stable-diffusion\\stable-diffusion-webui-windows\\models\\Lora\\interior02_SDLife_Chiasedamme_v2.0.safetensors",
"metadata": {
"ss_sd_model_name": "architecture_Interior_SDlife_Chiasedamme_V8.0.safetensors",
"ss_resolution": "(768, 768)",
"ss_clip_skip": "None",
"ss_num_train_images": "2160",
"ss_tag_frequency": {
"48_interior02 architecture": {
"interior02 architecture": 45
}
},
"ss_learning_rate": "0.0001",
"ss_num_epochs": "12",
"ss_network_alpha": "16.0",
"ss_max_token_length": "None",
"modelspec.resolution": "768x768",
"ss_v2": "False",
"ss_shuffle_caption": "False",
"ss_sd_model_hash": "f0e4fa9a",
"ss_reg_dataset_dirs": {},
"ss_optimizer": "bitsandbytes.optim.adamw.AdamW8bit",
"ss_num_batches_per_epoch": "540",
"ss_training_started_at": "1695006725.11778",
"ss_random_crop": "False",
"modelspec.date": "2023-09-18T11:27:17",
"ss_training_finished_at": "1695011237.89221",
"sshs_legacy_hash": "c6bd8f94",
"modelspec.sai_model_spec": "1.0.0",
"ss_session_id": "1836462696",
"ss_multires_noise_iterations": "None",
"ss_zero_terminal_snr": "False",
"ss_max_grad_norm": "1.0",
"ss_caption_dropout_rate": "0.0",
"ss_min_snr_gamma": "None",
"ss_text_encoder_lr": "5e-05",
"ss_color_aug": "False",
"ss_unet_lr": "0.0001",
"ss_dataset_dirs": {
"48_interior02 architecture": {
"n_repeats": 48,
"img_count": 45
}
},
"ss_new_sd_model_hash": "cd28826de2db604dc984309c5b229208f7d2cde182f6b5f7f214d03e53c969cb",
"ss_gradient_accumulation_steps": "1",
"ss_prior_loss_weight": "1.0",
"ss_caption_tag_dropout_rate": "0.0",
"ss_gradient_checkpointing": "False",
"ss_epoch": "12",
"ss_lr_scheduler": "cosine",
"ss_mixed_precision": "fp16",
"ss_cache_latents": "True",
"ss_face_crop_aug_range": "None",
"ss_batch_size_per_device": "4",
"ss_seed": "1397213995",
"ss_min_bucket_reso": "256",
"ss_keep_tokens": "0",
"ss_network_dim": "128",
"modelspec.implementation": "diffusers",
"modelspec.prediction_type": "epsilon",
"ss_max_bucket_reso": "2048",
"modelspec.architecture": "stable-diffusion-v1/lora",
"ss_lr_warmup_steps": "648",
"ss_lowram": "False",
"ss_multires_noise_discount": "0.3",
"sshs_model_hash": "a06590955343b7ae811b27534cc099e158746b305aa843cf79174974e356a4cc",
"ss_noise_offset": "0.0",
"ss_training_comment": "https://stablediffusion.life",
"ss_output_name": "interior02_SDLife_Chiasedamme_v2.0",
"ss_bucket_info": {
"buckets": {
"0": {
"resolution": [512, 960],
"count": 96
},
"1": {
"resolution": [576, 1024],
"count": 48
},
"2": {
"resolution": [704, 640],
"count": 144
},
"3": {
"resolution": [768, 640],
"count": 48
},
"4": {
"resolution": [832, 704],
"count": 48
},
"5": {
"resolution": [896, 512],
"count": 1584
},
"6": {
"resolution": [960, 576],
"count": 48
},
"7": {
"resolution": [1024, 576],
"count": 144
}
},
"mean_img_ar_error": 0.04149464646381378
},
"ss_steps": "6480",
"ss_num_reg_images": "0",
"ss_max_train_steps": "6480",
"modelspec.title": "interior02_SDLife_Chiasedamme_v2.0",
"ss_network_dropout": "None",
"ss_network_module": "networks.lora",
"ss_sd_scripts_commit_hash": "(unknown)",
"ss_bucket_no_upscale": "True",
"ss_flip_aug": "False",
"ss_full_fp16": "False",
"ss_total_batch_size": "4",
"ss_scale_weight_norms": "None",
"ss_base_model_version": "sd_v1",
"ss_adaptive_noise_scale": "None",
"ss_caption_dropout_every_n_epochs": "0",
"ss_enable_bucket": "True"
}
},
{
"name": "yjcf_yoga10-000039",
"alias": "yjcf_yoga10",
"path": "D:\\Desktop\\stable-diffusion\\stable-diffusion-webui-windows\\models\\Lora\\yjcf_yoga10-000039.safetensors",
"metadata": {
"ss_sd_model_name": "chilloutmix_NiPrunedFp32Fix.safetensors",
"ss_resolution": "(768, 512)",
"ss_clip_skip": "1",
"ss_num_train_images": "690",
"ss_tag_frequency": {
"10_yoga10": {
"yjcf_yujia": 33,
"no humans": 28,
"white mat": 30,
"mirror": 30,
"curtains": 16,
"window": 19,
"potted plant": 33,
"wooden floor": 29,
"pillar": 1,
"logo": 7,
"pillow": 48,
"ball": 26,
"black mat": 16,
"shelf": 24,
"towel": 14,
"moon": 2,
"sky": 6,
"draw": 5,
"door": 11,
"water pipe": 1,
"chinese text": 8,
"dumbbell": 3,
"kettlebell": 6,
"jar": 1,
"lamp": 2,
"ceiling light": 6,
"cylinder": 9,
"light bar": 2,
"english text": 3,
"night sky": 1,
"sculpture": 1,
"cup": 3,
"dumbbell,cylinder": 1,
"kettlebell,cylinder": 2,
"model decoration": 1,
"chair": 1
}
},
"ss_batch_size_per_device": "8",
"ss_bucket_info": {
"buckets": {
"0": {
"resolution": [512, 768],
"count": 160
},
"1": {
"resolution": [768, 512],
"count": 530
}
},
"mean_img_ar_error": 0.0002518045996306877
},
"ss_bucket_no_upscale": "False",
"ss_cache_latents": "True",
"ss_caption_dropout_every_n_epochs": "0",
"ss_caption_dropout_rate": "0.0",
"ss_caption_tag_dropout_rate": "0.0",
"ss_color_aug": "False",
"ss_dataset_dirs": {
"10_yoga10": {
"n_repeats": 10,
"img_count": 69
}
},
"ss_enable_bucket": "True",
"ss_epoch": "39",
"ss_face_crop_aug_range": "None",
"ss_flip_aug": "False",
"ss_full_fp16": "False",
"ss_gradient_accumulation_steps": "1",
"ss_gradient_checkpointing": "False",
"ss_keep_tokens": "0",
"ss_learning_rate": "5.625e-05",
"ss_lowram": "False",
"ss_lr_scheduler": "cosine_with_restarts",
"ss_lr_warmup_steps": "0",
"ss_max_bucket_reso": "1024",
"ss_max_grad_norm": "1.0",
"ss_max_token_length": "225",
"ss_max_train_steps": "3480",
"ss_min_bucket_reso": "256",
"ss_min_snr_gamma": "None",
"ss_mixed_precision": "fp16",
"ss_network_alpha": "64.0",
"ss_network_dim": "128",
"ss_network_module": "networks.lora",
"ss_new_sd_model_hash": "fc2511737a54c5e80b89ab03e0ab4b98d051ab187f92860f3cd664dc9d08b271",
"ss_noise_offset": "None",
"ss_num_batches_per_epoch": "87",
"ss_num_epochs": "40",
"ss_num_reg_images": "0",
"ss_optimizer": "lion_pytorch.lion_pytorch.Lion",
"ss_output_name": "yjcf_yoga10",
"ss_prior_loss_weight": "1.0",
"ss_random_crop": "False",
"ss_reg_dataset_dirs": {},
"ss_sd_model_hash": "95f8d0a7",
"ss_sd_scripts_commit_hash": "6d5f847edc7eaf858aa6fe060c68875b8da7392a",
"ss_seed": "1337",
"ss_session_id": "1095897239",
"ss_shuffle_caption": "True",
"ss_text_encoder_lr": "5.625e-06",
"ss_total_batch_size": "8",
"ss_training_comment": "None",
"ss_training_finished_at": "1685085451.2485723",
"ss_training_started_at": "1685081359.770927",
"ss_unet_lr": "5.625e-05",
"ss_v2": "False",
"sshs_legacy_hash": "fcd0d53b",
"sshs_model_hash": "afb0a36ecf96ab666d5097f017a1cfbefe9d637c45181e007529b9765c17b9d7"
}
}
]