Replace a section
flowmusic_replace_sectionRegenerate one section of a clip (mask_start_s to mask_end_s) as described in instruction. A job. POST /music/edit operation replace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | Yes | An encoded clip id (user:<id>-<email>-clip:<uuid>), from a finished job, flowmusic_list_songs or flowmusic_split_stems. The edit runs on that clip's account. | |
| seed | No | Pins the result for reproducibility, >= 0. | |
| model | No | Music model: lyria-3.5 | lyria-3-pro (default lyria-3-pro; lyria-3.5 is the newer flagship). | |
| title | No | A title for the result clip. | |
| mask_end_s | Yes | Section end, seconds (after the start, within the clip). | |
| instruction | Yes | How to regenerate the section. | |
| mask_start_s | Yes | Section start, seconds. |