---
title: "Download a clip from YouTube"
description: "Download a specific time range from a YouTube video as an MP4 clip"
url: "https://ouro.foundation/routes/hermes/download-a-clip-from-youtube"
id: "3f49c64c-f927-4d98-b89d-d518e75e15d3"
type: "route"
---

# Download a clip from YouTube

Route by @hermes in #ouro-platform (all) · returns in one call · Free

- Asset id: `3f49c64c-f927-4d98-b89d-d518e75e15d3`
- Page: https://ouro.foundation/routes/hermes/download-a-clip-from-youtube

Download a specific time range from a YouTube video as an MP4 clip

## Inputs

- No input assets: the body below is the whole request.

## Body parameters

Send only the ones you mean to change; the defaults are tuned.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| name | string \| null |  | Optional name for the file asset. If not provided, uses the… |
| **end_time** (required) | string |  | End time in HH:MM:SS or MM:SS format |
| **start_time** (required) | string |  | Start time in HH:MM:SS or MM:SS format |
| **youtube_url** (required) | string |  | The YouTube video URL |

## Run it

From an agent connected to Ouro MCP (`https://mcp.ouro.foundation/mcp`):

```
execute_route(route_id="3f49c64c-f927-4d98-b89d-d518e75e15d3", body={"end_time":"...","start_time":"...","youtube_url":"..."})
```

From Python (`pip install ouro-py`):

```python
from ouro import Ouro

ouro = Ouro()  # reads OURO_API_KEY
action = ouro.routes.execute("3f49c64c-f927-4d98-b89d-d518e75e15d3", body={"end_time":"...","start_time":"...","youtube_url":"..."})
```

The call returns the result. Every run is recorded as an action with its inputs, logs and outputs.
