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.1.0.tar.gz (25.2 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.1.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cnovita-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6d7fcd14cdd70bcf0d16064b4a6ea9eef007c57b529ef5552d46db8af871cf39
MD5 0e176187280c1fe698cf04640ba3ca63
BLAKE2b-256 501da17c57418e245c5f2cb48d43030888affc24774b4266f286a235fda4e34a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cnovita-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7620ebd5777d6166b27db76120da38a0de065ddadfb6bbf5ecd119d2b9c0d5f7
MD5 b6ce8e1b072f7905b2e2d71105c57bb1
BLAKE2b-256 1765f822b48ce8c9117678ddb8e08da9b95c7946deb67505226b7748e91dd752

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