-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #400 from TEN-framework/feat_minimax_tts
Feat minimax tts
- Loading branch information
Showing
16 changed files
with
1,269 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module minimax_tts | ||
|
||
go 1.20 | ||
|
||
replace ten_framework => ../../system/ten_runtime_go/interface | ||
|
||
require ( | ||
github.com/go-resty/resty/v2 v2.16.0 | ||
ten_framework v0.0.0-00010101000000-000000000000 | ||
) | ||
|
||
require golang.org/x/net v0.27.0 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
github.com/go-resty/resty/v2 v2.16.0 h1:qpKalHWI2bpp9BIKlyT8TYWEJXOk1NuKbfiT3RRnzWc= | ||
github.com/go-resty/resty/v2 v2.16.0/go.mod h1:0fHAoK7JoBy/Ch36N8VFeMsK7xQOHhvWaC3iOktwmIU= | ||
golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= | ||
golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= | ||
golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"type": "extension", | ||
"name": "minimax_tts", | ||
"version": "0.1.0", | ||
"dependencies": [ | ||
{ | ||
"type": "system", | ||
"name": "ten_runtime_go", | ||
"version": "0.3" | ||
} | ||
], | ||
"api": { | ||
"property": { | ||
"api_key": { | ||
"type": "string" | ||
}, | ||
"group_id": { | ||
"type": "string" | ||
}, | ||
"model": { | ||
"type": "string" | ||
}, | ||
"request_timeout_seconds": { | ||
"type": "int64" | ||
}, | ||
"sample_rate": { | ||
"type": "int64" | ||
}, | ||
"url": { | ||
"type": "string" | ||
}, | ||
"voice_id": { | ||
"type": "string" | ||
} | ||
}, | ||
"data_in": [ | ||
{ | ||
"name": "text_data", | ||
"property": { | ||
"text": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
], | ||
"cmd_in": [ | ||
{ | ||
"name": "flush" | ||
} | ||
], | ||
"cmd_out": [ | ||
{ | ||
"name": "flush" | ||
} | ||
], | ||
"audio_frame_out": [ | ||
{ | ||
"name": "pcm_frame" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.