Share you models, textual inversions, hypernetworks, aesthetic gradients, VAEs, and any other crazy stuff people do to customize their AI generations.
- DB: Prisma + Postgres
- API: tRPC
- Front-end + Back-end: NextJS
- UI Kit: Mantine
- Storage: Cloudflare
- Hosting: Railway
- Browse Models
- Name, tags, downloads, favorites
- Interacting with Models
- Name
- Trained Words (a list of words that this model knows)
- Description
- Type (Model, Textual Inversion)
- Example Images
- Versions
- Name
- Changelog/Description/Notes
- Training Images (optional)
- Training Steps
- Download (Tracked)
- Tag (Completely open)
- Reviews
- Version
- Images Attachments
- Text Review
- Rate (Star system 1-5)
To get a local copy up and running follow these simple example steps.
We recommend you have installed nvm
in order to set the right node version to run this project
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
- Clone the repo
git clone https://github.com/civitai/civitai.git
- Install NPM packages
npm install
- Config your env vars
cp .env-example .env
npm run dev # Start the dev environment
npm run db:migrate -- --name migration-name # Create a database migration with prisma after updating the schema
npm run db:generate # Generates local prisma client
npm run db:ui # Start Prisma Studio to manage the database content
npm run build # Build the NextJS project
Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -am 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Apache License 2.0 - Please have a look at the LICENSE for more details.