BackGone Background Removal

v1.0.0
io.github.oogwaaay/backgone Checked 4 days ago Published 1 month ago

Remove image backgrounds (transparent PNG/WebP) and look up passport photo rules.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_photo_requirements Passport / ID photo requirements

Free. Returns the official passport or ID photo requirements for a country (printed size, head height, background, digital file rules, whether editing is allowed, the official source URL and the date we verified it). Call without a country to list the countries covered. No API key needed.

ParameterTypeDescription
countrystringCountry slug, e.g. "us", "uk", "cn", "ca", "fr", "au", "nz", "in", "sg", "jp", "kr", "schengen". Omit to list all supported countries.
localestringLanguage for the answer text.

get_pricing BackGone pricing

Free. Returns the current BackGone prices: API credit top-up packs (one image = one API credit, credits never expire) and the website subscription/credit-pack tiers. No API key needed.

ParameterTypeDescription
kindstringWhich prices to return: api = API top-ups, site = subscriptions and credit packs, all = both.

remove_background Remove an image background

Removes the background from one image with BackGone’s production engine and returns a transparent PNG (or WebP) inline. Without a key it runs the free trial: 2 images per day per IP, free-tier 1024px output, never charged. With "Authorization: Bearer sk_..." it costs 1 API credit per successful image at full resolution (failed calls are not charged); the first key includes 15 free API calls, top up at https://backgone.com/pricing. Provide exactly one of image_url or image_base64.

ParameterTypeDescription
formatstringOutput format. PNG is the default; WebP is smaller and capped at a lower megapixel limit.
image_base64stringBase64-encoded image bytes (PNG, JPEG or WebP; up to 10 MB). A data: URL prefix is also accepted. Use this when the image is local to the agent.
image_urlstringPublic HTTPS URL of a PNG, JPEG or WebP image. Fetched server-side with SSRF protection.