> Documentation index: https://api.veed.io/llms.txt. Fetch it to find every other page, as Markdown.

# VideoBackgroundRemovalGreenScreenInput

## Fields

- `output_codec` · enum · optional — 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. Accepts `vp9`, `h264`. Defaults to `"vp9"`.
- `spill_suppression_strength` · number · optional — How strongly green cast is removed from the kept subject. Raise it when green spots remain, lower it when colours shift on the subject. Between 0 and 1. Defaults to `0.8`.
- `video_url` · url · required — URL of the source video, shot against a green screen.

## JSON Schema

```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://static-assets.veed.io/api-examples/green-screen-input.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"
}
```

Rendered page: https://api.veed.io/reference/video-background-removal-green-screen-input
