cnovita
CLI for all Novita AI APIs — LLM chat, images, video, audio, GPU instances, serverless endpoints, and more.
Install
pip install cnovita
Setup
export NOVITA_API_KEY="your-key-here"
Quick Start
# Chat with LLM
novita chat "What is Python?" -m deepseek/deepseek-v3-0324
# Generate an image
novita image flux "a sunset over mountains" -W 512 -H 512
# Image editing
novita image reimagine photo.jpg -o reimagined.png
novita image remove-bg photo.jpg -o clean.png
novita image to-prompt photo.jpg
# Text to speech
novita audio tts "Hello world" --voice Calm_Woman -o hello.mp3
# Speech to text
novita audio asr recording.wav
# List GPU products
novita gpu products
# Check account balance
novita account balance
Command Groups
| Command | Description |
|---|---|
novita chat |
LLM chat completion (streaming) |
novita complete |
Text completion |
novita embed |
Text embeddings |
novita rerank |
Document reranking |
novita models |
List/get models |
novita image generate |
Stable Diffusion txt2img (async) |
novita image flux |
FLUX.1 Schnell (sync) |
novita image img2img |
Image-to-image generation (async) |
novita image inpainting |
Inpaint masked regions (async) |
novita image upscale |
Image upscaling (async) |
novita image remove-bg |
Background removal (sync) |
novita image replace-bg |
Background replacement (async) |
novita image reimagine |
Reimagine an image (sync) |
novita image cleanup |
Erase masked region (sync) |
novita image outpainting |
Extend image borders (sync) |
novita image remove-text |
Remove text from image (sync) |
novita image to-prompt |
Image to text description (sync) |
novita image merge-face |
Face merging (sync) |
novita video generate |
Text-to-video (async) |
novita video from-image |
Image-to-video (async) |
novita video hunyuan |
Hunyuan video (async) |
novita audio tts |
Text-to-speech (MiniMax) |
novita audio glm-tts |
Text-to-speech (GLM) |
novita audio asr |
Speech-to-text |
novita audio voice-clone |
Voice cloning (MiniMax) |
novita account balance |
Account balance |
novita account billing |
Monthly billing |
novita account usage-billing |
Usage-based billing |
novita account fixed-billing |
Fixed-term billing |
novita task status |
Check async task |
novita task wait |
Wait for async task |
novita batch |
Batch processing |
novita files |
File management (upload/list/get/delete) |
novita gpu |
GPU instance management |
novita gpu clusters |
List data centers |
novita template |
GPU templates (CRUD) |
novita storage |
Network storage management |
novita serverless |
Serverless endpoints |
JSON Output
Add --json-output for machine-readable output:
novita --json-output chat "Hello" --no-stream
novita --json-output models list
novita --json-output account balance
Changelog
See CHANGELOG.md for release history.
License
MIT
Metadata
Release files for cnovita 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cnovita-0.3.0.tar.gz | 33.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cnovita-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.1 kB
Release files / cnovita-0.3.0.tar.gz
| Download URL | cnovita-0.3.0.tar.gz |
|---|---|
| Size | 33.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9693346fb76f4dbb39295ae3d7b4426b99e5b904700200579cf7998df6a74390
|
|
BLAKE2b-256 checksum How to use checksums |
f005fd55ce39c9870b57e736407575535fb18ea8fb1c63a342dfc91acbcaf1d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / cnovita-0.3.0-py3-none-any.whl
| Download URL | cnovita-0.3.0-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1a325c6e4af96c58fb2159c1e37c728314684ffc58d22bfffc8379d732c20f7
|
|
BLAKE2b-256 checksum How to use checksums |
c03dcaca2493ae74e3a6e943185e580651362f797438b5793ca24635aee4a85e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|