
AI image creation
Text-to-image, reference edits, aspect ratios and quick styles. Billed per generation.
- Text → Image
- Reference / edit
- API key wallet
Resources
Stali Studio for local AI image/video creation, plus stali-cli to connect apps to the API.
Desktop app
All-in-one desktop app: paste your Stali API key, pay from wallet balance, export media locally.

Text-to-image, reference edits, aspect ratios and quick styles. Billed per generation.

Image-to-video with Seedance, speed presets, aspect ratios, and 720p/1080p output.
Install
One-liner and npm download links. stali-router is a legacy alias that forwards to stali-cli.
curl -fsSL https://api.stali.vn/install/stali-cli.sh | bashirm https://api.stali.vn/install/stali-cli.ps1 | iexOfficial CLI for Claude Code, Codex, OpenClaw, Cline… Requires Node.js ≥ 18.
npm install -g stali-cli@latest
Legacy installer (StaliRouter / 9Router). Still works — redirects to stali-cli.
Prefer stali-cli. Router links below keep old commands working.
# macOS / Linux curl -fsSL https://api.stali.vn/install/stalirouter.sh | bash # Windows PowerShell irm https://api.stali.vn/install/stalirouter.ps1 | iex
Install and configure the CLI to connect Claude Code, Cursor, OpenClaw, and other apps.
Also known as: wizard · api-cli
stali-cli: install the configuration tool and check app connections.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
See notes / depends on the protocolThis app has exceptions — read Notes below before pasting.
Recommended model: claude-fable-5
# Recommended — same on Win / macOS/Linux
npm install -g stali-cli@latest
# Open the wizard — paste the API key when prompted
stali
# Or configure a specific app
stali configure claude -m claude-fable-5
stali configure codex -m gpt-5.6-sol
stali configure openclaw
stali configure clineFile created by stali-cli (chmod 0600). Contains the saved API key and base URL. Do not commit this file to Git.
Same as macOS. Check: ls -la ~/.stali/config.json
PowerShell: notepad $env:USERPROFILE\.stali\config.json Edit only if you understand the settings — prefer stali auth login / stali -k '…'.
| Symptom | Reason | How to handle |
|---|---|---|
| npm install -g reports EACCES / permission errors | No permission to write to the global npm prefix. | Use nvm/fnm or configure a user-level npm prefix; avoid sudo unless you understand the risks. |
| doctor reports that the tool is not configured | The app is not installed, or its old configuration has not been patched. | `stali configure <tool> -k '…'` or `stali doctor --fix`. |