Skip to main content

CLI for all Novita AI APIs - LLM, images, video, audio, GPU, serverless

Project description

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

# 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 upscale Image upscaling (async)
novita image remove-bg Background removal (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
novita audio asr Speech-to-text
novita account balance Account balance
novita account billing Monthly billing
novita task status Check async task
novita task wait Wait for async task
novita batch Batch processing
novita gpu GPU instance management
novita template GPU templates
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

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cnovita-0.2.0.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cnovita-0.2.0-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file cnovita-0.2.0.tar.gz.

File metadata

  • Download URL: cnovita-0.2.0.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for cnovita-0.2.0.tar.gz
Algorithm Hash digest
SHA256 43296307e1faaf06ea6e23bbe0f2204c4d0a6aff513fec0515f05df353045f3f
MD5 aec6e9752fc11b7c061113964c959476
BLAKE2b-256 1b31593ee9a70acc1390e98328498fc65b5aca27f5302e02c94ae40ccb797511

See more details on using hashes here.

File details

Details for the file cnovita-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cnovita-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for cnovita-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b20940322ed4d944bf4e01b3e37aa058e2b91268c538cf253888364f1ca56be0
MD5 2646cd477b770aab6f5ef3854a558e5b
BLAKE2b-256 b1633a489e6d1e41f1ece964db4fe50e8cafb328f31cc77114ebd92b869b3074

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page