[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"spec-background-remover":3},{"host":4,"swagger":5,"info":6,"basePath":10,"consumes":11,"produces":13,"securityDefinitions":14,"tags":20,"paths":24,"definitions":205,"schemes":251},"api-bgremover.icons8.com","2.0",{"version":7,"title":8,"description":9},"1.0.0","Background Remover API","This is a public version of the Background Remover API","\u002Fapi",[12],"application\u002Fjson",[12],{"api-key":15},{"type":16,"name":17,"in":18,"description":19},"apiKey","Authorization","header","Your key is on the [API keys page](\u002Fapi-keys).",[21],{"name":22,"description":23},"Process images","Operations about process images",{"\u002Fv1\u002Fprocess_images":25,"\u002Fv1\u002Fprocess_image":85,"\u002Fv1\u002Fprocess_image\u002F{id}":147},{"get":26},{"description":27,"summary":28,"operationId":29,"tags":30,"security":31,"parameters":34,"responses":48},"Lists the images you sent through this API, newest first, page by page. Each image shows its state and, when background removal is finished, the result.","List your processed images","getV1ProcessImages",[22],[32],{"api-key":33},[],[35,43],{"name":36,"default":37,"minimum":37,"in":38,"description":39,"required":40,"type":41,"format":42},"page",1,"query","Page number",false,"integer","int32",{"name":44,"default":45,"minimum":37,"maximum":46,"in":38,"description":47,"required":40,"type":41,"format":42},"perPage",10,100,"Number of results per page. Max: 100",{"200":49,"401":79},{"description":50,"schema":51,"examples":53},"Response",{"$ref":52},"#\u002Fdefinitions\u002FMain_BatchImages",{"application\u002Fjson":54},{"total":55,"images":56},3,[57,67,71],{"id":58,"source":59,"processed":64,"status":65,"statusName":66},"5f6cea5d1744ceffd92c7a28",{"width":60,"height":61,"type":62,"url":63},1200,2400,".jpg","https:\u002F\u002Fimages-bgremover.icons8.com\u002F584\u002F32f5e562-bbbb-4d94-937a-f287df4eeb7f.jpg",null,0,"queue",{"id":68,"source":69,"processed":64,"status":37,"statusName":70},"5f6c73741744cea26cb2e5f0",{"width":60,"height":61,"type":62,"url":63},"processing",{"id":72,"source":73,"processed":74,"status":77,"statusName":78},"5f6c73731744cea26cb2e5ec",{"width":60,"height":61,"type":62,"url":63},{"width":60,"height":61,"type":75,"url":76},".png","https:\u002F\u002Fimages-bgremover.icons8.com\u002F143\u002Fc5e90f18-a2ae-4084-be5d-875a255f045b.png",2,"ready",{"description":80,"schema":81,"examples":83},"Unauthorized",{"$ref":82},"#\u002Fdefinitions\u002FAPIError",{"application\u002Fjson":84},{"error":80},{"get":86,"post":119},{"description":87,"summary":88,"operationId":89,"tags":90,"security":91,"parameters":94,"responses":105},"Removes the background from an image that the service downloads from a link. The link must lead straight to a JPEG, PNG or WebP image, because redirects are not followed. You get either the cut-out image or only its transparency mask. The work runs in the background, so the answer comes back at once, without a result. Check the image until it is ready.","Remove background from an image url","getV1ProcessImage",[22],[92],{"api-key":93},[],[95,100],{"name":96,"in":38,"required":97,"type":98,"description":99},"image_url",true,"string","http(s) URL of a jpeg, png or webp image",{"name":101,"in":38,"required":40,"type":98,"enum":102,"default":103},"result_type",[103,104],"image","alpha",{"200":106,"401":112,"422":116},{"description":50,"schema":107,"examples":109},{"$ref":108},"#\u002Fdefinitions\u002FMain_BatchImage",{"application\u002Fjson":110},{"id":58,"source":111,"processed":64,"status":65,"statusName":66},{"width":60,"height":61,"type":62,"url":63},{"description":80,"schema":113,"examples":114},{"$ref":82},{"application\u002Fjson":115},{"error":80},{"description":117,"schema":118},"Unprocessable error",{"$ref":82},{"description":120,"summary":121,"operationId":122,"tags":123,"consumes":124,"security":126,"parameters":129,"responses":135},"Removes the background from a JPEG, PNG or WebP file that you upload. You get either the cut-out image or only its transparency mask. The work runs in the background, so the answer comes back at once, without a result. Check the image until it is ready.","Remove background from an uploaded image","postV1ProcessImage",[22],[125],"multipart\u002Fform-data",[127],{"api-key":128},[],[130,133],{"name":103,"in":131,"required":97,"type":132},"formData","file",{"name":101,"in":131,"required":40,"type":98,"enum":134,"default":103},[103,104],{"201":136,"401":141,"422":145},{"description":50,"schema":137,"examples":138},{"$ref":108},{"application\u002Fjson":139},{"id":58,"source":140,"processed":64,"status":65,"statusName":66},{"width":60,"height":61,"type":62,"url":63},{"description":80,"schema":142,"examples":143},{"$ref":82},{"application\u002Fjson":144},{"error":80},{"description":117,"schema":146},{"$ref":82},{"get":148,"delete":176},{"description":149,"summary":150,"operationId":151,"tags":152,"security":153,"parameters":156,"responses":160},"Shows the state of an image and, when background removal is finished, the result as a PNG. An image waits in the queue, then runs, then ends as ready or as an error. A failed image does not change again; send it again to retry. Only the images you sent through this API are found.","Get a processed image","getV1ProcessImageId",[22],[154],{"api-key":155},[],[157],{"name":158,"in":159,"required":97,"type":98},"id","path",{"200":161,"401":167,"404":171},{"description":50,"schema":162,"examples":163},{"$ref":108},{"application\u002Fjson":164},{"id":58,"source":165,"processed":166,"status":77,"statusName":78},{"width":60,"height":61,"type":62,"url":63},{"width":60,"height":61,"type":75,"url":76},{"description":80,"schema":168,"examples":169},{"$ref":82},{"application\u002Fjson":170},{"error":80},{"description":172,"schema":173,"examples":174},"Image not found",{"$ref":82},{"application\u002Fjson":175},{"error":172},{"description":177,"summary":178,"operationId":179,"tags":180,"security":181,"parameters":184,"responses":186},"Deletes an image together with its original and its result. Only an image in the ready state can be deleted. After the delete, the image can no longer be found.","Delete a processed image","deleteV1ProcessImageId",[22],[182],{"api-key":183},[],[185],{"name":158,"in":159,"required":97,"type":98},{"200":187,"401":192,"403":196,"404":201},{"description":50,"schema":188,"examples":190},{"$ref":189},"#\u002Fdefinitions\u002FSuccessfulOperation",{"application\u002Fjson":191},{"success":97},{"description":80,"schema":193,"examples":194},{"$ref":82},{"application\u002Fjson":195},{"error":80},{"description":197,"schema":198,"examples":199},"Image not ready",{"$ref":82},{"application\u002Fjson":200},{"error":197},{"description":172,"schema":202,"examples":203},{"$ref":82},{"application\u002Fjson":204},{"error":172},{"Main_BatchImage":206,"Main_BatchImages":223,"Asset":232,"SuccessfulOperation":240,"APIError":246},{"type":207,"required":208,"properties":211},"object",[158,209,210],"status","statusName",{"id":212,"filename":213,"source":214,"processed":216,"status":217,"statusName":219},{"type":98},{"type":98},{"$ref":215},"#\u002Fdefinitions\u002FAsset",{"$ref":215},{"type":41,"format":42,"description":218},"0 queue, 1 processing, 2 ready, 3 overuse, 4 error",{"type":98,"enum":220},[66,70,78,221,222],"overuse","error",{"type":207,"required":224,"properties":227},[225,226],"total","images",{"total":228,"images":229},{"type":41,"format":42},{"type":230,"items":231},"array",{"$ref":108},{"type":207,"properties":233},{"width":234,"height":235,"type":236,"url":237,"thumb_url":238,"thumb2x_url":239},{"type":41,"format":42},{"type":41,"format":42},{"type":98},{"type":98},{"type":98},{"type":98},{"type":207,"required":241,"properties":243},[242],"success",{"success":244},{"type":245,"example":97},"boolean",{"type":207,"description":247,"properties":248},"APIError model",{"error":249},{"type":98,"example":250},"Error",[252],"https"]