Files
SnapOtter/apps/docs/ko/tools/audio/transcribe-audio.md
T
SnapOtterandGitHub 4963ab3bbd feat(docs-i18n): translate all documentation into 20 languages
All 181 docs markdown files translated into 20 languages (apps/docs/<locale>/**). Companion to the i18n code PR; admin-merged because the file count exceeds GitHub's per-PR CI trigger limit. Validated by pnpm i18n:check (all surfaces, 0 stale/missing) and a clean all-locale docs build.
2026-07-11 13:52:47 +08:00

2.2 KiB

description, i18n_source_hash, i18n_provenance, i18n_output_hash
description i18n_source_hash i18n_provenance i18n_output_hash
AI 기반 전사로 음성을 텍스트로 변환합니다. ae98c4c0aed2 human 4f8c7123d0b9

오디오 전사

AI 기반 전사(faster-whisper)를 사용하여 음성을 텍스트로 변환합니다. 자동 또는 수동 언어 선택과 함께 일반 텍스트, SRT, VTT 출력 형식을 지원합니다.

API 엔드포인트

POST /api/v1/tools/audio/transcribe-audio

오디오 파일과 JSON settings 필드가 포함된 multipart form data를 받습니다.

매개변수

매개변수 유형 필수 기본값 설명
language string 아니요 "auto" 언어: auto, en, de, fr, es, zh, ja, ko, id, th, vi
outputFormat string 아니요 "txt" 출력 형식: txt, srt, vtt

요청 예시

curl -X POST http://localhost:1349/api/v1/tools/audio/transcribe-audio \
  -H "Authorization: Bearer si_your-api-key" \
  -F "file=@audio.mp3" \
  -F 'settings={"language": "en", "outputFormat": "srt"}'

응답 예시

이 도구는 비동기 도구입니다. API는 즉시 202 Accepted를 반환합니다:

{
  "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "async": true
}

GET /api/v1/jobs/{jobId}/progress에서 SSE를 통해 진행 상황을 추적하세요. 작업이 완료되면 SSE 스트림이 downloadUrl와 함께 최종 결과를 전달합니다.

참고 사항

  • transcription 기능 번들이 설치되어 있어야 합니다. 번들을 사용할 수 없는 경우 코드 FEATURE_NOT_INSTALLED, 누락된 feature, featureName, estimatedSize와 함께 501를 반환합니다.
  • 전사에 faster-whisper를 사용합니다. 언어 auto는 발화된 언어를 자동으로 감지합니다.
  • srtvtt 형식은 각 세그먼트의 타임스탬프를 포함하여 자막에 적합합니다.
  • txt 형식은 타임스탬프 없이 일반 텍스트를 반환합니다.
  • 이 도구는 오래 실행되는 AI 도구이며, 처리 시간은 오디오 길이와 서버 하드웨어에 따라 달라집니다.