api, userAddress, and the returned songId are available. api includes the session token and selected account headers.
A ready edit normally has result.take. Keep the candidate ID and preview its audio before changing the saved project.
Select a take as the saved base
stemId, it must match the take’s target.
The browser app can mount an overlay locally without persisting it. A REST base activation changes the saved selection; use local UI state for temporary comparisons.
Merge the candidate’s recorded region
composition, this uses the take’s existing region and source offset. It needs a recorded region. Use client-rendered merge for several candidates, shifted placements, or original-plus-layer mixing.
Discard an inactive candidate
/api/songs/{songId} or history after a selection or merge. Repeated status reads can report a candidate as merged or discarded; it may no longer be available for activation.