Skip to content

About

MiniMax Music 2.6 API examples in cURL and Node.js for music generation through PoYo. From $0.10 per generation.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

MiniMax Music 2.6 API Examples for PoYo

Model page API docs License: MIT Main examples

Focused server-side examples for building music generation workflows with MiniMax Music 2.6 on PoYo.

MiniMax Music 2.6 is useful for creator tools that need background music drafts, short campaign audio, instrumental loops, or audio concepts before polishing.

Try on PoYo | Get API Key | Docs | Pricing | Main Examples

What This Repo Covers

  • Music generation with minimax-music-2.6
  • Instrumental and lyric-guided drafts
  • Audio output settings
  • Polling and webhook handling for production music generation
  • cURL and Node.js backend examples

Quick Start

cp .env.example .env
export POYO_API_KEY="your-api-key"

Run the Node.js example:

cd node
npm start

Keep POYO_API_KEY on the server. Do not expose it in browser code, mobile apps, screenshots, or public logs.

Production Pattern

  • Keep POYO_API_KEY on the server
  • Submit a generation task
  • Store data.task_id
  • Poll status while testing
  • Use callback_url webhooks in production

Models

This repo uses minimax-music-2.6.

Examples

Path What it covers
curl/generate.md Copy-paste API request.
node/ Native Node.js backend example.
docs/prompt-examples.md Practical prompts for product workflows and creative tests.
docs/production-notes.md Security and reliability notes before launch.
webhooks/express-webhook/ Minimal Express receiver for PoYo callbacks.

Run Checks

make check

On Windows:

./scripts/check.ps1

License

MIT

About

MiniMax Music 2.6 API examples in cURL and Node.js for music generation through PoYo. From $0.10 per generation.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages