MiniMax Lyrics
AI-generatedSummary
Generate song lyrics via MiniMax Lyrics API
Inputs
- mode — Lyrics generation mode. Defaults to 'write_full_song'. Selects the generation style for the lyrics request.
- prompt (required) — Description of the song you want lyrics for, e.g. 'A cheerful love song about a summer day at the beach'. Must not be empty; validation enforced at runtime.
Output shape
JSON response from the MiniMax Lyrics API containing the generated lyrics, paired with the input item index for workflow chaining.
The operation sends a POST request to https://api.minimax.io/v1/lyrics_generation with the selected mode and prompt. If the prompt is empty or whitespace-only, a NodeOperationError is thrown unless continueOnFail is enabled, in which case an error JSON is returned for that item.
Examples
Example 1: Generate a full song about a summer beach day
Mode: write_full_song, prompt: 'A cheerful love song about a summer day at the beach'