Adjust curves
apply_curvesApply tone curves to adjust color and contrast in video, using named presets or custom control points for master or individual RGB channels.
Instructions
Apply a tone curve, either a named preset or your own control points.
Points are given in 0..1 input/output coordinates and may be listed in any order; they are sorted and validated before the job runs, because ffmpeg silently ignores a malformed curve rather than reporting an error. Give a preset or points, not both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| red | No | ||
| blue | No | ||
| green | No | ||
| encode | No | ||
| master | No | Control points applied to all channels. | |
| preset | No | One of: none, color_negative, cross_process, darker, increase_contrast, lighter, linear_contrast, medium_contrast, negative, strong_contrast, vintage. | |
| 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. |