https://github.com/notjoemartinez/neets-api-cli
CLI to interact with neets.ai Text To Speech and completions API
https://github.com/notjoemartinez/neets-api-cli
Last synced: 3 months ago
JSON representation
CLI to interact with neets.ai Text To Speech and completions API
- Host: GitHub
- URL: https://github.com/notjoemartinez/neets-api-cli
- Owner: NotJoeMartinez
- License: gpl-3.0
- Created: 2023-12-25T01:11:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T09:07:19.000Z (over 2 years ago)
- Last Synced: 2026-01-26T11:30:51.334Z (6 months ago)
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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=
```
## 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`