Generate a screenshot of a website (by using a URL)
The demo below will extract a JPEG image from our homepage. Please use the /image/resize robot to resize and crop the image as required.
This demo uses:
- Our /html/convert robot, which takes screenshots of web pages or uploaded HTML pages
So many ways to integrate
Transloadit's versatility not only shines through in our diverse encoding features, but also in the ways that you can integrate with those. Would you like to handle your own file uploads? Or do you have a big library of files ready to be encoded? You leverage Transloadit's highly scalable encoding platform by letting us import from your source or post files directly from your server using a backend language. We have kits available for most platforms.
If there's no kit available for your platform, you can integrate with our REST API.
Perhaps you want Transloadit to also handle uploads? In this case take a look at our HTML integrations.
Notifying your server
Transloadit will then accept the upload on behalf of your site, process all the files
according to your instructions and export to your storage platform of choice. Your visitor will now be able to upload links to the results
(example) to your website's
This takes the pressure off your platform, and ensures the user will have a smooth experience.
Typically, it is advisable to save a record of the result in your database, so you will need to inspect the
POST payload that was sent to your
/uploads, or Notification URL. In PHP, that would look
Here is an example of our PHP SDK.
Here is an example of our Ruby SDK.
Here is an example of our Node.js SDK.
Here is an example of our Go SDK.
Instead of sending encoding instructions directly to Transloadit, you can also save them in
a secured way as a "Template". You can then refer to the
template_id in your
requests, making sure that secrets and instructions no longer have to be transmitted, which might be
a security risk in many cases.
Here is the 'raw' Template, in case you would like to save these instructions safely in your account.
Try it out
This particular demo does not rely on file uploads and is therefore usually not initiated from web browsers. However, everything is possible with Transloadit's versatile service, and we are more than happy to let you run this anyway.
Transloadit is a service for companies with developers. Visitors are welcome to do one-off media conversions but unfortunately we cannot provide support for that, sorry!