mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
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.
1.5 KiB
1.5 KiB
description, i18n_source_hash, i18n_provenance, i18n_output_hash
| description | i18n_source_hash | i18n_provenance | i18n_output_hash |
|---|---|---|---|
| 어떤 오디오 파일에서든 벨소리 클립을 만듭니다. | 8fcdcc545fbc | human | 55f7c1cd1173 |
Ringtone Maker
시작 시간과 길이를 선택해 어떤 오디오 파일에서든 벨소리 클립(.m4r)을 만듭니다.
API 엔드포인트
POST /api/v1/tools/audio/ringtone-maker
오디오 파일과 JSON settings 필드가 포함된 multipart form data를 받습니다.
파라미터
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| startS | number | No | 0 |
시작 시간(초 단위, 최소 0) |
| durationS | number | No | 30 |
클립 길이(초 단위, 1 ~ 30) |
요청 예시
curl -X POST http://localhost:1349/api/v1/tools/audio/ringtone-maker \
-H "Authorization: Bearer si_your-api-key" \
-F "file=@audio.mp3" \
-F 'settings={"startS": 15, "durationS": 20}'
응답 예시
{
"jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"downloadUrl": "/api/v1/download/a1b2c3d4-e5f6-7890-abcd-ef1234567890/audio.m4r",
"originalSize": 4500000,
"processedSize": 620000
}
참고
- 출력은 항상 M4R 형식이며 iPhone 벨소리와 호환됩니다.
- 최대 벨소리 길이는 30초입니다(Apple 제한).
- 어떤 오디오 형식이든 입력으로 사용할 수 있습니다.