This is a server to use voicepeak as api.
By using openAI's API, emotions, voice pitch, and speed are automatically adjusted.
voicepeaky4gpt -k [OpenAI Key] -s -n "Japanese Female Child"
Option is below.
Option | Description | Default | Required |
---|---|---|---|
-k,--key | Open AI key | - | true |
-m,--model | Open AI model(gpt-3.5-turbo, gpt-4) | gpt-3.5-turbo | false |
-p,--port | specify the port you want to serve | 8080 | false |
-s,--skip | skip old text when new text is requested | - | false |
-n,--narrator*1 | specify the narrator("Japanese Male Child", etc.) | - | false |
-t,--temperature | specify the temperature to pass Open AI API | 0 | false |
*1
Types of Narrators | Requirements |
---|---|
Japanese Male Child | VOICEPEAK 商用可能 ナレーター |
Japanese Female Child | VOICEPEAK 商用可能 6ナレーターセット |
Japanese Male 1 | VOICEPEAK 商用可能 6ナレーターセット |
Japanese Male 2 | VOICEPEAK 商用可能 6ナレーターセット |
Japanese Male 3 | VOICEPEAK 商用可能 6ナレーターセット |
Japanese Male 4 | VOICEPEAK 商用可能 ナレーター |
Japanese Female 1 | VOICEPEAK 商用可能 6ナレーターセット |
Japanese Female 2 | VOICEPEAK 商用可能 6ナレーターセット |
Japanese Female 3 | VOICEPEAK 商用可能 6ナレーターセット |
Japanese Female 4 | VOICEPEAK 商用可能 ナレーター |
curl -X POST -H "Content-Type: application/json" -d '@sample.json' localhost:9999
RequestBody (JSON Format) is below. see a sample here.
Field | Type | Sample |
---|---|---|
- (parent) | JSONObject | - |
text | string | "こんにちは" |
# Install
brew install solaoi/tap/voicepeaky4gpt
# Update
brew upgrade voicepeaky4gpt
# Install with wget or curl
## set the latest version on releases.
VERSION=v1.0.0
## set the OS you use. (macos)
OS=linux
## case you use wget
wget https://github.com/solaoi/voicepeaky4gpt/releases/download/$VERSION/voicepeaky4gpt${OS}.tar.gz
## case you use curl
curl -LO https://github.com/voicepeaky4gpt/broly/releases/download/$VERSION/voicepeaky4gpt${OS}.tar.gz
## extract
tar xvf ./voicepeaky4gpt${OS}.tar.gz
## move it to a location in your $PATH, such as /usr/local/bin.
mv ./voicepeaky4gpt /usr/local/bin/
Voicepeak occasionally crashes; Voicepeaky GPT will automatically retry, but if an error popup appears, please close it.