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. This is a required field. | 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 (360 seconds). 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):** `3c94a2f1004d01d410be089e5dbb926246cca38fdadadee0597c1843ba53883c`
