Resources

Tools

Stali Studio for local AI image/video creation, plus stali-cli to connect apps to the API.

Desktop app

Stali Studio — AI image & video

All-in-one desktop app: paste your Stali API key, pay from wallet balance, export media locally.

Stali Studio image creation interface

AI image creation

v2.5.0 Pro

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

  • Text → Image
  • Reference / edit
  • API key wallet
Tự động cập nhật khi có bản mớiHỗ trợ Windows 10/11 & macOS
Stali Studio video creation interface

AI video creation

v2.5.0 Pro

Image-to-video with Seedance, speed presets, aspect ratios, and 720p/1080p output.

  • Image → Video
  • 720p / 1080p
  • API key wallet
Tự động cập nhật khi có bản mớiHỗ trợ Windows 10/11 & macOS

Install

Download stali-cli & stali-router

One-liner and npm download links. stali-router is a legacy alias that forwards to stali-cli.

macOS / Linux (stali-cli)curl -fsSL https://api.stali.vn/install/stali-cli.sh | bash
Windows PowerShell (stali-cli)irm https://api.stali.vn/install/stali-cli.ps1 | iex

stali-router

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

stali-cli

Install and configure the CLI to connect Claude Code, Cursor, OpenClaw, and other apps.

Anthropic + OpenAIManual setup

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

Base URL to paste

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 protocol

This app has exceptions — read Notes below before pasting.

Prerequisites

  1. Node.js ≥ 18 (LTS recommended)
  2. An API key in the form sk-stali-… from Dashboard → Keys
  3. Write access to your home directory (to create ~/.stali and update app configuration)

Recommended model: claude-fable-5

Quick way — command / config

# 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 cline

Where to place file / fill Settings

Filemacos
~/.stali/config.json
File created by stali-cli (chmod 0600). Contains the saved API key and base URL.
Do not commit this file to Git.
Filelinux
~/.stali/config.json
Same as macOS. Check: ls -la ~/.stali/config.json
Filewindows
%USERPROFILE%\.stali\config.json
PowerShell: notepad $env:USERPROFILE\.stali\config.json
Edit only if you understand the settings — prefer stali auth login / stali -k '…'.

Verify connection

  1. Run `stali doctor` — installed tools should show that they point to Stali.
  2. Open Dashboard → Usage: a test chat command should create a charge entry.
  3. Run `stali info` to see the base URL in use.

Troubleshooting

SymptomReasonHow to handle
npm install -g reports EACCES / permission errorsNo 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 configuredThe app is not installed, or its old configuration has not been patched.`stali configure <tool> -k '…'` or `stali doctor --fix`.

Notes

  • Anthropic base URL: https://api.stali.vn — OpenAI: https://api.stali.vn/v1. stali-cli selects the appropriate URL for each tool.
  • Repo: https://github.com/ngocvu/stali-cli

Related

Claude Code · Codex CLI · OpenClaw · Cline

Zalo groupTelegram group