update_recipe
Update specific editing parameters for an image by merging a partial recipe into its existing edit recipe. Only supplied fields change, preserving all other settings.
Instructions
Merge a partial recipe into the image's edit recipe (the usual way to edit). Only supply the fields you want to change; everything else keeps its value. Ranges (Lightroom-style):
- whiteBalance: {temp: 2000-50000 Kelvin (null=as-shot), tint: -150..150 (+magenta)}
- tone: {exposure: -5..5 EV, contrast/highlights/shadows/whites/blacks: -100..100,
toneCurve: {points: [[in,out],...] 0-255 increasing}}
- color: {saturation/vibrance: -100..100,
hsl: {red|orange|yellow|green|aqua|blue|purple|magenta:
{hue/saturation/luminance: -100..100}}}
- detail: {sharpening: {amount: 0-150, radius: 0.5-3, detail: 0-100},
noiseReduction: {luminance: 0-100, color: 0-100}}
- geometry: {rotate: -45..45 deg, orientation: 0|90|180|270, flipH/flipV: bool,
crop: {left,top,right,bottom: 0-1 normalized}}
Example: {"tone": {"exposure": 0.5}, "whiteBalance": {"temp": 6500}}
Use get_recipe_schema for the full JSON Schema.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | ||
| image_id | Yes |