> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-feat-openapi-i18n.mintlify.site/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.

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  | Description                                                                                                               | Data Type | Required | Range                     |
| ---------- | ------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ------------------------- |
| `prompt`   | Text prompt describing the music to generate.                                                                             | STRING    | Yes      | N/A                       |
| `duration` | Target duration in seconds. Set to 0 to let the model infer the duration from the prompt. Maximum: 6 minutes. Default: 0. | INT       | No       | 0 to 360                  |
| `seed`     | Seed for reproducibility. Currently ignored by the Sonilo service but kept for graph consistency. Default: 0.             | INT       | No       | 0 to 18446744073709551615 |

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

## 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):** `ffb4c5b5c81d12d67ed1db2b65111ffb78bb31104b4bcb55dd7ec60fb7758e86`
