- LLMs
- Stability
- Midjourney
- File
- Flux
- video
创建语音
GET
https://api.ezlinkai.com/v1/audio/speech
Request
Body Params application/json
model
string
required
input
string
required
voice
string
required
response_format
string
optional
speed
number
optional
Example
{
"model": "tts-1",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.ezlinkai.com/v1/audio/speech' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "tts-1",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy"
}'
Responses
🟢200成功
application/json
Body
object {0}
Example
{}
Modified at 2024-08-18 02:27:23