Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

음성 합성

서버:https://openapi.felo.ai
클라이언트 라이브러리

Audio

​

음성 합성

​

Use model to select the speech generation model. Channel selection is unavailable for speech generation requests.

본문
필수
application/json
  • input
    유형: string
    최소 길이:  
    1
    최대 길이:  
    4096
    필수
  • model
    유형: string
    최대 길이:  
    256
    필수
  • response_format
    유형: string 열거형
    값
    • pcm
    • mp3
  • speed
    유형: number

    Currently only 1 is supported.

  • voice
    유형: string
    최소 길이:  
    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.

응답
  • 200
    유형: string 형식: binary

    성공 응답은 오디오 바이트입니다. 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는 검증된 공급자 비용과 게시된 가산율·할인으로 정산합니다.

Request Example for post/api/v1/audio/speech
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
Generate speech

도움이 필요하신가요?

  • API, 결제, 계정 관련 문의는 지원에서 안내해 드립니다.
  • Discord에서 Felo 개발자와 대화해 보세요.
  • 변경 내역을 확인해 보세요.
  • 대량 구매 가격이나 구매 관련 도움이 필요하신가요? 영업팀 문의.
  • LLM으로 구축 중이신가요? llms.txt를 읽어 보세요.