Skip to main content

Neets API CLI

CLI to interact with the neets.ai Text To Speech and completions API.

Installation

pip install neets

A neets.ai API key must be set as an environment variable.

export NEETS_API_KEY=<your api key>

Completions

Use the chat command to generate completions.

neets chat --prompt "How soon will I be unemployed?" 

By default, the chat command will use the Neets-7B model. you can specify a different model with the --model flag.

neets chat --prompt "why is the sky blue?" --model "mistralai/Mixtral-8X7B-Instruct-v0.1"

Text To Speech

Use the tts command to generate audio from text.

neets tts --voice "mark-zuckerberg" --text "I'm out here smoking some meats"
  • To get a list of available voices, use the voices command.
  • To specify an output file, use the --output-file flag.
  • To specify the output format, use the --output-fmt
  • The default output file is [voice]_uuid.[output-fmt] in the current directory.
  • The default output format is wav

Metadata

Release files for neets 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neets 0.0.4
File Size Uploaded
neets-0.0.4.tar.gz 17.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neets 0.0.4
File Interpreter ABI Platform
neets-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 35.5 kB

Release files / neets-0.0.4.tar.gz

Download URL neets-0.0.4.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fa82336f8bb899b6d06cf03ada5bf8d6438f9b23e5b154bad568fa1637e43ac8
BLAKE2b-256 checksum
How to use checksums
22b69d82e013ea2db92ff408aa1026a6d9f527821e2111b30017c6272e0a15c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / neets-0.0.4-py3-none-any.whl

Download URL neets-0.0.4-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d417ce6bfd5c45b83e5a149cbab90a0dcd40ca98a2a5980c0f5090cfcdd1df38
BLAKE2b-256 checksum
How to use checksums
5bce343f51de41b45848beca2d3c166dd3a6935a6353e9814d24dfc008989612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page