{
"error": "Too many requests",
"error_code": "rate_limit_exceeded"
}
Endpoints
Remove Background
Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed.
Input Image Limits:
Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF
Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB
Min resolution: 64x64px
Max resolution: 10000x10000px (each dimension is inclusive)
All API requests require a valid api key. Include your token as a HTTP request header in the following format: X-API-Key: skXXXXXXXXXXXXXXXX. You can obtain an api key by signing up for developer access in your Pixelcut account.
Enable and configure AI-generated shadow. When enabled, +3 credits are consumed. Omit light_source to estimate the light direction from the image automatically. Providing light_source disables that estimation and uses the values you supply.
(Beta) General margin applied to all sides when crop is enabled. Only applies if crop is true. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).
(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).
(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).
(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).
(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pixelcut Docs","description":"Pixelcut is an AI image editor for e-commerce sellers and creators. Learn how to use Pixelcut, and how to integrate the Pixelcut API into your product.","colors":{"primary":"#027AFF","light":"#55A6FF","dark":"#027AFF"},"logo":{"light":"https://mintcdn.com/pixelcutinc/3YMG1fg9jDbSRhQ1/logo/light.svg?fit=max\u0026auto=format\u0026n=3YMG1fg9jDbSRhQ1\u0026q=85\u0026s=f1921a4fe2dee8e6e5e304787f00e8ac","dark":"https://mintcdn.com/pixelcutinc/3YMG1fg9jDbSRhQ1/logo/dark.svg?fit=max\u0026auto=format\u0026n=3YMG1fg9jDbSRhQ1\u0026q=85\u0026s=a284967cb703bfbfb2caa5176e8cd7f2"},"favicon":"https://mintcdn.com/pixelcutinc/h1k9qW4vJzul7A1H/favicon.ico?fit=max\u0026auto=format\u0026n=h1k9qW4vJzul7A1H\u0026q=85\u0026s=be3c05b524c976c6843de01d9d62ec40","api":{"playground":{}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://www.pixelcut.ai/developer-settings","label":"API Dashboard"},{"href":"https://status.pixelcut.ai","label":"System Status"},{"href":"/user-guide/troubleshooting/contact-support","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/pixelcutai"}},"seo":{"metatags":{"canonical":"https://www.pixelcut.ai/docs"}},"contextual":{"options":["copy","view","chatgpt"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Open Pixelcut","icon":"home","href":"https://www.pixelcut.ai"},{"anchor":"What's new","icon":"newspaper","href":"https://www.pixelcut.ai/whats-new"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pixelcutinc","hasAudioNarration":false,"actualSubdomain":"pixelcutinc","customDomains":["pixelcut.ai"],"gitSource":{"type":"github","owner":"circular-holdings","repo":"pixa-public-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af1fefe77b2275ecbcdc267","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"Developer Guide","count":22},{"language":"default","tag":"API Reference","count":16},{"language":"default","tag":"Endpoints","count":15},{"language":"default","tag":"MCP","count":8},{"language":"default","tag":"Tools \u0026 workflows","count":7},{"language":"default","tag":"Guides by capability","count":7},{"language":"default","tag":"Getting started","count":6},{"language":"default","tag":"Core concepts","count":5},{"language":"default","tag":"Resources","count":5},{"language":"default","tag":"Try On","count":3}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/remove-background","slug":"/api-reference/remove-background","pageMetadata":{"title":"Remove Background","openapi":"POST /v1/remove-background","description":"Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed.\u003cbr/>\u003cbr/> **Input Image Limits:**\n - Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF\n - Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB\n - Min resolution: 64x64px\n - Max resolution: 10000x10000px (each dimension is inclusive)\n","href":"/api-reference/remove-background"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed.\", _jsx(\"br\", {}), _jsx(\"br\", {}), \" \", _jsx(_components.strong, {\n children: \"Input Image Limits:\"\n })]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Min resolution: 64x64px\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Max resolution: 10000x10000px (each dimension is inclusive)\"\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Remove Background","openapi":"POST /v1/remove-background","description":"Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed.\u003cbr/>\u003cbr/> **Input Image Limits:**\n - Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF\n - Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB\n - Min resolution: 64x64px\n - Max resolution: 10000x10000px (each dimension is inclusive)\n","href":"/api-reference/remove-background"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Endpoints"],"summary":"Remove Background","description":"Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed.\u003cbr/>\u003cbr/> **Input Image Limits:**\n - Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF\n - Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB\n - Min resolution: 64x64px\n - Max resolution: 10000x10000px (each dimension is inclusive)\n","operationId":"remove-background","responses":{"200":"6a847f06-1b8e-46c4-aa88-a1c96bc9d5eb","400":"7f77518d-1dad-4b10-a72b-dd53bd31cb0e","401":"feb4a9eb-7585-4c6f-bae2-bf9840de78c4","403":"7af34a6f-2df6-4a79-8c6b-f498fd00ed12","429":"2121b85f-637e-4bba-aec0-7f36506e7b4b","500":"b7c0e823-617b-455b-a2ad-bce46df3ce44"},"security":["b89d6eb9-963c-463d-879e-b2e78fdb5c33","b4bcc220-edec-4dfa-ae42-2a5d307fe309"],"parameters":["1831f822-01e4-4812-93b9-413bfc9e6b6b"],"requestBody":"e10bfd43-da0d-441e-a827-2e14d2f8f1c7","method":"post","type":"path","servers":["ac1ff309-b764-4bae-a46c-e2d74992727c"],"path":"/v1/remove-background","baseUrlOptions":["https://api.developer.pixelcut.ai"],"title":"Remove Background","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"1831f822-01e4-4812-93b9-413bfc9e6b6b":{"in":"header","name":"Accept","required":false,"schema":{"type":"string","isRequired":false,"description":"Acceptable response media type(s). `application/json` or `image/*`. Default is `application/json`.","uniqueKey":"","typeLabel":"string"},"description":"Acceptable response media type(s). `application/json` or `image/*`. Default is `application/json`."}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["image_url"],"properties":{"image_url":{"type":"string","format":"url","description":"URL of the image to be processed.","example":"https://cdn3.pixelcut.app/product.jpg","isRequired":true,"uniqueKey":"image_url","typeLabel":"string\u003curl>"},"format":{"type":"string","format":"string","enum":["png"],"description":"The format of the resultant image. Currently, only png is supported.","uniqueKey":"format","typeLabel":"enum\u003cstring>"},"shadow":{"type":"object","description":"Enable and configure AI-generated shadow. When enabled, +3 credits are consumed. Omit `light_source` to estimate the light direction from the image automatically. Providing `light_source` disables that estimation and uses the values you supply.\n","example":{"enabled":true,"opacity":0.5},"properties":{"enabled":{"type":"boolean","default":false,"description":"Enable AI shadow rendering.","isRequired":true,"uniqueKey":"shadow.enabled","typeLabel":"boolean"},"opacity":{"type":"number","format":"float","minimum":0,"maximum":1,"default":0.5,"description":"Final composited shadow opacity (0–1).","uniqueKey":"shadow.opacity","typeLabel":"number\u003cfloat>"},"light_source":{"type":"object","description":"Virtual light used to synthesize the shadow. Optional: when omitted, the light direction is estimated from the image. Supplying it turns the estimation off. x/y are normalized to image center (-1..1); z is height above subject (0..2). Individual position components may be omitted and fall back to the defaults below.\n","properties":{"size":{"type":"number","format":"float","minimum":0,"maximum":1,"default":0.3,"description":"Apparent emitter size/softness. Higher = softer penumbra.","isRequired":true,"uniqueKey":"shadow.light_source.size","typeLabel":"number\u003cfloat>"},"position":{"type":"object","properties":{"x":{"type":"number","format":"float","minimum":-1,"maximum":1,"default":-0.3,"uniqueKey":"shadow.light_source.position.x","typeLabel":"number\u003cfloat>"},"y":{"type":"number","format":"float","minimum":-1,"maximum":1,"default":-0.6,"uniqueKey":"shadow.light_source.position.y","typeLabel":"number\u003cfloat>"},"z":{"type":"number","format":"float","minimum":0,"maximum":2,"default":0.7,"uniqueKey":"shadow.light_source.position.z","typeLabel":"number\u003cfloat>"}},"isRequired":true,"uniqueKey":"shadow.light_source.position","typeLabel":"object"}},"required":["size","position"],"uniqueKey":"shadow.light_source","typeLabel":"object"}},"required":["enabled"],"uniqueKey":"shadow","typeLabel":"object"},"crop":{"type":"boolean","description":"When true, crops the image to the region of interest (the detected subject).\n","default":false,"uniqueKey":"crop","typeLabel":"boolean"},"margin":{"type":"string","description":"(Beta) General margin applied to all sides when crop is enabled. Only applies if crop is true. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"100px","uniqueKey":"margin","typeLabel":"string"},"margin_left":{"type":"string","description":"(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"50px","uniqueKey":"margin_left","typeLabel":"string"},"margin_right":{"type":"string","description":"(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"50px","uniqueKey":"margin_right","typeLabel":"string"},"margin_top":{"type":"string","description":"(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"50px","uniqueKey":"margin_top","typeLabel":"string"},"margin_bottom":{"type":"string","description":"(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"50px","uniqueKey":"margin_bottom","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"image_url":"https://cdn3.pixelcut.app/product.jpg","format":"png","shadow":{"enabled":true,"opacity":0.5},"crop":false,"margin":"100px","margin_left":"50px","margin_right":"50px","margin_top":"50px","margin_bottom":"50px"}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"type":"object","properties":{"image_url":{"type":"string","format":"url","description":"URL of the image to be processed.","example":"https://cdn3.pixelcut.app/product.jpg","uniqueKey":"image_url","typeLabel":"string\u003curl>"},"image":{"type":"string","format":"binary","description":"Binary file of the image to be processed, this is mutually exclusive with image_url, if both are provided the image will be used.","uniqueKey":"image","typeLabel":"file"},"format":{"type":"string","format":"string","enum":["png"],"description":"The format of the resultant image. Currently, only png is supported.","uniqueKey":"format","typeLabel":"enum\u003cstring>"},"shadow":{"type":"object","description":"Enable and configure AI-generated shadow. When enabled, +3 credits are consumed. Omit `light_source` to estimate the light direction from the image automatically. Providing `light_source` disables that estimation and uses the values you supply.\n","example":{"enabled":true,"opacity":0.5},"properties":{"enabled":{"type":"boolean","default":false,"description":"Enable AI shadow rendering.","isRequired":true,"uniqueKey":"shadow.enabled","typeLabel":"boolean"},"opacity":{"type":"number","format":"float","minimum":0,"maximum":1,"default":0.5,"description":"Final composited shadow opacity (0–1).","uniqueKey":"shadow.opacity","typeLabel":"number\u003cfloat>"},"light_source":{"type":"object","description":"Virtual light used to synthesize the shadow. Optional: when omitted, the light direction is estimated from the image. Supplying it turns the estimation off. x/y are normalized to image center (-1..1); z is height above subject (0..2). Individual position components may be omitted and fall back to the defaults below.\n","properties":{"size":{"type":"number","format":"float","minimum":0,"maximum":1,"default":0.3,"description":"Apparent emitter size/softness. Higher = softer penumbra.","isRequired":true,"uniqueKey":"shadow.light_source.size","typeLabel":"number\u003cfloat>"},"position":{"type":"object","properties":{"x":{"type":"number","format":"float","minimum":-1,"maximum":1,"default":-0.3,"uniqueKey":"shadow.light_source.position.x","typeLabel":"number\u003cfloat>"},"y":{"type":"number","format":"float","minimum":-1,"maximum":1,"default":-0.6,"uniqueKey":"shadow.light_source.position.y","typeLabel":"number\u003cfloat>"},"z":{"type":"number","format":"float","minimum":0,"maximum":2,"default":0.7,"uniqueKey":"shadow.light_source.position.z","typeLabel":"number\u003cfloat>"}},"isRequired":true,"uniqueKey":"shadow.light_source.position","typeLabel":"object"}},"required":["size","position"],"uniqueKey":"shadow.light_source","typeLabel":"object"}},"required":["enabled"],"uniqueKey":"shadow","typeLabel":"object"},"crop":{"type":"boolean","description":"When true, crops the image to the region of interest (the detected subject).\n","default":false,"uniqueKey":"crop","typeLabel":"boolean"},"margin":{"type":"string","description":"(Beta) General margin applied to all sides when crop is enabled. Only applies if crop is true. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"100px","uniqueKey":"margin","typeLabel":"string"},"margin_left":{"type":"string","description":"(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"50px","uniqueKey":"margin_left","typeLabel":"string"},"margin_right":{"type":"string","description":"(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"50px","uniqueKey":"margin_right","typeLabel":"string"},"margin_top":{"type":"string","description":"(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"50px","uniqueKey":"margin_top","typeLabel":"string"},"margin_bottom":{"type":"string","description":"(Beta) Directional margin override that applies when crop is enabled. Only applies if crop is true. When specified, this overrides the general margin parameter for this specific side. When specified as a string with '%' (0-49%), it represents a percentage of the image dimensions. When specified as a string with 'px', it represents pixels (>=0px).\n","example":"50px","uniqueKey":"margin_bottom","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"image_url":"https://cdn3.pixelcut.app/product.jpg","image":"\u003cstring>","format":"png","shadow":{"enabled":true,"opacity":0.5},"crop":false,"margin":"100px","margin_left":"50px","margin_right":"50px","margin_top":"50px","margin_bottom":"50px"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"6a847f06-1b8e-46c4-aa88-a1c96bc9d5eb":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"result_url":{"type":"string","description":"A URL to access the resultant image. The file is deleted after at most 24 hours. File format will be png.","example":"https://assets.pixelcut.app/public/result/a16646be-91c8-4e3a-b359.png","uniqueKey":"result_url","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"result_url":"https://assets.pixelcut.app/public/result/a16646be-91c8-4e3a-b359.png"}}},"exampleType":"generated"},"image/*":{"schema":{"type":"string","format":"binary","properties":{"image":{"description":"Resultant image in binary format. The file format will be png."}},"uniqueKey":"","typeLabel":"file"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"},"7f77518d-1dad-4b10-a72b-dd53bd31cb0e":{"description":"The input could not be processed, often returned when the input image exceeds API limits.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error.","example":"File size too large","uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["invalid_request_body","missing_parameter","invalid_parameter","unsupported_content_type","malformed_image","unsupported_image_format","file_size_too_large","resolution_too_high","unknown_foreground"],"example":"file_size_too_large","description":"The error codes provide a way to programmatically handle errors. \n\nThe following error codes are currently in use: \n- `invalid_request_body`: The request body was empty or invalid.\n- `missing_parameter`: A required parameter was not provided.\n- `invalid_parameter`: A parameter was provided but it was invalid.\n- `unsupported_content_type`: The content type of the request was not application/json or multipart/form-data.\n- `malformed_image`: The image could not be decoded.\n- `unsupported_image_format`: The image format is not supported.\n- `file_size_too_large`: The image file size is too large.\n- `resolution_too_high`: The image resolution is too high.\n- `unknown_foreground`: The foreground subject of the image could not be detected.\n","uniqueKey":"error_code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"File size too large","error_code":"file_size_too_large"}}},"exampleType":"generated"}},"exampleType":"generated"},"feb4a9eb-7585-4c6f-bae2-bf9840de78c4":{"description":"The authentication token is missing or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"API Token not found","uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["invalid_auth_token"],"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"API Token not found","error_code":"invalid_auth_token"}}},"exampleType":"generated"}},"exampleType":"generated"},"7af34a6f-2df6-4a79-8c6b-f498fd00ed12":{"description":"Returned when you have insufficient credits to perform the requested action.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Insufficient credits available","uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["insufficient_api_credits"],"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Insufficient credits available","error_code":"insufficient_api_credits"}}},"exampleType":"generated"}},"exampleType":"generated"},"2121b85f-637e-4bba-aec0-7f36506e7b4b":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Too many requests","uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["rate_limit_exceeded"],"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Too many requests","error_code":"rate_limit_exceeded"}}},"exampleType":"generated"}},"exampleType":"generated"},"b7c0e823-617b-455b-a2ad-bce46df3ce44":{"description":"Internal service error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"b89d6eb9-963c-463d-879e-b2e78fdb5c33":{"ApiKeyAuth":{"description":"All API requests require a valid api key. Include your token as a HTTP request header in the following format: `X-API-Key: skXXXXXXXXXXXXXXXX`. You can obtain an api key by signing up for developer access in your Pixelcut account.\n","type":"apiKey","name":"X-API-KEY","in":"header","scopes":[],"schemeName":"ApiKeyAuth"}},"b4bcc220-edec-4dfa-ae42-2a5d307fe309":{"OAuth2":{"description":"OAuth 2.0 authorization code flow, used by MCP clients and third-party integrations acting on a user's behalf. Request the narrowest scope your integration needs.\n","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://oauth.pixelcut.ai/oauth/authorize","tokenUrl":"https://oauth.pixelcut.ai/oauth/token","refreshUrl":"https://oauth.pixelcut.ai/oauth/token","scopes":{"pixa:read":"Read account state — credit balance, job status, and previously generated assets.","pixa:write":"Submit editing and generation jobs that consume credits."}}},"scopes":["pixa:write"],"schemeName":"OAuth2"}}},"servers":{"ac1ff309-b764-4bae-a46c-e2d74992727c":{"url":"https://api.developer.pixelcut.ai","description":"Pixelcut API server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"All API requests require a valid api key. Include your token as a HTTP request header in the following format: `X-API-Key: skXXXXXXXXXXXXXXXX`. You can obtain an api key by signing up for developer access in your Pixelcut account.\n","type":"apiKey","name":"X-API-KEY","in":"header","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-KEY","type":"string","description":"All API requests require a valid api key. Include your token as a HTTP request header in the following format: `X-API-Key: skXXXXXXXXXXXXXXXX`. You can obtain an api key by signing up for developer access in your Pixelcut account.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-KEY"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"description":"OAuth 2.0 authorization code flow, used by MCP clients and third-party integrations acting on a user's behalf. Request the narrowest scope your integration needs.\n","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://oauth.pixelcut.ai/oauth/authorize","tokenUrl":"https://oauth.pixelcut.ai/oauth/token","refreshUrl":"https://oauth.pixelcut.ai/oauth/token","scopes":{"pixa:read":"Read account state — credit balance, job status, and previously generated assets.","pixa:write":"Submit editing and generation jobs that consume credits."}}},"scopes":["pixa:write"],"schemeName":"OAuth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth 2.0 authorization code flow, used by MCP clients and third-party integrations acting on a user's behalf. Request the narrowest scope your integration needs.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OAuth2","name":"Authorization"}],"title":"OAuth2"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"pixelcutinc","siteName":"Pixelcut Docs","title":"Remove Background - Pixelcut Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T17:12:41.021Z","originalFileLocation":"api-reference/remove-background.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed. Input Image Limits: - Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF - Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB - Min resolution: 64x64px - Max resolution: 10000x10000px (each dimension is inclusive)\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pixelcut Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Remove Background - Pixelcut Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed. Input Image Limits: - Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF - Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB - Min resolution: 64x64px - Max resolution: 10000x10000px (each dimension is inclusive)\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pixelcut Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.pixelcut.ai/docs/api-reference/remove-background\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pixelcutinc.mintlify.site/docs/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Remove+Background\u0026amp;description=Removes+the+background+from+an+image+and+optionally+adds+AI-generated+shadows%2C+crops+to+the+subject%2C+and+applies+margins.+When+AI+shadows+are+requested%2C+an+addi\u0026amp;theme=2774de13ec2b790c717b6923\u0026amp;signature=3ac440dfc4b68320a6ef5737229cf6fada82a9663004c97bb161ac7dffe6b2fc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Remove Background - Pixelcut Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed. Input Image Limits: - Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF - Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB - Min resolution: 64x64px - Max resolution: 10000x10000px (each dimension is inclusive)\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pixelcutinc.mintlify.site/docs/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Remove+Background\u0026amp;description=Removes+the+background+from+an+image+and+optionally+adds+AI-generated+shadows%2C+crops+to+the+subject%2C+and+applies+margins.+When+AI+shadows+are+requested%2C+an+addi\u0026amp;theme=2774de13ec2b790c717b6923\u0026amp;signature=3ac440dfc4b68320a6ef5737229cf6fada82a9663004c97bb161ac7dffe6b2fc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/pixelcutinc/pP6jR4_4LDVbbkGn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pixelcut Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#027AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.pixelcut.ai/docs/api-reference/remove-background\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/remove-background.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.pixelcut.ai/#organization\",\"name\":\"Pixelcut Docs\",\"url\":\"https://www.pixelcut.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pixelcutinc/3YMG1fg9jDbSRhQ1/logo/light.svg?fit=max\u0026auto=format\u0026n=3YMG1fg9jDbSRhQ1\u0026q=85\u0026s=f1921a4fe2dee8e6e5e304787f00e8ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.pixelcut.ai/docs#website\",\"name\":\"Pixelcut Docs\",\"url\":\"https://www.pixelcut.ai/docs\",\"publisher\":{\"@id\":\"https://www.pixelcut.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.pixelcut.ai/docs/api-reference/remove-background#webpage\",\"url\":\"https://www.pixelcut.ai/docs/api-reference/remove-background\",\"name\":\"Remove Background\",\"description\":\"Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed. Input Image Limits: - Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF - Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB - Min resolution: 64x64px - Max resolution: 10000x10000px (each dimension is inclusive)\",\"dateModified\":\"2026-11-09T17:12:41.021Z\",\"isPartOf\":{\"@id\":\"https://www.pixelcut.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.pixelcut.ai/docs/api-reference/remove-background#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.pixelcut.ai/docs/api-reference/remove-background#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pixelcut Docs\",\"item\":\"https://www.pixelcut.ai/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Remove Background\",\"item\":\"https://www.pixelcut.ai/docs/api-reference/remove-background\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.pixelcut.ai/docs/api-reference/remove-background#apireference\",\"headline\":\"Remove Background\",\"name\":\"Remove Background\",\"description\":\"Removes the background from an image and optionally adds AI-generated shadows, crops to the subject, and applies margins. When AI shadows are requested, an additional 3 credits will be consumed. Input Image Limits: - Formats: JPEG, PNG, WebP, HEIC, HEIF, AVIF - Max image file size: 50 MiB via image_url, upload, or base64; the total request body, including encoding and form data, must fit within 50 MiB - Min resolution: 64x64px - Max resolution: 10000x10000px (each dimension is inclusive)\",\"url\":\"https://www.pixelcut.ai/docs/api-reference/remove-background\",\"mainEntityOfPage\":{\"@id\":\"https://www.pixelcut.ai/docs/api-reference/remove-background#webpage\"},\"dateModified\":\"2026-11-09T17:12:41.021Z\",\"publisher\":{\"@id\":\"https://www.pixelcut.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://www.pixelcut.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pixelcut Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Pixelcut Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/remove-background.md","siteName":"Pixelcut Docs","nav":{"global":{"anchors":[{"anchor":"Open Pixelcut","icon":"home","href":"https://www.pixelcut.ai"},{"anchor":"What's new","icon":"newspaper","href":"https://www.pixelcut.ai/whats-new"}]},"tabs":[{"tab":"Using Pixelcut","hidden":true,"pages":[{"title":"Using Pixelcut","href":"/user-guide"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/agents/overview"}]},{"tab":"Developer Guide","pages":[{"title":"Developer Guide","href":"/developer-guide/getting-started/api-overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API reference","description":"The canonical schema reference for Pixelcut API endpoints.","href":"/api-reference"}]},{"group":"Endpoints","pages":[{"title":"Remove Background","openapi":"POST /v1/remove-background","href":"/api-reference/remove-background"},{"title":"Upscale","openapi":"POST /v1/upscale","description":"Increases the resolution of an image by 2x or 4x. Images may be upscaled to a maximum resolution of 6000x6000px. Upscaled images are returned in JPEG format unless the input image contained alpha channels, in which case the output will be PNG format.\u003cbr/>\u003cbr/> **Input Image Limits:**\n - Max size: 25MB\n - Min resolution: 64x64px\n - Max resolution: 6000x6000px\n","href":"/api-reference/upscale"},{"title":"Generate Background","openapi":"POST /v1/generate-background","href":"/api-reference/generate-background"},{"title":"Outpaint","openapi":"POST /v1/outpaint","href":"/api-reference/outpaint"},{"title":"Inpaint","openapi":"POST /v1/inpaint","href":"/api-reference/inpaint"},{"group":"Try On","pages":[{"title":"Try On (Beta)","openapi":"POST /v1/try-on","href":"/api-reference/try-on"},{"title":"Try On Job Status (Beta)","openapi":"GET /v1/try-on/job/{jobId}","href":"/api-reference/try-on-job-status"},{"title":"Try On Job Cancel (Beta)","openapi":"POST /v1/try-on/job/{jobId}/cancel","href":"/api-reference/try-on-job-cancel"}]},{"group":"Video Background Removal","pages":[{"title":"Remove Video Background","openapi":"POST /v1/video/remove-background","href":"/api-reference/video-remove-background"},{"title":"Video Remove Background Job Status","openapi":"GET /v1/video/remove-background/job/{jobId}","href":"/api-reference/video-remove-background-job-status"},{"title":"Video Remove Background Job Cancel","openapi":"POST /v1/video/remove-background/job/{jobId}/cancel","href":"/api-reference/video-remove-background-job-cancel"}]},{"group":"Looping Video","pages":[{"title":"Looping Video","openapi":"POST /v1/video/loop","href":"/api-reference/video-loop"},{"title":"Looping Video Job Status","openapi":"GET /v1/video/loop/job/{jobId}","href":"/api-reference/video-loop-job-status"},{"title":"Looping Video Job Cancel","openapi":"POST /v1/video/loop/job/{jobId}/cancel","href":"/api-reference/video-loop-job-cancel"}]},{"title":"Get Credits","openapi":"GET /v1/credits","href":"/api-reference/get-credits"}]}]}]},"basePath":"","title":"Remove Background - Pixelcut Docs","buildId":"dpl_FGqRJUoJWfds4SqdfFGJ2v1vVNSs","deploymentId":"dpl_FGqRJUoJWfds4SqdfFGJ2v1vVNSs","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Us8B4Mzf.js","utils-Dv2Wyxzv.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CLOEZoDv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-xCe08nEy.js","snippetPresets-Cc_giFbY.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DafA3CKm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DsvMszM5.js","shallow-DfieQrKJ.js","getApiPlaygroundDisplay-BgvbqFlL.js","CodeSnippet-DFJsVHka.js","CodeSnippets-CcVa6za-.js","Page-7I7jezgZ.js","getPastedJson-MHp3jc8Z.js","icon-CUK0uq79.js","MethodPill-BXkAvnAk.js","DuplicateIcon-C9TFiQKm.js","createIcon-d5a1ep-A.js","DynamicMarkdown-v9H593Hz.js","SectionHeading-cxpy1bWG.js","axios-vUo_bRtp.js","Markdown-DpEtVC-e.js","clsx-DHc1bJzL.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Ct9D9ps9.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DuOJEEJm.js"]}