POST
/v2/minimax/generateMiniMax 공급자 생성 API
통합 MiniMax 공급자를 통해 음악을 생성합니다.
POST
https://udioapi.pro/api/v2/minimax/generatetips
MiniMax 제공자: MiniMax가 필요할 때 이 엔드포인트를 사용하십시오.
폴링: SUCCESS 또는 FAILED가 될 때까지 /v2/minimax/feed?workId=...를 호출하세요.
requestHeaders
| name | required | description |
|---|---|---|
Authorization | yes | 인증을 위한 Bearer 토큰 |
Content-Type | yes | application/json |
requestBody
MiniMax 생성 요청
commonParams
| paramName | paramType | required | description | example |
|---|---|---|---|---|
prompt | string | yes | 음악 생성 프롬프트 | Cinematic orchestral pop, emotional female vocal, warm piano, strings, gradual build, polished studio mix. |
lyrics | string | no | 선택적 가사 | Verse 1: The city lights are fading\nChorus: We rise into the morning glow |
bitrate | number | no | 오디오 비트레이트 | 256000 |
sample_rate | number | no | 오디오 샘플링 속도 | 44100 |
callback_url | string | no | 선택적 콜백 URL | https://api.example.com/webhooks/minimax |
public | boolean | no | 작업을 공개할 수 있는지 여부 | false |
endpoint.generate.responseSectionsHeading
endpoint.generate.responseSections.generateResponse.title
| field | paramType | description | example |
|---|---|---|---|
code | number | endpoint.generate.responseSections.generateResponse.fields.code.description | 200 |
message | string | endpoint.generate.responseSections.generateResponse.fields.message.description | success |
data.task_id | string | endpoint.generate.responseSections.generateResponse.fields.dataTaskId.description | n74abc123music |
data.status | string | endpoint.generate.responseSections.generateResponse.fields.dataStatus.description | IN_PROGRESS |
responses
json
{
"code": 200,
"message": "success",
"data": {
"task_id": "n74abc123music",
"status": "IN_PROGRESS",
"type": "text2music"
}
}codeExamples
curl
curl -X POST "https://udioapi.pro/api/v2/minimax/generate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Cinematic orchestral pop, emotional female vocal, warm piano, strings, gradual build, polished studio mix.",
"lyrics": "Verse 1: The city lights are fading\nChorus: We rise into the morning glow",
"bitrate": 256000,
"sample_rate": 44100,
"callback_url": "https://api.example.com/webhooks/minimax"
}'