Generate music
generate_musicCreate an AI music generation task on Lacuna. Returns immediately with a pending task; poll get_generation to retrieve the finished tracks and their audio URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Generation model. Defaults to `aether`. Call `list_models` for what each one covers. | |
| style | Yes | Style description, e.g. "pop, female vocal, 120 bpm, energetic". | |
| title | Yes | Track title. | |
| lyrics | No | Lyrics in plain text. Required unless `instrumental` is true. | |
| audio_weight | No | Audio reference weight 0–1 (aether only). | |
| instrumental | No | Generate an instrumental track (no lyrics). Defaults to false. | |
| style_weight | No | Style weight 0–1 (aether only). | |
| vocal_gender | No | Lead vocal gender hint (aether only). | |
| negative_tags | No | Negative style tags to avoid (aether only). | |
| weirdness_constraint | No | Weirdness constraint 0–1 (aether only). |