snipmat · Schema

RemoveBgRequest

CompanyArtificial IntelligenceBackground RemovalImage Processing

Properties

Name Type Description
image_file string Image file (png/jpeg/webp, ≤25MB, ≤32MP)
image_url string Fetch the image from a public URL instead of uploading
image_file_b64 string Base64-encoded image as an alternative to image_file
model string general = best all-round incl. people/hair, opens enclosed holes automatically (default); dis = alternative BiRefNet-DIS model — try it only if general misses something on a product, not for people; l
size string auto/full = full resolution (free!), preview = ≤0.25MP
format string auto = png. zip = color.jpg + alpha.png (remove.bg-compatible)
channels string alpha returns only the mask as a grayscale PNG
bg_color string Hex background color, e.g. 81d4fa or #81d4faee
bg_image_url string Public URL of an image to place behind the subject
crop boolean Crop the canvas to the subject
scale string Subject scale, e.g. "80%" (10–100)
position string
keep_largest boolean Keep only the largest connected component (drop stray blobs)
View JSON Schema on GitHub

JSON Schema

snipmat-com-remove-bg-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snipmat-com/json-schema/snipmat-com-remove-bg-request-schema.json",
  "title": "RemoveBgRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snipmat-com-openapi.yml#/components/schemas/RemoveBgRequest",
  "type": "object",
  "properties": {
    "image_file": {
      "type": "string",
      "description": "Image file (png/jpeg/webp, ≤25MB, ≤32MP)",
      "format": "binary"
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "description": "Fetch the image from a public URL instead of uploading"
    },
    "image_file_b64": {
      "type": "string",
      "description": "Base64-encoded image as an alternative to image_file"
    },
    "model": {
      "type": "string",
      "enum": [
        "general",
        "lite",
        "dis"
      ],
      "default": "general",
      "description": "general = best all-round incl. people/hair, opens enclosed holes automatically (default); dis = alternative BiRefNet-DIS model — try it only if general misses something on a product, not for people; lite = faster, smaller model"
    },
    "size": {
      "type": "string",
      "enum": [
        "auto",
        "preview",
        "full"
      ],
      "default": "auto",
      "description": "auto/full = full resolution (free!), preview = ≤0.25MP"
    },
    "format": {
      "type": "string",
      "enum": [
        "auto",
        "png",
        "jpg",
        "webp",
        "zip"
      ],
      "default": "auto",
      "description": "auto = png. zip = color.jpg + alpha.png (remove.bg-compatible)"
    },
    "channels": {
      "type": "string",
      "enum": [
        "rgba",
        "alpha"
      ],
      "default": "rgba",
      "description": "alpha returns only the mask as a grayscale PNG"
    },
    "bg_color": {
      "type": "string",
      "description": "Hex background color, e.g. 81d4fa or #81d4faee"
    },
    "bg_image_url": {
      "type": "string",
      "format": "uri",
      "description": "Public URL of an image to place behind the subject"
    },
    "crop": {
      "type": "boolean",
      "default": false,
      "description": "Crop the canvas to the subject"
    },
    "scale": {
      "type": "string",
      "description": "Subject scale, e.g. \"80%\" (10–100)"
    },
    "position": {
      "type": "string",
      "enum": [
        "original",
        "center"
      ],
      "default": "original"
    },
    "keep_largest": {
      "type": "boolean",
      "default": false,
      "description": "Keep only the largest connected component (drop stray blobs)"
    }
  },
  "required": [
    "image_file"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/snipmat-com-remove-bg-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.