API
← All schemas

VideoBackgroundRemovalGreenScreenInput

Fields

output_codecenumoptional

Output encoding. vp9 (the default) yields a single webm video with an alpha channel; h264 yields two files (the RGB video and an alpha matte) and is recommended for better RGB quality.

vp9h264Defaults to "vp9".
spill_suppression_strengthnumberoptional

How strongly green cast is removed from the kept subject. Raise it when green spots remain, lower it when colours shift on the subject.

Defaults to 0.8.
video_urlurlrequired

URL of the source video, shot against a green screen.

Must be an http(s) URL.

JSON Schema

VideoBackgroundRemovalGreenScreenInput.json
{
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "description": "A URL to the JSON Schema for this object.",
      "examples": [
        "https://api.veed.io/schemas/VideoBackgroundRemovalGreenScreenInput.json"
      ],
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "output_codec": {
      "default": "vp9",
      "description": "Output encoding. vp9 (the default) yields a single webm video with an alpha channel; h264 yields two files (the RGB video and an alpha matte) and is recommended for better RGB quality.",
      "enum": [
        "vp9",
        "h264"
      ],
      "examples": [
        "vp9"
      ],
      "type": "string"
    },
    "spill_suppression_strength": {
      "default": 0.8,
      "description": "How strongly green cast is removed from the kept subject. Raise it when green spots remain, lower it when colours shift on the subject.",
      "format": "double",
      "maximum": 1,
      "minimum": 0,
      "type": "number"
    },
    "video_url": {
      "description": "URL of the source video, shot against a green screen.",
      "examples": [
        "https://media.veed.io/in.mp4"
      ],
      "format": "uri",
      "maxLength": 8192,
      "minLength": 1,
      "pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
      "patternDescription": "an http(s) URL",
      "type": "string"
    }
  },
  "required": [
    "video_url"
  ],
  "type": "object"
}