post-patch-inferences
Apply image patches to modify assets by merging or erasing content using specified positions and modes within the Scenario.com MCP Server.
Instructions
Patch an asset with an image.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originalAssets | No | If set to true, returns the original asset without transformation | |
| dryRun | No | ||
| patch | No | ||
| image | Yes | The input image as a data URL (example: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=") or the asset ID (example: "asset_GTrL3mq4SXWyMxkOHRxlpw") | |
| backgroundColor | No | The background color as an hexadecimal code (ex: "#FFFFFF"), an html color (ex: "red") or "transparent" if "format" is "png". Default to "white" | |
| format | No | The output format. Default to "png" | |
| position | No | ||
| allowOverflow | No | Whether to allow the merged image to extend the size of the original (when x or y are negative or merged image is bigger) | |
| crop | No |