Civitai Replicate Deploy Template
Cog template to deploy any CivitAI model on Replicate
Install / Use
npx skills add dhanushreddy291/civitai-replicate-deploy-templateInstalls into whichever agent you are using.
README
SDVN10-Anime Cog model
This is an implementation of the SDVN10-Anime as a Cog model. Cog packages machine learning models as standard containers.
You can use this template to deploy any CivitAI Stable Diffusion model to Replicate. Here's how:
Changing the Model
To use a different model from CivitAI:
- Find your desired model on CivitAI.
- Locate the "Download" button for the
safetensorsfile of the model. It's important to use thesafetensorsversion for compatibility and security. - Right-click the "Download" button and select "Copy Link Address". This will copy the direct download URL of the model file.

- Open the
predict.pyfile. - Find the line that defines the
MODEL_LINKvariable. It will look like this:MODEL_LINK = "https://civitai.com/api/download/models/286354?type=Model&format=SafeTensor&size=full&fp=fp16" - Replace the existing URL within the quotes with the link you copied from CivitAI. Make sure to keep the quotes. For example:
MODEL_LINK = "YOUR_COPIED_LINK_ADDRESS_HERE"
Setting Up and Running the Model
Install the Cog CLI:
Follow the instructions on the Cog documentation for installing the CLI. A common method is:
sudo curl -o /usr/local/bin/cog -L https://github.com/replicate/cog/releases/latest/download/cog_`uname -s`_`uname -m`
sudo chmod +x /usr/local/bin/cog
Install the requirements:
Navigate to the repository directory in your terminal and install the necessary Python packages:
pip install -r requirements.txt
Download the Pre-trained Weights:
This script will download the model specified by the MODEL_LINK in predict.py and the necessary VAE.
cog run script/download-weights
Run Predictions (Optional):
Once the weights are downloaded, you can run predictions using the cog predict command. Here's an example:
cog predict -i prompt="child boy, short hair, crew neck sweater, (masterpiece, best quality:1.6), ghibli, Sun in the sky, Rocky Mountain National Park, Charismatic"
Example Output

Deploying to Replicate
- Create a new model on replicate. Choose a name and visibility for your model.
- Push the model to Replicate using the cog push command. Replicate will provide you with the specific cog push command after you create the model on their platform. It will look something like:
cog push r8.im/YOUR_USERNAME/YOUR_MODEL_NAME
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Related Skills
dbx
13.6k20 MB lightweight cross-platform database client for 70+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker.
product
Cloud-agnostic Kubernetes infrastructure with Terraform & Helm for homelabs, edge, and production clusters.
ghidra-mcp
3.2kGhidra MCP Server — 200+ MCP tools for AI-powered reverse engineering. GUI plugin + headless server, lazy tool loading, convention enforcement, batch operations, Ghidra Server integration, and Docker deployment.
radar
2.8kThe missing open-source Kubernetes UI with a built-in MCP server for AI agents. See what's broken, why, and what changed. Issues, Topology, event timeline, Helm, GitOps, live service traffic, and cluster audits - all in one Go binary.
Languages
Security Score
Audited on Apr 11, 2026
