Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jolaleye/altr-api
:wrench: (API) Transform your images, videos, and audio with ease
https://github.com/jolaleye/altr-api
Last synced: 7 days ago
JSON representation
:wrench: (API) Transform your images, videos, and audio with ease
- Host: GitHub
- URL: https://github.com/jolaleye/altr-api
- Owner: jolaleye
- License: mit
- Archived: true
- Created: 2019-01-30T23:15:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-10T18:01:15.000Z (over 5 years ago)
- Last Synced: 2024-06-11T02:04:19.257Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 207 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Altr API
## GET `/fetch?url=`
Proxy requests for media URLs. URLs may point directly to an image, video, or audio file, or to a YouTube video. Streams the result to the client.
## POST `/upload`
Post `multipart/form-data` with an image, video, or audio file under the key `file` and various options. Responds with the altered file.
### Image
**Supported formats:** jpg, png, tiff, webp
- `format`: output format
- `width`: output width
- `height`: output height
- `quality`: quality 1-100, applies to jpg, webp, and tiff
- `compression`: OptiPNG compression level (0-7), applies to png### Video
**Supported formats:** mp4, mov, wmv, avi, mkv, webm
- `format`: output format
- `width`: output width
- `height`: output height
- `start`: start time (s)
- `end`: end time (s)### Audio
**Supported formats:** mp3, wav, wma, avi, webm
- `format`: output format
- `start`: start time (s)
- `end`: end time (s)