Remove element or audio track
remove_from_projectRemove an element or audio track from a project.
target="element": removes an element from a clip (requires clip_index + element_id)
target="audio": removes a music/SFX track (requires music_id — returned by add_audio)
Concurrency: target='element' is element-scoped (conflict domain: the individual element) — parallel-safe with other element edits on different elements, same as remove_elements. target='audio' is a whole-project mutation — serialize it against any other mutation on the same project_id. (Mutations to different projects run in parallel freely.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | What to remove: 'element' or 'audio' | |
| music_id | No | Music/SFX track ID to remove (required for target='audio') | |
| clip_index | No | Zero-based clip index (required for target='element') | |
| element_id | No | Element ID to remove (required for target='element') | |
| project_id | Yes | The project ID |