Tổng quan
Giá
Tính khả dụng
Tham số
Ví dụ yêu cầu
curl "https://api.agtcloud.cn/v1/audio/speech" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "speech-2.6-hd",
"input": "Today is a wonderful day to build something people love.",
"voice": "alloy",
"response_format": "mp3"
}' \
--output speech.mp3Điểm cuối khả dụng
POST /v1/audio/speechTài liệu APISynthesizes audio from input text and returns an audio file
