Skip to content

Instantly share code, notes, and snippets.

@ImmarKarim
ImmarKarim / novita-images.sh
Created October 3, 2025 16:52
startup command for images on novita
#!/bin/bash
set -euo pipefail
apt-get update
apt-get install libmagic-dev -y
apt-get install libmagic1 -y
export COMFYUI_API_BASE=${COMFYUI_API_BASE:-http://127.0.0.1:8188}
export BACKEND=${BACKEND:-comfyui-json}
export MODEL_SERVER_URL=${MODEL_SERVER_URL:-http://localhost:8000}