music_generation
Generate custom music tracks using AI models based on user-provided prompts and lyrics. Specify style, mood, lyrics, and audio format to create tailored compositions for various use cases.
Instructions
Create a music generation task using AI models. Generate music from prompt and lyrics.
Note: This tool calls MiniMax API and may incur costs. Use only when explicitly requested by the user.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bitrate | No | Bitrate of generated music. Values: [32000, 64000, 128000, 256000] | |
format | No | Format of generated music. Values: ["mp3", "wav", "pcm"] | mp3 |
lyrics | Yes | Song lyrics for music generation. Use newline (\n) to separate each line of lyrics. Supports lyric structure tags [Intro][Verse][Chorus][Bridge][Outro] to enhance musicality. Character range: [10, 600] (each Chinese character, punctuation, and letter counts as 1 character) | |
outputDirectory | No | The directory to save the output file. `outputDirectory` is relative to `MINIMAX_MCP_BASE_PATH` (or `basePath` in config). The final save path is `${basePath}/${outputDirectory}`. For example, if `MINIMAX_MCP_BASE_PATH=~/Desktop` and `outputDirectory=workspace`, the output will be saved to `~/Desktop/workspace/` | |
prompt | Yes | Music creation inspiration describing style, mood, scene, etc. Example: "Pop music, sad, suitable for rainy nights". Character range: [10, 300] | |
sampleRate | No | Sample rate of generated music. Values: [16000, 24000, 32000, 44100] |