zixaphir / Stable-Diffusion-Webui-Civitai-Helper

Stable Diffusion Webui Extension for Civitai, to manage your model much more easily.
175 stars 24 forks source link

Only the latest version of a model can be selected. #89

Closed JunJi-JiaYue closed 3 months ago

JunJi-JiaYue commented 3 months ago

In 924a6bb, only the latest version appears in the pull-down menu, even though multiple versions exist.

Civitai Helper: Getting model info by: https://civitai.com/models/353159/chacolebaramixxl
Civitai Helper: Run get_model_id_from_url
Civitai Helper: Request model info from civitai: 353159
Civitai Helper: Get subfolder for: C:\Users\Username\Documents\stable-diffusion-resources\models\ckpt
Civitai Helper: Got following info for downloading:
   model_name: 'ChacolEbaraMixXL'
   model_type: 'ckp'
   version_strs: ['v1.0b_411351']
   subfolders: ['/', '\\ani', '\\kohaku', '\\pony', '\\sd15']
   previews: {'v1.0b_411351': [{'url': 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/f315b1e3-00f8-4741-a522-53d25ba7c590/width: 450/8573035.jpeg', 'nsfwLevel': 1, 'width': 1344, 'height': 1016, 'hash': 'U8J@C8}s0L0yhf}@0e4:01XR~BIT: {%hxtn2', 'type': 'image'}, {'url': 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6929b1d4-1051-476c-a502-c469bfbca997/width: 450/8573041.jpeg', 'nsfwLevel': 1, 'width': 1016, 'height': 1344, 'hash': 'UCM%co%2PB%f~Bs:ELR*56xa: |IoE1t7?HM{', 'type': 'image'}, {'url': 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/662de3d3-859c-457c-b50d-baf46a4aab40/width: 450/8573039.jpeg', 'nsfwLevel': 1, 'width': 1016, 'height': 1344, 'hash': 'UAI#7N0M008w-p.8D%VrF|E1}txt~UI@IUxt', 'type': 'image'}, {'url': 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/b845cb6a-720f-4b73-83fe-53bb511ea7bb/width: 450/8573042.jpeg', 'nsfwLevel': 1, 'width': 1016, 'height': 1344, 'hash': 'UBN0SX-;y?kqJ5ni-: S201n%%~R**0f6vfoz', 'type': 'image'}, {'url': 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/551be95e-30bb-4838-b3b5-87a2744dcbd3/width: 450/8573036.jpeg', 'nsfwLevel': 2, 'width': 1016, 'height': 1344, 'hash': 'UQL4Tz~W?^S$S%R+I9nhIVE1adRjR*t6s:f+', 'type': 'image'}, {'url': 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/77a659bf-811d-4db0-af0f-54be85387e77/width: 450/8573034.jpeg', 'nsfwLevel': 4, 'width': 1016, 'height': 1344, 'hash': 'UBJ*0TKO00DN~9tlEM: a00jcV_?bcFMx-UOs', 'type': 'image'}, {'url': 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0ed8c86c-9479-413b-860a-4619c14cc258/width: 450/8573038.jpeg', 'nsfwLevel': 1, 'width': 1016, 'height': 1344, 'hash': 'UYG+Bn~p.7t7%LtQS1j[SzbE%2%2xtxa%1t7', 'type': 'image'}, {'url': 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d29a006d-6c31-4069-be5b-3dbea5ca1315/width: 450/8573037.jpeg', 'nsfwLevel': 4, 'width': 1016, 'height': 1344, 'hash': 'UCK,EjELMg^l{eAAn401NF0{rrt,9EGukqIo', 'type': 'image'}, {'url': 'https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/7db133b9-94f2-4821-a389-15121255bcc1/width: 450/8573040.jpeg', 'nsfwLevel': 1, 'width': 1344, 'height': 1016, 'hash': 'UBL:v9xu: s?G6XNd~Bt700NHk7NG18WD-TE2', 'type': 'image'}]}
zixaphir commented 3 months ago

This appears to be an issue on Civitai's side. I'm trying to find a solution but if the API no longer exposes other versions, there won't be much I can do.

zixaphir commented 3 months ago

Civitai service bug: https://github.com/civitai/civitai/issues/1100

zixaphir commented 3 months ago

seems to be fixed