/generate/patchAsk AIpost https://api.cloud.scenario.com/v1/generate/patchPatch an asset with an image.Query ParamsoriginalAssetsstringIf set to true, returns the original asset without transformationdryRunstringBody ParamspatchobjectThe image to be merged.patch objectimagestringrequiredThe input image as a data URL (example: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=") or the asset ID (example: "asset_GTrL3mq4SXWyMxkOHRxlpw")backgroundColorstringThe background color as an hexadecimal code (ex: "#FFFFFF"), an html color (ex: "red") or "transparent" if "format" is "png". Default to "white"formatstringenumThe output format. Default to "png"jpegpngAllowed:jpegpngpositionobjectThe position of the image to be merged.position objectallowOverflowbooleanWhether to allow the merged image to extend the size of the original (when x or y are negative or merged image is bigger)truefalsecropobjectThe crop operation to apply to the image. Applied before any operation. For the backgroundColor: rgba, hex or named color are supported.crop objectResponses 200200 response 269269 responseUpdated 5 months ago