기능별

음성 합성 및 전사

아직 지원하는 모델이 없습니다

현재 모델 목록에서 이 경로를 지원하는 모델이 없습니다. 이 페이지는 참고용으로 남겨 둡니다.

#텍스트 음성 변환

/v1/audio/speech는 원시 오디오 바이트를 반환합니다 — 응답 본문을 바로 파일로 저장하세요. voice와 response_format은 OpenAI TTS 파라미터를 따릅니다.

tts.sh
curl https://www.aisplice.store/v1/audio/speech \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{
    "model": "tts-1",
    "voice": "alloy",
    "input": "Hello from the gateway."
  }' --output hello.mp3

#음성 전사

/v1/audio/transcriptions는 multipart 요청입니다. 오디오 파일과 모델 이름을 업로드하세요. /v1/audio/translations는 같은 형식을 쓰며 영어로 반환합니다.

transcribe.sh
curl https://www.aisplice.store/v1/audio/transcriptions \
  -H "Authorization: Bearer $KEY" \
  -F file=@meeting.mp3 \
  -F model=whisper-1

# → {"text": "…transcript…"}

모든 필드: API 레퍼런스의 /v1/audio →

아직 해결되지 않았나요?

요청 ID나 오류 메시지를 보내 주시면 확인해 드리겠습니다.