Raw HTTP Quickstart
직접적인 HTTP 예제가 필요할 때 이 가이드를 사용하세요. Node.js 또는 Bun으로 개발 중이라면, 대신 Node.js SDK quickstart부터 시작하세요.1. 업로드 대상 생성
uploadUrl로 파일 바이트를 업로드하세요.
2. 프로젝트 생성
3. 작업 폴링
output에 해당 작업의 핵심 결과 ID가 포함됩니다.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL을 사용해 파일을 업로드하고, 프로젝트를 생성하고, 작업을 폴링한 다음, 완료된 카라오케 출력물을 내보내세요.
curl -X POST https://api.youka.io/ko/api/v1/uploads \
-H "Authorization: Bearer yk_..." \
-H "Content-Type: application/json" \
-d '{
"filename": "song.mp3",
"contentType": "audio/mpeg",
"contentLength": 12345678
}'
uploadUrl로 파일 바이트를 업로드하세요.
curl -X POST https://api.youka.io/ko/api/v1/projects \
-H "Authorization: Bearer yk_..." \
-H "Idempotency-Key: create-project-song-1" \
-H "Content-Type: application/json" \
-d '{
"title": "Artist - Song",
"inputFileId": "file_123",
"lyricsSource": {
"type": "align",
"lyrics": "First line\nSecond line\n...",
"syncModel": "musicai-alignment",
"language": "en"
},
"splitModel": "mdx23c"
}'
curl https://api.youka.io/ko/api/v1/tasks/task_123 \
-H "Authorization: Bearer yk_..."
output에 해당 작업의 핵심 결과 ID가 포함됩니다.
curl https://api.youka.io/ko/api/v1/projects/proj_123 \
-H "Authorization: Bearer yk_..."
curl -X POST https://api.youka.io/ko/api/v1/projects/proj_123/exports \
-H "Authorization: Bearer yk_..." \
-H "Idempotency-Key: export-song-1" \
-H "Content-Type: application/json" \
-d '{
"resolution": "1080p",
"quality": "high"
}'
curl https://api.youka.io/ko/api/v1/exports/export_123 \
-H "Authorization: Bearer yk_..."
이 페이지가 도움이 되었나요?
