# Generate Music Block

This block generates a song with lyrics based on a text prompt provided.

## Configuration

### Prompt

Type in the prompt that will be used to generate the music. The section can include variables.

### Output

#### Output Variable

Save the generated music URL to a variable that can be used in other parts of your workflow.

#### History Access

Include the output variable in the workflow's history or hide it. Set to **Include** by default.

### Model Settings&#x20;

#### Select Model

Choose and configure the music generation model. Available models include:

* ElevenLabs Music
* Minimax Music 2.5

{% hint style="info" %}
Please note that different models will have different configuration settings.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://university.mindstudio.ai/docs/building-ai-agents/blocks-reference/generate-music-block.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
