Détails
Recommandé
v1.0
Civitai Helper to A1111 Model Info

Civitai Helper to A1111 Model Info

0
0
0
#civitai
#outil

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!

Voir la traduction

Notes & Commentaires

-- /5
0 Notes

Pas encore reçu suffisamment d'évaluations ou de commentaires

no-data
Aucune donnée disponible
D
Deizor
258
2.2K
Annonce
2024-07-25
Publier un modèle
2023-09-04
Mettre à jour les informations du modèle
Détails du modèle
Type
Other
Temps de Publication
2023-09-04
Modèle Basique
Other
Périmètre de la licence
Source: civitai

1. Modèle partagé uniquement à l'apprentissage et au partage. Droits d'auteur et interprétation finale réservés à l'auteur original.

2. Auteur souhaitant revendiquer le modèle : Contactez officiellement SeaArt AI pour l'authentification. Nous protégeons les droits de chaque auteur. Cliquer pour revendiquer

Périmètre de la licence de création
Génération d'images en ligne
Effectuer une fusion
Autoriser le téléchargement
Périmètre de la licence de commerce
Les images générées peuvent être vendues ou utilisées à des fins commerciales
La revente ou la vente après fusion du modèle est autorisée.
QR Code
Télécharger l'App SeaArt
Poursuivez votre voyage de création AI sur mobile