{
  "slug": "video-resize",
  "name": "gizza-ai/video-resize",
  "version": "0.1.0",
  "title": "Resize a Video Online — Scale Resolution — gizza.ai",
  "description": "Scale a video to a target resolution right in your browser — set width and/or height, aspect ratio preserved. Re-encodes locally with ffmpeg, nothing is uploaded, free.",
  "tags": [
    "resize video",
    "scale video",
    "video resolution",
    "downscale video",
    "ffmpeg"
  ],
  "category": "video",
  "urls": {
    "page": "https://gizza.ai/tools/video-resize/",
    "markdown": "https://gizza.ai/tools/video-resize/index.md",
    "descriptor": "https://gizza.ai/tools/video-resize/tool.json",
    "deep_link_example": "https://gizza.ai/tools/video-resize/?url=https://example.com/input&width=1280"
  },
  "cli": "gizza tool video-resize 'url=https://example.com/input' 'width=1280'",
  "tool": {
    "description": "Scale a video to a target resolution. Give width and/or height in pixels; omit one to preserve the aspect ratio (the omitted side is computed to an even number). Provide the video as either url (HTTP/HTTPS) or ref. Note: runs on the standalone page and the CLI (chat ffmpeg is unavailable).",
    "parameters": {
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "url"
          ]
        },
        {
          "required": [
            "ref"
          ]
        }
      ],
      "properties": {
        "height": {
          "description": "Target height in pixels. Omit to scale by width, preserving aspect ratio.",
          "minimum": 1,
          "type": "integer"
        },
        "ref": {
          "description": "Reference id from a prior tool call. Use either url or ref.",
          "type": "string"
        },
        "url": {
          "description": "Video URL (HTTP/HTTPS). Use either url or ref.",
          "type": "string"
        },
        "width": {
          "description": "Target width in pixels. Omit to scale by height, preserving aspect ratio.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}