> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SoniloTextToMusic - ComfyUI Built-in Node Documentation

> The Sonilo Text to Music node generates music from a text description using Sonilo's AI model.

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 set a target duration for the generated clip.

## Inputs

| Parameter  | Description                                                                                                   | Data Type | Required | Range                     |
| ---------- | ------------------------------------------------------------------------------------------------------------- | --------- | -------- | ------------------------- |
| `prompt`   | Text prompt describing the music to generate. Must contain 1 to 1000 characters after trimming whitespace.    | STRING    | Yes      | N/A                       |
| `duration` | Target duration in seconds. Maximum: 6 minutes. Default: 30.                                                  | INT       | No       | 1 to 360                  |
| `seed`     | Seed for reproducibility. Currently ignored by the Sonilo service but kept for graph consistency. Default: 0. | INT       | No       | 0 to 18446744073709551615 |

**Notes:**

* The `seed` input is provided for workflow consistency but does not currently affect the output of the Sonilo service.
* Usage is billed at \$0.0025 per second of the requested `duration`.

## Outputs

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

> 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)

***

**Source fingerprint (SHA-256):** `9dd1503428b0f23e0fb316ca97e3b64ddf11bcb4a82fc34fd248f481a60c1afe`
