Tavotto
AI drew your research figure. Tavotto makes it publication-ready: edit matplotlib figures on a canvas, lay out in mm, check journal rules. Free, open source.
翻譯準備中
探索數千個免費 Stable Diffusion 與 Flux 模型,創建並分享 AI 生成的藝術,加入全球最大的生成式 AI 創作者社群。
AI 翻譯
Explore thousands of free Stable Diffusion & Flux models, create and share AI-generated art, and join the world's largest community of generative AI creators.
設計TypeScript · SvelteGitHub @civitai上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證模型、文本反轉等的資料庫
AI 翻譯
A repository of models, textual inversions, and more
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Our goal with this project is to create a platform where people can share their stable diffusion models (textual inversions, hypernetworks, aesthetic
gradients, VAEs, and any other crazy stuff people do to customize their AI generations), collaborate with others to improve them, and learn from each
other's work. The platform allows users to create an account, upload their models, and browse models that have been shared by others. Users can also
leave comments and feedback on each other's models to facilitate collaboration and knowledge sharing.檢視完整 README ↗Our goal with this project is to create a platform where people can share their stable diffusion models (textual inversions, hypernetworks, aesthetic gradients, VAEs, and any other crazy stuff people do to customize their AI generations), collaborate with others to improve them, and learn from each other's work. The platform allows users to create an account, upload their models, and browse models that have been shared by others. Users can also leave comments and feedback on each other's models to facilitate collaboration and knowledge sharing.
We've built this project using a combination of modern web technologies, including Next.js for the frontend, TRPC for the API, and Prisma + Postgres for the database. By leveraging these tools, we've been able to create a scalable and maintainable platform that is both user-friendly and powerful.
docker compose, not the
retired hyphenated docker-compose). The database, Redis, MinIO, Meilisearch,
ClickHouse and the mail catcher all run as containers.24.22.1. Not "20 or later" — package.json declares
engines.node: ">=24.0.0 <25". The exact version lives in .nvmrc;
CI installs that file's version and the production image is built on the same
one, so nvm use (or any tool that reads .nvmrc) is the right way to get it.
Note that nothing stops you: pnpm install only prints
WARN Unsupported engine and carries on, so the wrong major surfaces later as
odd test failures rather than as a refusal at install time.npm install
exits 1 via the preinstall only-allow pnpm hook. corepack enable will
pick up the packageManager field for you.git clone https://github.com/civitai/civitai.git
cd civitai
nvm use # reads .nvmrc -> 24.22.1
corepack enable
git submodule update --init event-engine-common
cp .env-example .env.development
docker compose -f docker-compose.base.yml up -d
pnpm install
pnpm dev
Optional, and not the supported default. The standard setup above is what the project expects and what CI builds; nothing in the repo requires Nix, and you can ignore this section entirely. It exists because NixOS cannot use Prisma's published engines (there is no
linux-nixosbuild), so a flake is the practical way to work on this repo there. If you are not on NixOS and not already a flakes user, skip it.
The flake owns the toolchain, so you do not install Node or pnpm yourself:
git clone https://github.com/civitai/civitai.git
cd civitai
nix run .#dev
That single command checks Docker is usable, checks out the
event-engine-common submodule, creates .env.development from .env-example
if you do not already have one, starts the container stack, waits for Postgres,
runs pnpm install, and then starts the dev server on
http://localhost:3000. Every step is idempotent — it is
safe to re-run in a checkout that already works, and it will not overwrite your
.env.development or touch your data.
Useful variants:
nix run .#dev -- --no-start # bootstrap only, leave the services running
nix run .#dev -- --full # also start the signals/buzz containers (see below)
nix run .#doctor # check the flake's pins against the repo
nix flake check # the same checks, plus their own self-test
For an interactive shell with the same toolchain, use nix develop, or copy
.envrc.example to .envrc and run direnv allow to get it
automatically on cd.
⚠️ Known out of step:
.devcontainer/public/docker-compose.ymlpinsmcr.microsoft.com/devcontainers/typescript-node:1-22, i.e. Node 22, which is outside this repo'sengines.noderange.pnpm installwill warn rather than stop, so the container comes up and then misbehaves in ways that look like your branch. There is no1-24tag (the template major moved on);3-24is the closest equivalent. Not changed here because it could not be exercised.
⚠️ Important Warning for Windows Users: Either clone this repo onto a WSL volume, or use the "clone repository in named container volume" command. Otherwise, you will see performance issues.
Dev Containers: Open Folder in Container.devcontainer/devcontainer.json file, and click "Create devcontainer and mount sources"make rundocker-compose.base.yml holds everything a contributor needs (and is also what
nix run .#dev starts). The extra services in docker-compose.yml
(signals, buzz) come from private ghcr.io images, so they only work for
internal members:
read:packagesCR_PATecho $CR_PAT | docker login ghcr.io -u USERNAME --password-stdindocker compose up -d (or, with the flake, nix run .#dev -- --full).env.development. Most defaults work out of the box; these do not:
minioadmin) — note it is port 9001, port 9000 is the S3 API itself —
go to "Access Keys", click "Create Access Key", and copy the key and secret
into S3_UPLOAD_KEY / S3_UPLOAD_SECRET and S3_IMAGE_UPLOAD_KEY /
S3_IMAGE_UPLOAD_SECRET.WEBHOOK_TOKEN — any random string; it authenticates requests to the
webhook endpoint.make run-migrations
make reseed
Please report any issues with these commands to us on discord.
* Note that account creation will run emails through Mailpit, which can be accessed at http://localhost:1080.
PGPASSWORD=postgres psql -h localhost -p 15432 -U postgres civitai)isModerator to trueServices that require external input will currently not work locally. These include:
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!
If you would like to be more involved, consider joining the Community Development Team! For more information on the team as well as how to join, see Calling All Developers: Join Civitai's Community Development Team.
Over the course of development, you may need to change the structure of the database. To do this:
packages/civitai-db-schema/prisma/schema.full.prisma file.
Not schema.prisma — that one is gitignored and regenerated from
schema.full.prisma by scripts/generate-slim-schema.js on every
pnpm run db:generate, so edits to it are silently overwritten.pnpm run db:migrate:empty "brief description here". This creates
packages/civitai-db-schema/prisma/migrations/YYYYMMDDHHmmss_brief_description_here/migration.sql
for you, in the one directory Prisma reads.
To create it by hand instead, use that same path — not the prisma/migrations
directory at the repo root, which predates the monorepo layout and is no longer read.migration.sql
ALTER TABLE ...make run-migrations and make gen-prismagen_seed.ts file up to date with these changes.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.