HiAPI
  • 模型广场
  • 定价
搜索

搜索 HiAPI 模型、工具和资源。

  • 模型广场
  • 定价
HiAPI

一个 API,所有 AI 模型

通过一个生产级 API,调用领先模型生成图像、视频与音频。

免费获取 API Key

AI 图像 API

  • 全部图像模型
  • GPT Image 2.5 Flare
  • GPT Image 2.5 Sunburst
  • GPT Image 2
  • Nano Banana 2
  • Seedream 5.0 Pro
  • Qwen Image 2.0 Pro
  • FLUX 1.1 Pro

AI 视频 API

  • 全部视频模型
  • Seedance 2.5
  • FLUX.3 Video
  • Seedance 2.0
  • Veo 3.1
  • Kling 3.0 Omni

AI 音频 API

  • 全部音频模型
  • MiniMax Music 2.6
  • MiniMax Music 1.5
  • ElevenLabs v3
  • 文字生成音乐
  • 文字转语音

产品

  • 模型广场
  • 在线试用
  • 定价
  • 图片 API 成本计算器
  • 免费 GPT Image 2 生成器
  • 免费图片去背景
  • 免费 Nano Banana 图片生成器
  • 穿搭风格预览
  • 商品图实验室

开发者

  • Agent 接入
  • 文档
  • API 参考
  • Agent Skills
  • LLM 接入索引
  • 博客

公司

  • 关于我们
  • 联系支持
  • 服务条款
  • 隐私政策

© 2026 hiapi. 保留所有权利。

GitHub 开源项目PyPI Python SDK
此文暂无当前语言版本,显示原文。
  • What Instrumental Mode Actually Does
  • The Exact Prompt We Ran
  • Calling the API: Task Submit + Poll
  • Pricing: 2.6 vs. the Rest of the MiniMax Music Family
  • Where This Fits in a Short-Form Video Pipeline
  • Cover Art
  • FAQ
  • Try It
返回博客
使用指南2026年9月18日6 min read

MiniMax Music 2.6: Generate Background Music for Short-Form Video and Ads

A hands-on walkthrough of Instrumental Mode, real pricing, and where it fits in a short-form video pipeline.

hiapiMiniMax Music 2.6Background MusicText-to-Music APIShort-Form Video

最新模型

  • GPT Image 2.5 Flare最低 $0.050/张
  • GPT Image 2.5 Sunburst最低 $0.050/张
  • GPT Image 2最低 $0.030/张
  • Nano Banana 2最低 $0.051/张
查看全部模型

探索模型

文本对话与推理图片生成与编辑视频文生与图生音频语音与音乐
目录
  • What Instrumental Mode Actually Does
  • The Exact Prompt We Ran
  • Calling the API: Task Submit + Poll
  • Pricing: 2.6 vs. the Rest of the MiniMax Music Family
  • Where This Fits in a Short-Form Video Pipeline
  • Cover Art
  • FAQ
  • Try It

Short-form video and ad creative live and die on pacing, and pacing needs music. Licensing stock tracks per-clip doesn't scale when you're producing dozens of variants a week, and generic royalty-free libraries rarely fit the exact mood or length you need. minimax-music-2.6's Instrumental Mode solves this with a single API call: describe the mood and instrumentation you want, skip the lyrics, and get back a complete, loop-friendly instrumental track built for background use.

What Instrumental Mode Actually Does

minimax-music-2.6 is a task-based text-to-music model. There's no separate "instrumental" boolean anywhere in the schema — omitting the optional lyrics field is what triggers Instrumental Mode. Send lyrics and you get a full vocal song; leave it out and you get a clean instrumental built from your prompt alone.

FieldRequiredNotes
promptYesStyle, instrumentation, and mood description
lyricsNoOmit entirely for Instrumental Mode
sample_rateNoEnum: 16000 / 24000 / 32000 / 44100
bitrateNoEnum: 32000 / 64000 / 128000 / 256000

There's no duration, seed, or reference-audio parameter — the model decides song length and structure on its own from the prompt.

The Exact Prompt We Ran

Upbeat lo-fi hip-hop instrumental for short-form video and ad background, warm electric piano chords, mellow boom-bap drums, soft vinyl crackle, light bass groove, no vocals, loopable, calm and focused mood

🎧 Listen to the generated instrumental track (mp3)

That's the complete, unedited prompt — no vocals requested, no lyrics field sent, and the result came back as a full instrumental cue ready to drop under a video timeline.

Calling the API: Task Submit + Poll

minimax-music-2.6 runs through hiapi's unified async task endpoint, like every other task-based model on the platform:

curl -X POST https://api.hiapi.ai/v1/tasks \
  -H "Authorization: Bearer $HIAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-music-2.6",
    "input": {
      "prompt": "Upbeat lo-fi hip-hop instrumental for short-form video and ad background, warm electric piano chords, mellow boom-bap drums, soft vinyl crackle, light bass groove, no vocals, loopable, calm and focused mood"
    }
  }'

Then poll the task until it reaches a terminal state and read the output URL:

import time
import requests

headers = {"Authorization": f"Bearer {HIAPI_API_KEY}"}

resp = requests.post(
    "https://api.hiapi.ai/v1/tasks",
    headers=headers,
    json={
        "model": "minimax-music-2.6",
        "input": {"prompt": "Upbeat lo-fi hip-hop instrumental for short-form video and ad background, warm electric piano chords, mellow boom-bap drums, soft vinyl crackle, light bass groove, no vocals, loopable, calm and focused mood"},
    },
)
task_id = resp.json()["id"]

while True:
    task = requests.get(f"https://api.hiapi.ai/v1/tasks/{task_id}", headers=headers).json()
    if task["status"] in ("succeeded", "failed"):
        break
    time.sleep(3)

audio_url = task["output"][0]["url"]

Output URLs are time-limited, so download the bytes (or re-host them) as soon as the task succeeds rather than linking the raw response URL.

Pricing: 2.6 vs. the Rest of the MiniMax Music Family

minimax-music-2.6 bills a flat $0.21 per song, no matter how long the generated track ends up being. That flat-rate model matters for background-music batches, where you don't want cost to spike just because one track came back longer than expected.

  • minimax-music-2.6 — $0.21/song flat, vocals or Instrumental Mode, auto lyrics and song-structure tags supported.
  • minimax-music-1.5 — $0.07/song flat, natural vocals only, tracks run up to roughly 4 minutes. Cheaper, but no instrumental-only path.
  • minimax-music-3 — $0.0026 per second of output (usage-based), tracks up to 5 minutes at 44.1kHz stereo WAV. Cheaper for short clips, more expensive than 2.6 once a track runs past a couple of minutes.

If your use case is short (15-60 second) background beds for reels, TikToks, or pre-roll ads, 2.6's flat per-song price is easier to forecast than pure per-second billing.

Where This Fits in a Short-Form Video Pipeline

Background music is one piece of an AI-produced short-form video stack. On the video side, our short-form video workflow with Seedance 2.0 covers generating the actual clips; minimax-music-2.6 fills in the audio bed once the visuals are locked. If you're producing audio for retail or product placements instead of short-form video specifically, using Lyria 3.5 for e-commerce and retail music is a useful comparison for a different use case with different mood requirements.

Cover Art

Smartphone screen showing a short-form video timeline with an audio waveform track underneath, minimal flat illustration

Clean modern illustration for a tech blog cover: a smartphone screen showing a vertical short-form video timeline with a colorful audio waveform track underneath it, minimal flat design, soft orange and dark navy color palette, abstract music note icons floating around, no readable text or logos, wide 16:9 composition

FAQ

Does minimax-music-2.6 support lyrics, or is it instrumental-only? Both. Send a lyrics field and you get a full vocal song; omit it entirely and the model generates an instrumental track instead. There's no separate mode flag — leaving the field out is the trigger.

Does a longer track cost more? No. minimax-music-2.6 bills a flat $0.21 per generated song regardless of length. That's different from minimax-music-3, which bills $0.0026 per second of output.

Can I control the audio format? Yes, within limits. sample_rate (16000/24000/32000/44100) and bitrate (32000/64000/128000/256000) are both optional enums. There's no duration, seed, or reference-audio parameter to steer song structure beyond your prompt.

What's the difference between minimax-music-2.6 and minimax-music-1.5? minimax-music-1.5 is cheaper ($0.07/song) but vocal-only, with tracks running up to about 4 minutes. minimax-music-2.6 adds Instrumental Mode, automatic lyrics generation, and song-structure tags for $0.21/song.

Try It

If you need royalty-free background music for short-form video or ad creative on a predictable per-track budget, try minimax-music-2.6 with your own prompt.

最新模型

探索模型

现在就用 HiAPI 生成

选一个模型,输入你的提示词,直接查看生成结果。

开始生成查看模型价格

HiAPI Blog

相关文章

查看全部文章
ElevenLabs Text-to-Dialogue API for E-Commerce Audio: Product Video Voiceovers and Ad Reads

ElevenLabs Text-to-Dialogue API for E-Commerce Audio: Product Video Voiceovers and Ad Reads

GPT Image 2 Transparent Background: Generate a PNG Without Code

GPT Image 2 Transparent Background: Generate a PNG Without Code

Using glm-5.3 for E-commerce Copywriting and Support Replies

Using glm-5.3 for E-commerce Copywriting and Support Replies

DeepSeek V4 Pro for E-Commerce: Product Copy and Support Replies

DeepSeek V4 Pro for E-Commerce: Product Copy and Support Replies

Using HappyHorse 1.1 Image-to-Video to Make Short-Form Video via the hiapi API

Using HappyHorse 1.1 Image-to-Video to Make Short-Form Video via the hiapi API

Using happyhorse-1.1/reference-to-video to Make Short-Form Video via the hiapi API

Using happyhorse-1.1/reference-to-video to Make Short-Form Video via the hiapi API

HiAPI

现在就用 HiAPI 生成

开始生成
查看全部模型
GPT Image 2.5 Flare最低 $0.050/张
GPT Image 2.5 Sunburst最低 $0.050/张
GPT Image 2最低 $0.030/张
Nano Banana 2最低 $0.051/张
文本
图片
视频
音频