Mage API · 오디오 모델
MiniMax Music 3 API
가사로 만드는 완성곡, 오픈 웨이트
POST https://api.mage.space/v1/minimax_music/generate한눈에 보기
MiniMax Music 3 API는 POST https://api.mage.space/v1/minimax_music/generate 를 통해 Mage에서 MiniMax Music 3를 실행합니다. 기본 설정 요청은 125 Gems(약 $0.125)이며 구독이 필요 없습니다. MiniMax Music 3는 @handle 멘션을 지원하지 않습니다.
- 오디오출력
- 1버전
- 125클립당 Gems(기본)
- $0.125약 USD 기준
개요
MiniMax Music 3 API로 할 수 있는 일
MiniMax의 오픈 노래 모델: 장르, 목소리, 편곡을 설명하면 가사를 부르는 보컬이 담긴 최대 5분 길이의 완성곡이나 연주곡을 만들어 줘요. LoRA를 지원해요.
MiniMax의 오픈 웨이트 노래 모델: 가사를 따라 부르는 보컬이 담긴 완성곡 또는 연주곡을 최대 5분까지 44.1 kHz 스테레오 MP3로 만들어요. LoRA를 지원해요. 가사는 `lyrics`에, 사운드는 프롬프트에 입력하세요.
프롬프트만으로 생성합니다.
빠른 시작
MiniMax Music 3 API 호출하기
MAGE_API_KEY를 설정하고 /minimax_music/generate로 요청을 보낸 뒤, 요청이 완료될 때까지 status_url을 폴링하세요.
cURL
STATUS_URL=$(curl --request POST 'https://api.mage.space/v1/minimax_music/generate' \
--header "Authorization: Bearer $MAGE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Acoustic pop, 96 BPM, C major, warm and intimate, building into the chorus. Soft female lead, close and breathy, light harmonies in the chorus. Fingerpicked guitar and soft piano; brushed drums and upright bass enter in the chorus.",
"duration": "120",
"lyrics": "[verse]\nMorning light filtering through the pine\nEvery quiet street is yours and mine\n[chorus]\nSoftly the world begins to breathe",
"model_id": "minimax-music-3"
}' | jq -r '.status_url')
# Repeat until status is "completed"; result.url is the file
curl "$STATUS_URL" --header "Authorization: Bearer $MAGE_API_KEY"TypeScript
// npm install @mage-space/sdk
import Mage from '@mage-space/sdk';
const mage = new Mage(); // reads MAGE_API_KEY
const request = await mage.run('minimax_music', {
prompt: 'Acoustic pop, 96 BPM, C major, warm and intimate, building into the chorus. Soft female lead, close and breathy, light harmonies in the chorus. Fingerpicked guitar and soft piano; brushed drums and upright bass enter in the chorus.',
duration: '120',
lyrics: '[verse]\nMorning light filtering through the pine\nEvery quiet street is yours and mine\n[chorus]\nSoftly the world begins to breathe',
model_id: 'minimax-music-3',
});
console.log(request.result.url);Python
# pip install mage-space
from mage_space import Mage
mage = Mage() # reads MAGE_API_KEY
request = mage.run("minimax_music", {
"prompt": "Acoustic pop, 96 BPM, C major, warm and intimate, building into the chorus. Soft female lead, close and breathy, light harmonies in the chorus. Fingerpicked guitar and soft piano; brushed drums and upright bass enter in the chorus.",
"duration": "120",
"lyrics": "[verse]\nMorning light filtering through the pine\nEvery quiet street is yours and mine\n[chorus]\nSoftly the world begins to breathe",
"model_id": "minimax-music-3",
})
print(request["result"]["url"])모델
MiniMax Music 3 model_id 값
model_id를 보내 버전을 선택하세요. 지정하지 않으면 기본 모델이 실행됩니다.
| model_id | 이름 | 기본값 |
|---|---|---|
| minimax-music-3 | MiniMax Music 3 | 예 |
옵션
MiniMax Music 3 매개변수
모든 버전에서 허용되는 값입니다. 일부 버전은 지원 범위가 더 좁을 수 있습니다. 버전별 옵션은 문서에서 확인하세요.
| 필드 | 값 |
|---|---|
| duration | 30, 60, 120, 180, 240, 300 |
규칙
MiniMax Music 3 API의 적용 규칙
- 프롬프트에는 음악을 설명하세요(최대 4000자): 장르, 템포와 조, 분위기와 전개 방식, 보컬리스트(목소리를 지정하지 않으면 연주곡이 될 수 있어요), 악기.
- `lyrics`에는 부를 가사를 넣으세요(최대 6000자). 섹션 태그([intro], [verse], [pre-chorus], [chorus], [bridge], [outro])는 각각 별도의 줄에 쓰세요. 태그와 같은 줄에 있는 가사는 무시돼요.
- 연주곡을 만들려면 `lyrics`를 비워 두거나 `instrumental`을 true로 설정하세요.
- `duration`은 노래가 이어질 수 있는 최대 길이이자 가격 기준이에요. 모델은 가사와 편곡이 끝나면 노래를 마치므로 더 짧게 끝나는 경우가 많아요.
다른 오디오 모델
Mage의 다른 오디오 생성 API
Seed Audio API
프롬프트 하나로 음성, 음악, 효과음까지
Eleven Music API
보컬이 있거나 없는 ElevenLabs 노래
Eleven Speech API
ElevenLabs v4: 직접 연출할 수 있는 생생한 음성
FAQ
자주 묻는 질문
MiniMax Music 3 API 요금은 얼마인가요?
MiniMax Music 3 API 엔드포인트는 무엇인가요?
어떤 MiniMax Music 3 모델을 호출할 수 있나요?
MiniMax Music 3는 참조 이미지나 캐릭터를 지원하나요?
Claude나 ChatGPT에서 MiniMax Music 3를 사용할 수 있나요?
MiniMax Music 3 결과는 얼마나 오래 보관되나요?
Mage로 지금 시작하세요
계정 하나, Gems 잔액 하나로 모든 모델을 사용하세요. 생성한 만큼만 결제하면 됩니다.