# MiniMax Music Generation (x402)

> MiniMax Music Generation (x402) is a paid API for AI agents from api.zeroclick.ac, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15, last successful call 2026-07-31).

Generates original AI music or licensed covers using MiniMax models (music-2.6, music-cover) via a pay-per-call x402/MPP payment-gated proxy.

## Facts

- Endpoint: POST https://api.zeroclick.ac/x402/minimax-music-generation-ta8lzq
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Last successful call: 2026-07-31
- Success rate: 40% of calls made through Zero
- Rating: 4.3 / 5 from 4 reviews
- Activations on Zero: 11
- Provider: api.zeroclick.ac
- Website: https://api.zeroclick.ac
- Canonical page: https://www.zero.xyz/c/api-zeroclick-ac-minimax-music-generation-x402-47fb826b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OwVt9IBtahpo4A3kHOt-6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-zeroclick-ac-minimax-music-generation-x402-47fb826b -d '<json body>'
```

Example prompt: Using the MiniMax music-2.6 model, generate an upbeat lo-fi hip-hop instrumental track from the prompt 'chill coffee shop vibes with soft piano and vinyl crackle' — go ahead and authorize the $0.15 payment.

## When to prefer this

Choose this endpoint when you need to generate original music or AI-powered song covers using MiniMax's music-2.6 or music-cover models and your workflow supports x402 / MPP micropayment flows. Prefer this over ElevenLabs music or other proxies when MiniMax's specific audio style or licensed cover capability is required.

## Known failure modes

- Payment not authorized or insufficient USDC balance — 402 Payment Required returned
- Invalid or unsupported model name — 400 Bad Request
- Missing or malformed audio reference for cover generation — 422 Unprocessable Entity
- Upstream MiniMax API unavailable or rate-limited — 502 or 503 error
- Request timeout during long music generation — 504 Gateway Timeout
- Buyer payment consent not confirmed — request blocked before forwarding

## How this service works

Generate original music or licensed covers using MiniMax models (music-2.6, music-cover, and free trial variants). This listing forwards validated, paid requests to the verified upstream POST /v1/music_generation endpoint at https://api.minimax.io. Agents must validate inputs, confirm buyer payment consent, and follow payment-challenge flows (x402 / MPP) before forwarding caller audio-generati...[truncated]

## Output

A generated music file or URL to the produced audio track, along with generation metadata such as model used and task status, returned after the x402 payment challenge is resolved and the upstream MiniMax music_generation endpoint processes the request.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "title": "MiniMax Music Generation - Input Schema",
 "$schema": "http://json-schema.org/draft-07/schema#",
 "required": [
  "model"
 ],
 "properties": {
  "model": {
   "enum": [
    "music-2.6",
    "music-cover",
    "music-2.6-free",
    "music-cover-free"
   ],
   "type": "string",
   "description": "The MiniMax model to use. Choose a model appropriate for original music or cover generation."
  },
  "lyrics": {
   "type": "string",
   "maxLength": 3500,
   "description": "Optional: lyrics text to render or optimize. Required for vocal-generation requests when applicable. Do not include third-party private data without permission."
  },
  "prompt": {
   "type": "string",
   "maxLength": 2000,
   "description": "Natural-language description of the desired music (mood, instruments, tempo, structure). Provide explicit constraints if needed (length, sections)."
  },
  "stream": {
   "type": "boolean",
   "default": false,
   "description": "If true, request streaming output (if upstream/model supports it)."
  },
  "audio_url": {
   "type": "string",
   "format": "uri",
   "description": "Optional: URL of an audio file to use as input (e.g., for remix or cover). When provided, the agent must verify the buyer has rights to use the file."
  },
  "audio_base64": {
   "type": "string",
   "description": "Optional: base64-encoded audio payload. Prefer audio_url when the audio is large. When provided, must be properly base64-encoded and match declared format/sample rate."
  },
  "audio_setting": {
   "type": "object",
   "properties": {
    "format": {
     "enum": [
      "mp3",
      "wav",
      "flac",
      "ogg"
     ],
     "type": "string",
     "description": "Container/codec for output."
    },
    "bitrate": {
     "type": "integer",
     "minimum": 16000,
     "description": "Target bitrate in bits per second (for lossy codecs). Use sensible values (e.g., 128000, 256000)."
    },
    "sample_rate": {
     "enum": [
      22050,
      32000,
      44100,
      48000
     ],
     "type": "integer",
     "description": "Sample rate in Hz."
    }
   },
   "description": "Desired encoding parameters for generated audio.",
   "additionalProperties": false
  },
  "output_format": {
   "enum": [
    "hex",
    "url"
   ],
   "type": "string",
   "default": "hex",
   "description": "How the service returns audio. "
  },
  "idempotency_key": {
   "type": "string",
   "description": "Optional: caller-provided idempotency key to prevent dupli
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-zeroclick-ac-minimax-music-generation-x402-47fb826b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zeroclick.ac](https://www.zero.xyz/host/api.zeroclick.ac/llms.txt)
