Fade audio
fade_audioFade audio in at the start, out at the end, or both. Video is stream-copied, so only the audio is re-encoded, preserving video quality and speeding up processing.
Instructions
Fade a file's audio in at the start, out at the end, or both.
The fade-out is positioned from the file's measured duration, so you give its length rather than working out its start time yourself. Video is stream- copied, so only the audio is re-encoded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encode | No | ||
| fade_in | No | Fade-in length in seconds. | |
| fade_out | No | Fade-out length in seconds. | |
| input_path | Yes | Path to the source media file. | |
| output_path | No | Destination file. If omitted, the output is written into the job's workspace directory and its path is returned by job_result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| job_id | Yes | ||
| status | No | queued | |
| message | No | Job queued. Poll job_status for progress, then job_result. |