{"server":"NukeBG","checked":"2026-11-22","tools":[{"name":"erase_objects","title":"Remove objects","description":"Remove objects from a photo by describing them, for example \"the cables on the desk\" or \"the person on the left\". The rest of the image is kept pixel for pixel. Costs 25 credits (enhance 40, paid credits).","inputSchema":{"type":"object","properties":{"image_url":{"type":"string","format":"uri","description":"Public http(s) URL of a JPG, PNG or WebP image (up to 25 MB). NukeBG downloads the image itself."},"image_base64":{"type":"string","description":"The image as base64 (or a data: URL), if there is no public URL. Prefer image_url for large files."},"prompt":{"type":"string","description":"What to remove, in plain words."},"quality":{"type":"string","enum":["fast","enhance"],"description":"fast (default) or enhance for harder scenes."},"format":{"type":"string","enum":["png","webp","jpg"],"description":"Output format. png keeps transparency everywhere; webp is smaller; jpg has no transparency."}},"required":["prompt"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"get_credits","title":"Credit balance","description":"Show the NukeBG credit balance (free, subscription and paid) and plan for this API key.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"annotations":{"readOnlyHint":true,"openWorldHint":false}},{"name":"remove_background","title":"Remove background","description":"Remove the background from an image and return a transparent PNG/WebP, or place the subject on white, a colour, a gradient or a built-in scene, optionally at a marketplace size (Amazon, Shopify, Etsy, eBay, Instagram). Costs 1 credit (hd 2, ultra 4); free credits export up to 2 MP.","inputSchema":{"type":"object","properties":{"image_url":{"type":"string","format":"uri","description":"Public http(s) URL of a JPG, PNG or WebP image (up to 25 MB). NukeBG downloads the image itself."},"image_base64":{"type":"string","description":"The image as base64 (or a data: URL), if there is no public URL. Prefer image_url for large files."},"background":{"type":"string","description":"transparent (default), white, a hex colour such as #F5F5F5, gradient:#a,#b, or scene:<id> with one of: plinth, marble, linen, pastel, noir, garden, kitchen, concrete, signal, festive."},"size":{"type":"string","enum":["original","amazon","shopify","etsy","ebay","instagram","story"],"description":"original: Same pixels as your upload; amazon: 2000², pure white, product fills ~85%; shopify: 2048² square, zoom-ready; etsy: 2000×1600, 5:4 thumbnail-safe; ebay: 1600², white; instagram: 1080×1350 portrait post; story: 1080×1920 vertical"},"quality":{"type":"string","enum":["preview","standard","hd","ultra"],"description":"preview 0.25 MP, standard 4 MP (default), hd 25 MP, ultra 50 MP. hd and ultra need paid credits."},"format":{"type":"string","enum":["png","webp","jpg"],"description":"Output format. png keeps transparency everywhere; webp is smaller; jpg has no transparency."},"shadow":{"type":"string","enum":["none","soft","contact"],"description":"Add a shadow under the subject when it's placed on a background."},"crop":{"type":"boolean","description":"Trim the result to the subject."},"subject":{"type":"string","enum":["all","main"],"description":"main drops small stray objects and keeps the main subject."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"upscale_image","title":"Upscale image","description":"Upscale an image 2× (source up to 16 MP, 2 credits) or 4× (source up to 4 MP, 4 credits) with Real-ESRGAN. Needs paid credits.","inputSchema":{"type":"object","properties":{"image_url":{"type":"string","format":"uri","description":"Public http(s) URL of a JPG, PNG or WebP image (up to 25 MB). NukeBG downloads the image itself."},"image_base64":{"type":"string","description":"The image as base64 (or a data: URL), if there is no public URL. Prefer image_url for large files."},"scale":{"type":"integer","enum":[2,4],"description":"2 (default) or 4."},"format":{"type":"string","enum":["png","webp","jpg"],"description":"Output format. png keeps transparency everywhere; webp is smaller; jpg has no transparency."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}}]}