Convert any video to animated GIF

Step 1:

Handle uploadsHandle uploads

We can handle uploads of your users directly.Learn more

surf.mp4

Video – 32 MB

22s · 1280 × 720

":original": {
  "robot": "/upload/handle"
}

/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:

Extract thumbnails from videosExtract thumbnails from videos

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

surf_0.jpg
surf_0.jpg

Image – 5.0 KB

250 × 140

surf_1.jpg
surf_1.jpg

Image – 4.8 KB

250 × 140

surf_2.jpg
surf_2.jpg

Image – 4.8 KB

250 × 140

surf_3.jpg
surf_3.jpg

Image – 4.7 KB

250 × 140

surf_4.jpg
surf_4.jpg

Image – 5.0 KB

250 × 140

surf_5.jpg
surf_5.jpg

Image – 5.3 KB

250 × 140

surf_6.jpg
surf_6.jpg

Image – 5.3 KB

250 × 140

surf_7.jpg
surf_7.jpg

Image – 5.4 KB

250 × 140

surf_8.jpg
surf_8.jpg

Image – 5.4 KB

250 × 140

surf_9.jpg
surf_9.jpg

Image – 5.6 KB

250 × 140

surf_10.jpg
surf_10.jpg

Image – 5.7 KB

250 × 140

surf_11.jpg
surf_11.jpg

Image – 5.9 KB

250 × 140

surf_12.jpg
surf_12.jpg

Image – 5.9 KB

250 × 140

surf_13.jpg
surf_13.jpg

Image – 5.6 KB

250 × 140

surf_14.jpg
surf_14.jpg

Image – 5.2 KB

250 × 140

surf_15.jpg
surf_15.jpg

Image – 4.9 KB

250 × 140

surf_16.jpg
surf_16.jpg

Image – 4.8 KB

250 × 140

surf_17.jpg
surf_17.jpg

Image – 4.5 KB

250 × 140

surf_18.jpg
surf_18.jpg

Image – 4.3 KB

250 × 140

surf_19.jpg
surf_19.jpg

Image – 4.4 KB

250 × 140

surf_20.jpg
surf_20.jpg

Image – 4.6 KB

250 × 140

surf_21.jpg
surf_21.jpg

Image – 4.7 KB

250 × 140

surf_22.jpg
surf_22.jpg

Image – 4.8 KB

250 × 140

surf_23.jpg
surf_23.jpg

Image – 4.7 KB

250 × 140

surf_24.jpg
surf_24.jpg

Image – 4.5 KB

250 × 140

surf_25.jpg
surf_25.jpg

Image – 4.4 KB

250 × 140

surf_26.jpg
surf_26.jpg

Image – 4.5 KB

250 × 140

surf_27.jpg
surf_27.jpg

Image – 4.4 KB

250 × 140

surf_28.jpg
surf_28.jpg

Image – 4.2 KB

250 × 140

surf_29.jpg
surf_29.jpg

Image – 4.2 KB

250 × 140

surf_30.jpg
surf_30.jpg

Image – 4.4 KB

250 × 140

surf_31.jpg
surf_31.jpg

Image – 4.4 KB

250 × 140

surf_32.jpg
surf_32.jpg

Image – 4.6 KB

250 × 140

surf_33.jpg
surf_33.jpg

Image – 4.5 KB

250 × 140

surf_34.jpg
surf_34.jpg

Image – 4.5 KB

250 × 140

surf_35.jpg
surf_35.jpg

Image – 4.7 KB

250 × 140

surf_36.jpg
surf_36.jpg

Image – 4.7 KB

250 × 140

surf_37.jpg
surf_37.jpg

Image – 4.7 KB

250 × 140

surf_38.jpg
surf_38.jpg

Image – 4.7 KB

250 × 140

surf_39.jpg
surf_39.jpg

Image – 4.5 KB

250 × 140

surf_40.jpg
surf_40.jpg

Image – 4.6 KB

250 × 140

surf_41.jpg
surf_41.jpg

Image – 4.5 KB

250 × 140

surf_42.jpg
surf_42.jpg

Image – 4.3 KB

250 × 140

surf_43.jpg
surf_43.jpg

Image – 4.0 KB

250 × 140

surf_44.jpg
surf_44.jpg

Image – 3.9 KB

250 × 140

surf_45.jpg
surf_45.jpg

Image – 3.9 KB

250 × 140

surf_46.jpg
surf_46.jpg

Image – 4.1 KB

250 × 140

surf_47.jpg
surf_47.jpg

Image – 4.2 KB

250 × 140

surf_48.jpg
surf_48.jpg

Image – 4.3 KB

250 × 140

surf_49.jpg
surf_49.jpg

Image – 4.4 KB

250 × 140

"thumbnailed": {
  "use": ":original",
  "robot": "/video/thumbs",
  "result": true,
  "count": 50,
  "ffmpeg_stack": "v7",
  "resize_strategy": "fit",
  "width": 250
}

/video/thumbs

This bot extracts any number of images from videos for use as previews

Step 3:

Merge video, audio, images into one videoMerge 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

surf_2.gif
surf_2.gif

Image – 787 KB

8s · 250 × 140

"animated": {
  "use": {
    "steps": [
      {
        "name": "thumbnailed",
        "as": "image"
      }
    ]
  },
  "robot": "/video/merge",
  "result": true,
  "duration": 7.8,
  "ffmpeg": {
    "r": 10,
    "f": "gif",
    "pix_fmt": "rgb24"
  },
  "ffmpeg_stack": "v7",
  "framerate": 10,
  "preset": "empty",
  "resize_strategy": "pad"
}

/video/merge

This bot composes a new video by adding an audio track to existing still image(s) or video

Step 4:

Export files to Amazon S3Export files to Amazon S3

We export to the storage platform of your choice.Learn more

:original
thumbnailed
animated
"exported": {
  "use": [
    ":original",
    "thumbnailed",
    "animated"
  ],
  "robot": "/s3/store",
  "credentials": "demo_s3_credentials",
  "url_prefix": "https://demos.transloadit.com/"
}

/s3/store

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',
            },
            thumbnailed: {
              use: ':original',
              robot: '/video/thumbs',
              result: true,
              count: 50,
              ffmpeg_stack: 'v7',
              resize_strategy: 'fit',
              width: 250,
            },
            animated: {
              use: {
                steps: [{
                  name: 'thumbnailed',
                  as: 'image',
                }],
              },
              robot: '/video/merge',
              result: true,
              duration: 7.8,
              ffmpeg: {
                r: 10,
                f: 'gif',
                pix_fmt: 'rgb24',
              },
              ffmpeg_stack: 'v7',
              framerate: 10,
              preset: 'empty',
              resize_strategy: 'pad',
            },
            exported: {
              use: [':original', 'thumbnailed', 'animated'],
              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>

Read docs: Browsers

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.

Other cool demos

Try Transloadit

Ready to get started?

Join thousands of developers who trust Transloadit for their file processing needs.
Building file processing from scratch
Ready-to-use API & SDKs
Scaling infrastructure headaches
Auto-scaling global infrastructure
Managing codec updates
Always up-to-date processing
Handling file security
Enterprise-grade security
Supporting all file formats
1000+ formats & codecs supported
Unpredictable costs
Transparent pricing
GDPR
HIPAA
ISO 27001ISO27001
AES-256
SOC 2 Type II
No credit card needed · 5 GB included in the free plan