Suno 음악
편집과 변환
crop/removeSection/fadeIn/fadeOut/adjustSpeed/replaceMusic/sample/mashup/concat/coverSong/remaster
편집·변환 계열 작업은 모두 기존 태스크를 소스로 사용합니다:
POST https://toapis.com/v1/music/generations/{operation}modelstring본문필수고정
"suno"task_idstring본문필수원본 태스크 ID(
tsk_aud_)audio_indexnumber본문트랙 번호
구간 편집(각 $0.008)
| operation | 설명 | 추가 필수 |
|---|---|---|
crop | 구간을 잘라 보존 | start_s, end_s |
removeSection | 구간 삭제 | start_s, end_s |
curl --request POST \
--url https://toapis.com/v1/music/generations/crop \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"model":"suno","task_id":"tsk_aud_xxx","audio_index":1,"start_s":10,"end_s":40}'페이드(각 $0.008)
| operation | 설명 | 추가 필수 |
|---|---|---|
fadeIn | 인트로 페이드인 | duration_s |
fadeOut | 아웃트로 페이드아웃 | duration_s |
adjustSpeed — 속도($0.024)
speednumber본문필수속도 배율. 예:
0.8 / 1.25keep_pitchboolean본문속도 변경 시 피치 유지
재작성·리마스터
replaceMusic — 구간 재작성($0.05, Max $0.10)
start_snumber본문필수시작(초)
end_snumber본문필수종료(초)
infill_lyricsstring본문구간의 새 가사
max_modeboolean본문Max 티어(본 작업에
custom 없음. 바로 적용)sample — 리샘플($0.05, Max $0.10)
task_id는 uploadTask 산출물만 가능. 다른 소스는 거부됩니다.start_snumber본문필수샘플 시작(초)
end_snumber본문필수샘플 종료(초)
gpt_descriptionstring본문리믹스 설명(custom=false일 때 필수)
coverSong — 커버($0.05, Max $0.10)
gpt_descriptionstring본문목표 스타일 설명(custom=false일 때 필수)
customboolean본문promptstring본문custom=true일 때 가사
stylestring본문목표 스타일
remaster — 리마스터($0.05)
variation_categorystring본문리마스터 성향(선택)
mashup — 매시업($0.05, Max $0.10)
task_idsarray본문필수정확히 2개의 원본 태스크 ID
audio_indexesarray본문각 소스의 트랙 번호
gpt_descriptionstring본문블렌드 설명(custom=false일 때 필수)
curl --request POST \
--url https://toapis.com/v1/music/generations/mashup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"model":"suno","task_ids":["tsk_aud_aaa","tsk_aud_bbb"],"gpt_description":"blend into seamless lo-fi"}'concat — 결합($0.004)
extend 산출 세그먼트를 한 곡으로 결합.
task_idstring본문필수extend 원본 태스크 IDResponse
task_idstring새 태스크 ID
statusstringsubmitted