llms.txt Content
# Transloadit
> Transloadit is a versatile file uploading and processing API that allows developers to create complex media processing workflows through declarative JSON recipes called Assembly Instructions.
## Uploading and importing (INPUT)
Transloadit handles file uploads over XHR or tus.io (our open source protocol for resumable file uploads) and can process files through various "Robots" (specialized processing steps) that can be chained together to create customized workflows.
## Encoding workflows (PROCESS)
Assembly Instructions at a glance:
```json
{
"steps": {
":original": {
"robot": "/upload/handle"
},
"browser720_webm_encoded": {
"use": ":original",
"robot": "/video/encode",
"preset": "webm",
"width": 1280,
"height": 720
},
"browser720_h264_encoded": {
"use": ":original",
"robot": "/video/encode",
"preset": "mp4",
"width": 1280,
"height": 720
},
"thumbed": {
"use": "browser720_h264_encoded",
"robot": "/video/thumbs",
"width": 1280,
"height": 720,
"format": "jpg",
"resize_strategy": "fit",
"count": 1,
},
"exported": {
"use": ["browser720_webm_encoded", "browser720_h264_encoded", "thumbed", ":original"],
"robot": "/s3/store",
"credentials": "demo_s3_credentials",
"url_prefix": "https://demos.transloadit.com/"
}
}
}
```
As you can see, our features are called Robots, and each Step inside
the Assembly Instructions can refer one. Robots can pass files to each other
with the `use` keyword. This means you can create complex workflows
unique to your application.
## Exporting to cloud storage or downloading results (OUTPUT)
Transloadit can export to all the major cloud storage providers.
Customers first need to store their credentials in their Transloadit account and
then refer to them in the Assembly Instructions.
Alternatively, Transloadit keeping 24h of temporary storage, you ca