Generate a Lacuna track and collect the audio
A 2-step recipe with Lacuna. We can help you get access.
Recipe · 2 steps
Generate a Lacuna track and collect the audio
with Lacuna · Content Origination & Production Management
Submit a generation, poll until ready, return the audio URL.
- Create the generation task. Returns 202 with a pending GenerationTask.
- Poll the task until it is terminal. Intended to be repeated on a 5 second interval; typical completion is 60-120 seconds.
What you'll need to have ready
- style: Style description, up to 1000 characters.
- title: Track title, up to 200 characters.
- lyrics: Required unless instrumental is true.
- instrumental
- model: aether (default) or echo. Do not use nocturne for new integrations.
For your developer
Arazzo workflow lacuna:generate-and-collect, 2 operations: $sourceDescriptions.musicApi.createGeneration → $sourceDescriptions.musicApi.getGeneration. Specs on APIs.io.