← All projects
Images & video

Civitai

The code behind Civitai, a website where people share and discuss custom image-making AI models.

New this week

What it does

This repository holds the source code for Civitai, a platform where people share customised Stable Diffusion models. Stable Diffusion is a popular AI that makes images from text.

On the platform, people create an account, upload their models, browse what others have shared and leave comments and feedback.

The code here is for developers who want to run or contribute to the site; it is built with common web technologies.

Who it's for

Web developers who want to contribute to or run a copy of the Civitai platform.

Can I use it without coding?

Developers only. Running this code needs Docker, Node.js and developer setup. New to this? Start here.

Can I run it?

Runs on
Server
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (Apache-2.0): Permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it