text_to_music
Creates a Suno task to generate music from a text prompt or lyrics, returning a task ID, status, and output URLs.
Instructions
Create a Suno task on RunAPI (text to music). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| style | No | Music style. | |
| title | No | Music title. | |
| lyrics | No | Exact lyrics to sing. | |
| prompt | No | Song brief for automatic lyrics. | |
| persona_id | No | Persona ID. | |
| timeout_ms | No | ||
| vocal_mode | Yes | Vocal generation mode. | |
| continue_at | No | Timestamp in seconds to continue from. | |
| audio_weight | No | Audio weight (0-1). | |
| callback_url | No | Webhook URL for async notifications. | |
| persona_type | No | Persona type. | |
| style_weight | No | Style adherence weight (0-1). | |
| vocal_gender | No | Vocal gender. | |
| negative_tags | No | Styles to avoid. | |
| duration_seconds | No | Duration in seconds. | |
| poll_interval_ms | No | ||
| weirdness_constraint | No | Weirdness constraint (0-1). |