Metadata-Version: 2.1
Name: neets
Version: 0.0.4
Summary: CLI to interact with the neets.ai API
Home-page: https://github.com/NotJoeMartinez/neets-api-cli
Author: NotJoeMartinez
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: certifi ==2023.11.17
Requires-Dist: charset-normalizer ==3.3.2
Requires-Dist: click ==8.1.7
Requires-Dist: idna ==3.6
Requires-Dist: markdown-it-py ==3.0.0
Requires-Dist: mdurl ==0.1.2
Requires-Dist: Pygments ==2.17.2
Requires-Dist: requests ==2.31.0
Requires-Dist: rich ==13.7.0
Requires-Dist: urllib3 ==2.1.0

# Neets API CLI 
CLI to interact with the [neets.ai](https://neets.ai/) Text To Speech 
and completions API. 

## Installation

```bash
pip install neets
```
A neets.ai API key must be set as an environment variable. 

```bash
export NEETS_API_KEY=<your api key>
```

## Completions 

Use the `chat` command to generate completions. 

```bash
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. 

```bash
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. 

```bash
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` 
