Generate a slideshow from AI-filtered images
In this day of mass storage on all our devices, it can be difficult and time-consuming to go through and filter all our images. In this demo, we aim to negate this annoyance by automatically detecting what objects are present in an image and creating a slideshow from the wanted images.
🤖/image/describe allows you to easily detect objects within a image. It can return a list of discovered objects as a text or JSON file, but in this demo we're passing the list to 🤖/file/filter so it can filter our images which do not include flowers.
Using 🤖/image/resize we can take all of our selected images from the
previous step and resize them to the same dimensions. From here we pass those images to
🤖/video/merge to generate a slideshow. To create a slide show simply
label all images as image using the as key, similarly, if you want to add a backing track, as we
have done using 🤖/http/import, simply label which audio file you want
to use as audio using the as key.
Step 1:
Handle uploads
We can handle uploads of your users directly.Learn more




":original": {
"robot": "/upload/handle"
}This bot receives uploads that your users throw at you from browser or apps, or that you throw at us programmatically
Step 2:
Recognize objects in images
We offer Artificial Intelligence as a service, so you don't have to run your own AI models or install complicated software.Learn more




"described": {
"use": ":original",
"robot": "/image/describe",
"result": true,
"format": "meta",
"granularity": "list",
"provider": "aws"
}This bot recognizes objects in images and returns them as English words
Step 3:
Filter files
We let you reject, or direct files against different encoding Steps.Learn more



"filtered": {
"use": "described",
"robot": "/file/filter",
"result": true,
"accepts": [
[
"${file.meta.descriptions}",
"includes",
"Flower"
]
]
}This bot directs files to different encoding Steps based on your conditions
Step 4:
Import files from web servers
We are happy to import from whatever storage solution suits you best.Learn more
"imported_audio": {
"robot": "/http/import",
"result": true,
"url": "https://demos.transloadit.com/inputs/joakim_karud-rock_angel.mp3"
}This bot imports any file that is publicly available via a web URL into Transloadit
Step 5:
Convert, resize, or watermark images
We can resize, crop, and (auto-)rotate images, or apply watermarks and other effects, and much more.Learn more



"resized": {
"use": "filtered",
"robot": "/image/resize",
"result": true,
"height": 768,
"resize_strategy": "fillcrop",
"width": 1024
}This bot resizes, crops, changes colorization, rotation, and applies text and watermarks to images
Step 6:
Merge video, audio, images into one video
We offer a variety of video encoding features like optimizing for different devices, merging, injecting ads, changing audio tracks, or adding company logos.Learn more
"merged": {
"use": {
"steps": [
{
"name": "imported_audio",
"as": "audio"
},
{
"name": "resized",
"as": "image"
}
],
"bundle_steps": true
},
"robot": "/video/merge",
"result": true,
"ffmpeg_stack": "v7",
"framerate": "1/3",
"preset": "ipad-high",
"resize_strategy": "fillcrop"
}This bot composes a new video by adding an audio track to existing still image(s) or video
Step 7:
Export files to Amazon S3
We export to the storage platform of your choice.Learn more
:original- https://demos.transloadit.com/d0/a319b0e2e941c099bda19385f989c6/flower1.jpg
- https://demos.transloadit.com/97/154b74255f4dfb9573b139bbcffa4d/flower3.jpg
- https://demos.transloadit.com/43/2ff7331a8d4e968ccee0c7fb91f804/flower2.jpg
- https://demos.transloadit.com/c2/16674397164694a9c18c0de11c8065/prinsengracht.jpg
described- https://demos.transloadit.com/d0/a319b0e2e941c099bda19385f989c6/flower1.jpg
- https://demos.transloadit.com/97/154b74255f4dfb9573b139bbcffa4d/flower3.jpg
- https://demos.transloadit.com/43/2ff7331a8d4e968ccee0c7fb91f804/flower2.jpg
- https://demos.transloadit.com/c2/16674397164694a9c18c0de11c8065/prinsengracht.jpg
filteredimported_audioresizedmerged"exported": {
"use": "merged",
"robot": "/s3/store",
"credentials": "demo_s3_credentials",
"url_prefix": "https://demos.transloadit.com/"
}This bot exports encoding results to Amazon S3
Live Demo. See for yourself
Loading Uppy demo…
This live demo is powered by
Uppy, our open source file uploader that you can also use without Transloadit, and
tus, our open protocol for resumable file uploads that is making uploading more reliable across the world.
Build this in your own language
<!-- This pulls Uppy from our CDN -->
<!-- For smaller self-hosted bundles, install Uppy and plugins manually: -->
<!-- npm i --save @uppy/core @uppy/dashboard @uppy/remote-sources @uppy/transloadit ... -->
<link
href="https://releases.transloadit.com/uppy/v3.10.0/uppy.min.css"
rel="stylesheet"
/>
<button id="browse">Select Files</button>
<script type="module">
import {
Uppy,
Dashboard,
ImageEditor,
RemoteSources,
Transloadit,
} from 'https://releases.transloadit.com/uppy/v3.10.0/uppy.min.mjs'
const uppy = new Uppy()
.use(Transloadit, {
waitForEncoding: true,
alwaysRunAssembly: true,
assemblyOptions: {
params: {
// It's often better store encoding instructions in your account
// and use a `template_id` instead of adding these steps inline
steps: {
':original': {
robot: '/upload/handle',
},
described: {
use: ':original',
robot: '/image/describe',
result: true,
format: 'meta',
granularity: 'list',
provider: 'aws',
},
filtered: {
use: 'described',
robot: '/file/filter',
result: true,
accepts: [['${file.meta.descriptions}', 'includes', 'Flower']],
},
imported_audio: {
robot: '/http/import',
result: true,
url: 'https://demos.transloadit.com/inputs/joakim_karud-rock_angel.mp3',
},
resized: {
use: 'filtered',
robot: '/image/resize',
result: true,
height: 768,
resize_strategy: 'fillcrop',
width: 1024,
},
merged: {
use: {
steps: [
{
name: 'imported_audio',
as: 'audio',
},
, {
name: 'resized',
as: 'image',
},
],
bundle_steps: true,
},
robot: '/video/merge',
result: true,
ffmpeg_stack: 'v7',
framerate: '1/3',
preset: 'ipad-high',
resize_strategy: 'fillcrop',
},
exported: {
use: 'merged',
robot: '/s3/store',
credentials: 'demo_s3_credentials',
url_prefix: 'https://demos.transloadit.com/',
},
},
},
},
})
.use(Dashboard, { trigger: '#browse' })
.use(ImageEditor, { target: Dashboard })
.use(RemoteSources, {
companionUrl: 'https://api2.transloadit.com/companion',
})
.on('complete', ({ transloadit }) => {
// Due to `waitForEncoding:true` this is fired after encoding is done.
// Alternatively, set `waitForEncoding` to `false` and provide a `notify_url`
console.log(transloadit) // Array of Assembly Statuses
for (const assembly of transloadit) {
console.log(assembly.results) // Array of all encoding results
}
})
.on('error', (error) => {
console.error(error)
})
</script>
So many ways to integrate
Transloadit is a service for companies with developers. And there are many ways developers can put Transloadit to good use inside your company to automate media processing.
Bulk imports
Add one of our import Robots to acquire and transcode massive media libraries.
Handling uploads
We are the experts at reliably handling uploads. We wrote the protocol for it.
Front-end integration
We integrate with web browsers via our next-gen file uploader Uppy and SDKs for Android and iOS.
Back-end integration
Send us batch jobs in any server language using one of our SDKs or directly interfacing with our REST API.
Pingbacks
Configure a notify_url to let your server receive transcoding results JSON in the transloadit POST field.
On-demand
Use our Smart CDN to adapt files on-demand and stream them directly to your users.