Mureka icon

Mureka

Interacts with the Mureka API to generate music via AI.

Actions9

Lyric → Generate

AI-generated

Overview

This node integrates with the Mureka API to generate AI-powered music content. Specifically, for the Lyric - Generate operation, it generates song lyrics based on a user-provided prompt describing the style, theme, or mood of the desired lyrics.

Typical use cases include:

  • Songwriters seeking inspiration by generating new lyrics in specific genres or moods.
  • Music producers wanting quick lyric drafts to complement instrumental tracks.
  • Content creators needing thematic lyrics for multimedia projects.

For example, providing a prompt like "Embrace of Night / r&b, slow, passionate, male vocal" will instruct the node to generate lyrics fitting that description.

Properties

Name Meaning
Prompt The text prompt describing the desired lyrics or instrumental style and theme. Example: "Embrace of Night / r&b, slow, passionate, male vocal". This is a required input for generating lyrics.

Output

The node outputs a JSON array where each item corresponds to the response from the Mureka API for the generation request. The JSON structure typically contains fields returned by the API representing the generated lyrics data.

If the API returns binary data (not applicable for this operation), it would be summarized accordingly, but for lyric generation, the output is purely JSON text data.

Dependencies

  • Requires an active connection to the Mureka API.
  • Needs an API authentication token configured in n8n credentials (referred generically as "an API key credential").
  • Internet access to reach https://api.mureka.ai/v1/lyrics/generate.

Troubleshooting

  • Missing or invalid prompt: The node requires a non-empty prompt string. If omitted or empty, the API call will fail or return no meaningful result.
  • API authentication errors: Ensure the API key credential is correctly set up and has permissions to access the Mureka API.
  • Network issues: Connectivity problems to the Mureka API endpoint will cause request failures.
  • Unexpected API responses: If the API returns an error or unexpected status, check the prompt format and API usage limits.

Common error messages:

  • "You must enter either 'prompt' or 'instrumental id'" — Not relevant here but indicates mutually exclusive parameters in other operations.
  • Task failure or cancellation errors do not apply to lyric generation since it is a direct generation call.

Links and References

Discussion