Skip to content

solaoi/voicepeaky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voicepeaky

license GitHub release (latest by date) GitHub Sponsors MacOs

This is a server to use voicepeak as api.

For automatic adjustment of emotion, voice pitch, and speed, use Voicepeaky GPT.

Requirements

Usage

Serve

voicepeaky -p 9999 -s

Option is below.

Option Description Default Required
-p,--port specify the port you want to serve 8080 false
-s,--skip skip old text when new text is requested - false

Request

curl -X POST -H "Content-Type: application/json" -d '@sample.json' localhost:9999

RequestBody (JSON Format) is below. see a sample here.

Field Type Default Required
narrator string*1 "Japanese Female 1" false
emotion JSONObject - false
emotion/happy number(0 - 100) 0 false
emotion/fun number(0 - 100) 0 false
emotion/angry number(0 - 100) 0 false
emotion/sad number(0 - 100) 0 false
speed number(50 - 200) 100 false
pitch number(-300 - 300) 0 false
text string - true

*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 Male4 VOICEPEAK 商用可能 ナレーター
Japanese Female 1 VOICEPEAK 商用可能 6ナレーターセット
Japanese Female 2 VOICEPEAK 商用可能 6ナレーターセット
Japanese Female 3 VOICEPEAK 商用可能 6ナレーターセット
Japanese Female4 VOICEPEAK 商用可能 ナレーター

Install

1. Mac

# Install
brew install solaoi/tap/voicepeaky
# Update
brew upgrade voicepeaky

2. BinaryRelease

# Install with wget or curl
## set the latest version on releases.
VERSION=v1.0.5
## set the OS you use. (macos)
OS=linux
## case you use wget
wget https://github.com/solaoi/voicepeaky/releases/download/$VERSION/voicepeaky${OS}.tar.gz
## case you use curl
curl -LO https://github.com/voicepeaky/broly/releases/download/$VERSION/voicepeaky${OS}.tar.gz
## extract
tar xvf ./voicepeaky${OS}.tar.gz
## move it to a location in your $PATH, such as /usr/local/bin.
mv ./voicepeaky /usr/local/bin/

3. Nimble

# Install & Update
nimble install voicepeaky

Note

Voicepeak occasionally crashes; Voicepeaky will automatically retry, but if an error popup appears, please close it.