Adobe · Schema

RefineMaskRequest

E-SignatureAdobeFortune 1000AnalyticsCreative CloudDigital Asset ManagementDocument ServicesE-CommerceExperience CloudGenerative AIMarketingPDFWork ManagementImage Generation

Properties

Name Type Description
image object The input image.
mask object The mask in the input image that needs to be refined.
colorDecontamination boolean When `true`, this returns an RGBA image where the masked area has been further refined with color decontamination. A `false` value (default) means that the output will simply be the refined mask.
View JSON Schema on GitHub

JSON Schema

adobe-refine-mask-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adobe/json-schema/adobe-refine-mask-request-schema.json",
  "title": "RefineMaskRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adobe-photoshop-openapi.yml#/components/schemas/RefineMaskRequest",
  "type": "object",
  "properties": {
    "image": {
      "description": "The input image.",
      "allOf": [
        {
          "$ref": "#/$defs/RefineMaskInputImage"
        }
      ]
    },
    "mask": {
      "description": "The mask in the input image that needs to be refined.",
      "allOf": [
        {
          "$ref": "#/$defs/RefineMaskInputImage"
        }
      ]
    },
    "colorDecontamination": {
      "type": "boolean",
      "description": "When `true`, this returns an RGBA image where the masked area has been further refined with color decontamination. A `false` value (default) means that the output will simply be the refined mask.",
      "default": false
    }
  },
  "required": [
    "image",
    "mask"
  ],
  "$defs": {
    "RefineMaskInputImage": {
      "type": "object",
      "properties": {
        "source": {
          "description": "The source of the input image. Dimensions of the image should not be greater than (4000px X 4000px).",
          "allOf": [
            {
              "$ref": "#/$defs/UrlResource"
            }
          ]
        }
      },
      "required": [
        "source"
      ]
    },
    "UrlResource": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "The URL of the resource. Only these listed domains are accepted in the request:  \n  <ul><li><code>amazonaws.com</code></li><li><code>windows.net</code></li><li><code>dropboxusercontent.com</code></li><li><code>assets.frame.io</code></li><li><code>storage.googleapis.com</code></li></ul>"
        }
      },
      "required": [
        "url"
      ]
    }
  }
}

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/adobe-refine-mask-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.