MiniMax Music 2.5
minimax/music/2.5MiniMax Music 2.5 composes a full song with vocals and accompaniment from a style prompt and lyrics, or an instrumental track without lyrics.
- 기본 가격
- $0.15USD / 실행
- 실행
- async
- 모델 유형
- audio
- 입력 필드
- 7
모델 사용해 보기
Playground
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
모델 카드
사양
요금
- 기본 가격
- $0.15 / 실행
컨텍스트 및 모달리티
- 입력
- 스키마 정의
- 출력
- audio
기능
- 채팅
- 지원되지 않음
- 비전
- 지원되지 않음
- 추론
- 지원되지 않음
- 구조화된 출력
- 지원되지 않음
- 함수 호출
- 지원되지 않음
- 오디오 입력
- 지원되지 않음
접근
- 제공업체
- MiniMax
- 모델 ID
- minimax/music/2.5
- 실행
- async
- 기본 URL
- https://api.sandbase.ai
- API
- Unified Run API
- 엔드포인트
- /v1/run
API README
MiniMax Music 2.5
MiniMax Music 2.5 writes a song with vocals from a style prompt and lyrics, or an instrumental track.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, up to 2000 chars, required | — | Style: genre, mood, instruments, scenario. |
lyrics | string, up to 3500 chars | "" | Lyrics with [Verse] / [Chorus] style tags. Needed unless one of the two switches below is on. |
is_instrumental | boolean | false | Generate without vocals. |
lyrics_optimizer | boolean | false | Write lyrics from the prompt when lyrics is empty. |
sample_rate | 16000 / 24000 / 32000 / 44100 | 44100 | Sample rate in Hz. |
bitrate | 32000 / 64000 / 128000 / 256000 | 256000 | Bitrate in bits per second. |
format | mp3 / wav / pcm | mp3 | Output file format. |
Billing
$0.15 per song.
| Request | Price |
|---|---|
| One song | $0.15 |
| 10 songs | $1.50 |
Failed runs are not charged.
Prompting
- Put style in
promptand words inlyrics.
Also on SandBase
Related: minimax/music/2.6, minimax/music/3.
빌드를 시작하세요
첫 요청 보내기
통합 인증 및 사용량 추적이 있는 OpenAI 호환 엔드포인트입니다.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "minimax/music/2.5",
"format": "mp3",
"lyrics": "[verse]\nStreetlights flicker, the night breeze sighs\nShadows stretch as I walk alone\n[chorus]\nWandering, longing, where should I go",
"prompt": "Indie folk, melancholic, introspective, longing, solitary walk, coffee shop",
"bitrate": 256000,
"sample_rate": 44100,
"is_instrumental": false,
"lyrics_optimizer": false
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"입력 스키마
7개 매개변수 · 필수 1개 · 선택 6개
| 매개변수 | 유형 | 필수 | 설명 |
|---|---|---|---|
prompt | string | 필수 | A description of the music style, mood, genre, and scenario. Up to 2000 characters. · 최소 길이: 1 · 최대 길이: 2000 |
format | string | 선택 | File format of the generated audio. · 옵션: mp3, wav, pcm · 기본값: "mp3" mp3wavpcm |
lyrics | string | 선택 | Lyrics of the song, up to 3500 characters. Use \n to separate lines. Supports structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro], [Interlude], [Hook], [Break], [Solo], [Inst]. Required unless is_instrumental or lyrics_optimizer is true. · 최대 길이: 3500 · 기본값: "" |
bitrate | integer | 선택 | Bitrate of the generated audio, in bits per second. · 옵션: 32000, 64000, 128000, 256000 · 기본값: 256000 3200064000128000256000 |
sample_rate | integer | 선택 | Sample rate of the generated audio, in Hz. · 옵션: 16000, 24000, 32000, 44100 · 기본값: 44100 16000240003200044100 |
is_instrumental | boolean | 선택 | When true, generates vocal-free instrumental music. · 기본값: false |
lyrics_optimizer | boolean | 선택 | When true and lyrics is empty, auto-generates lyrics from the prompt. · 기본값: false |
출력 스키마
| 필드 | 유형 | 설명 |
|---|---|---|
id | string | 생성 작업의 고유 식별자 |
status | string | 작업 상태: pending, running, completed, failed, timeout |
model | string | 생성에 사용된 모델 |
outputs | array | 출력 항목 배열 |
outputs[].url | string | 생성된 아티팩트의 URL |
outputs[].content_type | string | MIME 유형(예: image/png, video/mp4) |
error | object | null | 실패 시 오류 세부 정보, 성공 시 null |
error.type | string | 기계 판독 가능한 오류 유형 코드 |
error.message | string | 사람이 읽을 수 있는 오류 설명 |
비동기 워크플로
이 모델은 비동기식으로 실행됩니다. 요청을 제출한 다음 결과를 폴링하세요.
- 제출: /v1/run로 POST한 뒤 반환된
id를 읽으세요. - 폴링: 상태가
completed,failed또는timeout이 될 때까지 /v1/run/{id}를 GET하세요. - 가져오기: 완료된 응답에서
outputs를 읽으세요.
원하는 모델을 선택하세요
모델 비교
| 모델 | 유형 | 기본 가격 | 출시 |
|---|---|---|---|
MiniMax | 오디오 | $0.15 / 실행 | 2026년 4월 11일 |
MiniMax | 오디오 | $0.12 / 실행 | 2026년 10월 5일 |
MiniMax | 오디오 | $0.15 / 실행 | 2026년 4월 11일 |
MiniMax | 오디오 | $0.10 / 실행 | 2026년 2월 4일 |
MiniMax | 오디오 | $0.06 / 실행 | 2026년 2월 4일 |
MiniMax | 오디오 | $0.03 / 실행 | 2025년 10월 30일 |
질문
FAQ
SandBase를 통해 MiniMax Music 2.5을 호출하려면 어떻게 하나요?
SandBase API 키를 만든 다음, 모델 ID "minimax/music/2.5"를 사용해 https://api.sandbase.ai의 Unified Run API (/v1/run)로 요청을 보내세요. 이 페이지의 요청 예시에 정확한 페이로드가 나와 있습니다.
별도의 MiniMax 계정이 필요한가요?
아니요. SandBase API 키 하나와 잔액만 있으면 MiniMax Music 2.5과 카탈로그의 다른 모델을 모두 사용할 수 있습니다. MiniMax에 별도로 가입할 필요는 없습니다.
