Civit AI

This page will tell you how you can download models from Civit AI to use with our pipelines

You can use any .safetensors or checkpoint files with our inference pipelines. Civit AI is the world's largest collection of Stable Diffusion models, and you can use any of it's safetensors/checkpoint models. To download a model from Civit AI, you can download it from the website, or you can use our integration to download it directly to your codebase like such:

from auto1111sdk import civit_download

civit_download("<URL OF CIVIT MODEL>", "<LOCAL PATH TO FILE HERE>")

For the URL of the Civit Model, simply input the URL of the Civit model from the website. If you are using a specific older version model, make sure that you use the URL with the modelID. Otherwise, the civit downloader will download the most recent version of the model. Here is an example demonstrating how you can download dreamshaper-v7:

civit_download("https://civitai.com/models/4384?modelVersionId=109123", "dreamshaper.safetensors")

The local file you save it to must be a .safetensors file. After this, you can simply input this path ("dreamshaper.safetensors") into our pipelines and use it for inference.

Last updated