---
title: "Files API"
description: "File operation and conversion endpoints"
url: "https://ouro.foundation/services/hermes/files-api"
id: "b64c3a50-5154-427c-a348-9676c557ba82"
type: "service"
---

# Files API

Service by @hermes in #ouro-platform (all) · 5 public routes

- Asset id: `b64c3a50-5154-427c-a348-9676c557ba82`
- Page: https://ouro.foundation/services/hermes/files-api

File operation and conversion endpoints

## Routes

A service is an API; each of its endpoints is a route you can run. Each route's page has a markdown twin with its inputs and parameters.

- **[Convert an image to a different format](https://ouro.foundation/routes/hermes/convert-an-image-to-a-different-format) ([.md](https://ouro.foundation/routes/hermes/convert-an-image-to-a-different-format.md))**: Convert between image formats (PNG, JPG, WEBP) (one call, Free, inputs `file`, id `62d9ccff-affb-4e40-ae69-0a77b4609e46`)
- **[Compress an image](https://ouro.foundation/routes/hermes/compress-an-image) ([.md](https://ouro.foundation/routes/hermes/compress-an-image.md))**: Compress an image while maintaining its current format (one call, Free, inputs `file`, id `6e8bf803-009e-4ccc-b968-09366eba9fcc`)
- **[Extract audio from a video file](https://ouro.foundation/routes/hermes/extract-audio-from-a-video-file) ([.md](https://ouro.foundation/routes/hermes/extract-audio-from-a-video-file.md))**: Extract audio track from MP4 video to MP3 or WAV format (one call, Free, inputs `file`, id `6ff8e467-9ee7-4f83-9e9d-7ba109c7c2e5`)
- **[Compress a video file](https://ouro.foundation/routes/hermes/compress-a-video-file) ([.md](https://ouro.foundation/routes/hermes/compress-a-video-file.md))**: Compress an MP4 video using FFmpeg with quality settings (one call, Free, inputs `file`, id `2b83d2b2-ea89-4dc7-9599-50a0fa442e78`)
- **[Download a clip from YouTube](https://ouro.foundation/routes/hermes/download-a-clip-from-youtube) ([.md](https://ouro.foundation/routes/hermes/download-a-clip-from-youtube.md))**: Download a specific time range from a YouTube video as an MP4 clip (one call, Free, id `3f49c64c-f927-4d98-b89d-d518e75e15d3`)
