VoxStudio Docs
Download

Models

Neural engines such as Kokoro need model files. voxd downloads them on request, checks each file's SHA-256 against a known value, and keeps them in the app's data folder.

#Model object

FieldTypeDescription
idstringe.g. kokoro-v1
enginestringThe engine this model powers
name, tagline, descriptionstringDisplay text
license, license_url, homepagestringWhere the model comes from and its terms
size_bytesnumberTotal download size
languagesstring[]BCP-47 tags
voice_countnumberVoices included
featuredbooleanRecommended as a first download
statusstringnot_installed, downloading or installed
job_idstring | nullThe download job while downloading
kindstringtts (ready-made voices) or clone (speaks in voices you provide)
runtime_bytesnumberApproximate size of the separate engine runtime some models need (Chatterbox: PyTorch). 0 if none.
fit.levelstringgreat, ok or no, for this computer
fit.reasonstringWhy, e.g. "Needs 425 MB of free disk space"

#GET/v1/models

The whole catalog, with status and fit.

Terminal
curl -s "$VOX_URL/v1/models" -H "Authorization: Bearer $VOX_API_KEY"

#POST/v1/models/{id}/download

Starts a download job in the network lane, so it never delays speech generation. If a download for this model is already running, that job is returned instead of starting a second one.

  • Resumable: partial files are kept. If a download is cancelled, fails or is interrupted, the next attempt continues where it stopped (using HTTP Range).
  • Verified: every file's SHA-256 must match before it's used. A corrupted file is discarded and the job fails with a clear message.
  • Engine runtimes: models that need their own engine (such as Chatterbox's PyTorch) install it first, into an isolated environment. Removing the model removes that runtime too.
  • When it finishes, the engine becomes available right away and a models.changed event is sent.

Response 202: the download job. Errors: 404 not_found, 409 already_installed

Terminal
JOB=$(curl -s -X POST "$VOX_URL/v1/models/kokoro-v1/download" -H "Authorization: Bearer $VOX_API_KEY" | jq -r .id)
curl -sN "$VOX_URL/v1/jobs/$JOB/events" -H "Authorization: Bearer $VOX_API_KEY"
# event: progress
# data: {"progress": 0.17, "message": "Downloading 59 MB of 354 MB"}

#DELETE/v1/models/{id}

Deletes the model's files. Takes you made with it are kept.

Response 204. Errors: 404 not_found, 409 download_in_progress (cancel the download first)

#Downloading from a mirror

For offline installs or restricted networks, point voxd at your own server with the VOXD_MODEL_MIRROR environment variable. voxd then fetches // instead of the original URL. Checksums are still enforced.

Terminal
# Serve the files (layout: kokoro-v1/kokoro-v1.0.onnx, kokoro-v1/voices-v1.0.bin)
python3 -m http.server 8000 --directory /path/to/mirror
VOXD_MODEL_MIRROR=http://my-server:8000 uv run python -m voxd