> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SoniloTextToMusic - ComfyUI Built-in Node Documentation

> Complete documentation for the SoniloTextToMusic node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SoniloTextToMusic/en.md)

The Sonilo Text to Music node generates music from a text description using Sonilo's AI model. You provide a prompt describing the music you want, and the node sends a request to the Sonilo service to create an audio file. You can specify a target duration or let the model infer it from your prompt.

## Inputs

| Parameter  | Data Type | Required | Range                     | Description                                                                                                                             |
| ---------- | --------- | -------- | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| `prompt`   | STRING    | Yes      | N/A                       | Text prompt describing the music to generate. This is a required field.                                                                 |
| `duration` | INT       | No       | 0 to 360                  | Target duration in seconds. Set to 0 to let the model infer the duration from the prompt. Maximum: 6 minutes (360 seconds). Default: 0. |
| `seed`     | INT       | No       | 0 to 18446744073709551615 | Seed for reproducibility. Currently ignored by the Sonilo service but kept for graph consistency. Default: 0.                           |

**Note:** The `seed` input is provided for workflow consistency but does not currently affect the output of the Sonilo service.

## Outputs

| Output Name | Data Type | Description                           |
| ----------- | --------- | ------------------------------------- |
| `audio`     | AUDIO     | The generated music as an audio file. |

***

**Source fingerprint (SHA-256):** `3c94a2f1004d01d410be089e5dbb926246cca38fdadadee0597c1843ba53883c`
