Skip to main content

CLI to interact with the neets.ai API

Project description

Neets API CLI

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

Configuration

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

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

neets-0.0.1.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

neets-0.0.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file neets-0.0.1.tar.gz.

File metadata

  • Download URL: neets-0.0.1.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for neets-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2dea2f35cfd39d9786a9b4048a03170794d52260872e19ebf1d8783ed5c2be41
MD5 da3ff4be7f799141107704804c233251
BLAKE2b-256 542023ae97d56d3bd9fc9db2464426ba7562a33c982bac7ad72bb0b86f9cf293

See more details on using hashes here.

File details

Details for the file neets-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: neets-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for neets-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9bd4a971d1496c0f7f2bbdecf2c42716e637837cea796b23e960a53d6bfe42c9
MD5 71af114565203e3fe63375181f1223fc
BLAKE2b-256 b7b7acef72650a38e90a4cc8c637ef1d367d514ff48df23a3f18729e7e88b4b2

See more details on using hashes here.

Supported by

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