Audio
음성 합성
Use model to select the speech generation model. Channel selection is unavailable for speech generation requests.
- 유형: stringinput최소 길이:1최대 길이:4096필수
- 유형: stringmodel최대 길이:256필수
- 유형: string 열거형response
_format 값- pcm
- mp3
- 유형: numberspeed
Currently only 1 is supported.
- 유형: stringvoice최소 길이:1최대 길이:256
Optional non-blank voice ID. The upstream model determines whether a voice is required and which IDs it accepts. Catalog voices are examples.
- 유형: string 형식: binary200
성공 응답은 오디오 바이트입니다. MP3는
audio/mpeg, 원시 PCM은audio/pcm이며 WAV, JSON, SSE가 아닙니다. HTTP 상태와 전송 완료를 확인한 뒤 재생하세요.--fail은 오류 본문이 오디오 파일에 저장되지 않도록 합니다. 중단된 파일은 폐기하세요. 원시 PCM 재생 매개변수는 채널에서 확인하고 추측하지 마세요.STT는
input_audio_second또는 token, TTS는input_character로 과금합니다.speech_billing_unit의utf16_code_unit과unicode_code_point는 emoji 계산이 다릅니다. 사전 예약액은 비용 상한이 아니며 정산은 비동기일 수 있습니다. 증거 부족은 무료가 아닙니다. 두 API는X-Felo-Channel을 지원하며 선택 채널에 한 번만 전송합니다. 타임아웃·연결 끊김 후 SDK를 포함한 자동 재시도를 끄고X-Request-Id와 제공된X-Generation-Id를 보관하세요. Console Playground는 오디오 호출을 아직 지원하지 않습니다.configured_rates는 고정 요율과 확인된 사용량,upstream_cost는 검증된 공급자 비용과 게시된 가산율·할인으로 정산합니다.
curl https://openapi.felo.ai/api/v1/audio/speech \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"model": "",
"input": "",
"voice": "",
"response_format": "pcm",
"speed": 1
}'
@filename