Detalhes
Recomendado
v1.0
Civitai Helper to A1111 Model Info

Civitai Helper to A1111 Model Info

0
0
0
#civitai
#ferramenta

Hi, i am using Civitai Web Helper since its launch but after 1.5 the extension is a bit abandoned and i am slowly transitioning to the base model info of Automatic1111 that can add activation words automatically to the prompt when you click on a Lora.

So i made an easy script that reads all the "civitai.info" files in the Lora folder and creates a json file for them that contains: activation text, SD base model and a prompt in the Notes.

Note: if a json already exists, the script just skips that. If the civitai file contains error or is empty, the script just skips that.

All you have to do is change the folder inside the script: input_folder = r"C:\Programs\stable-diffusion-webui\models\lora" to your lora folder and run the script. You can do it by double clicking it if you have py files connected to python or you can just open your cmd and type: python ConvertCivitaiInfoToJSON.py if you have the script in the folder you are on with CMD. After this you can start clicking on a Lora and the activation text is automatically added to the prompt.

You can run the script everytime you download a new file from civitai, just continue using civitai WebHelper to download the info, and run the script to convert the informations.

I could integrate this with civitai-WebHelper to make it more powerful but as of right now i don't have time to improve my python coding skills to do that, feel free to do it if you want ;)

Have Fun!

Ver tradução

Classificação e Avaliação

-- /5
0 classificação(ções)

Sem classificações ou avaliações suficientes

no-data
Sem dados
D
Deizor
256
2.1K
Anúncio
2024-07-25
Publicar Modelo
2023-09-04
Atualizar info do modelo
Detalhes do modelo
Tipo
Other
Tempo de Publicação
2023-09-04
Modelo básico
Other
Escopo da licença
Fonte: civitai

1. Os direitos dos modelos repostados pertencem aos criadores originais.

2. Criadores originais que desejam reivindicar seus modelos devem contatar a equipe do SeaArt AI pelos canais oficiais. Clique para reivindicar

Escopo da licença de criação
Transmissão ao vivo
Fusão
Permitir download
Licença comercial
Imagens geradas podem ser vendidas ou usadas para fins comerciais
Permitir revenda de modelos ou sua venda após a combinação
QR Code
Baixar App SeaArt
Continue sua jornada de criação com IA no celular