match_colors
Transfers mean and contrast of each color channel from a reference layer, image, or region to blend a pasted or generated layer into the scene; respects the active selection.
Instructions
Make a layer's colours sit in the scene: transfers the mean and contrast of each channel from a reference (another layer, an image file in the workspace, or a region [x,y,w,h] of the picture - by default the whole picture). Use after pasting or generating an element. Respects the selection.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "match_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| strength | No | ||
| reference_path | No | ||
| reference_layer | No | ||
| reference_region | No |