{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"image_url": {
"type": "string",
"description": "URL of the image to remove the background from. Provide this OR image_file_b64, not both."
},
"image_file_b64": {
"type": "string",
"description": "Base64-encoded image data. Provide this OR image_url, not both."
},
"size": {
"type": "string",
"description": "Output image resolution",
"enum": [
"auto",
"preview",
"small",
"regular",
"medium",
"hd",
"4k",
"full"
]
},
"type": {
"type": "string",
"description": "Foreground type to help the AI detect the subject",
"enum": [
"auto",
"person",
"product",
"car"
]
},
"format": {
"type": "string",
"description": "Output image format",
"enum": [
"auto",
"png",
"jpg",
"zip"
]
},
"bg_color": {
"type": "string",
"description": "Background color to apply (hex value like \"81d4fa\" or color name like \"green\")"
},
"bg_image_url": {
"type": "string",
"description": "URL of a background image to composite behind the foreground"
}
},
"required": [
"PCID"
]
}