POST
/v2/upload-cover/generate표지 생성 API 업로드
원본 멜로디를 유지하면서 오디오를 업로드하고 AI 커버 버전을 생성하세요.
POST
https://udioapi.pro/api/v2/upload-cover/generatetips
모드: 비사용자 정의 모드(단순) 및 사용자 정의 모드(모든 권한).
참고: 파일 보관 15일, 5~10초마다 상태 폴링, 선택 사항 callback_url.
requestHeaders
| name | required | description |
|---|---|---|
Authorization | yes | 인증을 위한 Bearer 토큰 |
Content-Type | yes | application/json |
requestBody
요청 본문은 단순 모드와 사용자 정의 모드를 지원합니다.
commonParams
| paramName | paramType | required | description | example |
|---|---|---|---|---|
upload_url | string | yes | 오디오 파일의 공개 URL | https://storage.example.com/my-song.mp3 |
model | string | yes | AI 모델 | chirp-v4-5 |
custom_mode | boolean | no | 사용자 정의 모드 활성화 | false |
make_instrumental | boolean | no | 악기 버전 생성 | false |
prompt | string | no | 설명 또는 가사 | A calm and relaxing piano track with soft melodies |
style | string | no | 음악 스타일 | pop, upbeat, electronic |
title | string | no | 노래 제목 | Summer Cover |
tags | string | no | 부정적인 태그 | Heavy Metal, Upbeat Drums |
gender | string | no | 보컬 성별 선호도 | female |
style_weight | number | no | 스타일 밀착력 | 0.65 |
weirdness_constraint | number | no | 창의적인 편차 제어 | 0.65 |
audio_weight | number | no | 오디오 기능 균형 | 0.65 |
callback_url | string | no | 완료 알림을 위한 웹훅 URL | https://api.example.com/webhook/upload-cover |
responses
json
{
"code": 200,
"message": "success",
"workId": "upcov1a2b3c4d5e6f7890abcdef",
"data": {
"task_id": "upcov1a2b3c4d5e6f7890abcdef"
}
}codeExamples
curl
curl -X POST "https://udioapi.pro/api/v2/upload-cover/generate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chirp-v4-5",
"upload_url": "https://storage.example.com/my-song.mp3",
"custom_mode": false,
"make_instrumental": false,
"prompt": "A calm and relaxing piano cover with soft melodies"
}'