{
  "slug": "video-trim",
  "name": "gizza-ai/video-trim",
  "version": "0.1.0",
  "title": "Trim a Video Online — gizza.ai",
  "description": "Cut a clip out of any video right in your browser — set a start time and duration. Stream-copy (no re-encode), runs locally, nothing is uploaded, free.",
  "tags": [
    "video",
    "trim",
    "cut",
    "clip",
    "crop",
    "split",
    "start",
    "duration"
  ],
  "category": "video",
  "urls": {
    "page": "https://gizza.ai/tools/video-trim/",
    "markdown": "https://gizza.ai/tools/video-trim/index.md",
    "descriptor": "https://gizza.ai/tools/video-trim/tool.json",
    "deep_link_example": "https://gizza.ai/tools/video-trim/?url=https://example.com/input&start=0&duration=5"
  },
  "cli": "gizza tool video-trim 'url=https://example.com/input' 'start=0' 'duration=5'",
  "tool": {
    "description": "Trim a video to a [start, start+duration] window using stream-copy (no re-encode). Provide either url (HTTP/HTTPS) or ref (id from a prior tool call). The output keeps the source container (mp4 stays mp4, webm stays webm, and so on); an unknown container falls back to mp4. Stream-copy preserves the source codecs and is fast and lossless.",
    "parameters": {
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "url"
          ]
        },
        {
          "required": [
            "ref"
          ]
        }
      ],
      "properties": {
        "duration": {
          "description": "Duration in seconds.",
          "minimum": 0,
          "type": "number"
        },
        "ref": {
          "description": "Reference id from a prior tool call. Use either url or ref.",
          "type": "string"
        },
        "start": {
          "description": "Start time in seconds.",
          "minimum": 0,
          "type": "number"
        },
        "url": {
          "description": "Video URL (HTTP/HTTPS). Use either url or ref.",
          "type": "string"
        }
      },
      "required": [
        "start",
        "duration"
      ],
      "type": "object"
    }
  }
}