You appear to be offline, some content may be unavailable.
Cloudinary shows off its APIs with an interactive demo
We designed and developed a responsive, performant, and accessible demo to explain and showcase how Cloudinary’s APIs help developers solve common problems. The demo increased engagement on the page it was embedded on by over 400% and improved the quality of visitor conversions.
You can try the demo for yourself right here (this isn’t a screenshot):
An un-cropped image overlaid with a cropping window showing how it would be cropped by Cloudinary.
An arrow pointing from the original asset to the cropped asset.
The same asset cropped using the following settings:
Aspect ratio: 1:2.
Cropping Strategy: Content-Aware.
Original
18 MB
We’re showing a resized version of the original asset to avoid slow loading speeds. View the original.
The original asset:
JPG
135 KB
WEBP
135 KB
AVIF
90 KB
The image after being optimized using the following settings:
Quality: Auto.
Width: 1000px.
Original
18 MB
We’re showing a resized version of the original asset to avoid slow loading speeds. View the original.
The original asset:
JPG
135 KB
WEBP
135 KB
AVIF
90 KB
The image after being optimized using the following settings:
Quality: Auto.
Width: 1000px.
The original image:An arrow pointing from the original asset to the transformed asset.
The personalized image:
The original image:
The personalized image:
Duration
Full length video: Surfing TripAn arrow pointing from the original video to the AI-generated preview.
Duration
A shorter video preview generated by Cloudinary’s AI using the following settings:
Duration: 15 seconds.
Max Clips: 9.
Min Clip Length: 1
second.
We included an interactive demo to explain and showcase Cloudinary’s APIs while encouraging exploration, discovery, and engagement.
The API Explorer demo has been a big help in explaining our APIs to developers. It increased engagement over 400% and improved the quality of our conversions.
Sanjay Sarathy, Vice President of Marketing
The Design Process
We worked closely with Cloudinary to design and prototype a compelling demo. We performed initial discovery to better understand their product and positioning, brainstormed concepts and sketched potential ideas.
From there, we began prototyping in the browser to see how our ideas would work in the real world. For such an interactive experience, we needed more than a static mockup. Prototyping ideas in code allowed us to quickly understand what was working and what wasn’t. One of our earliest prototypes focused on the breadth of Cloudinary’s capabilities:
But as we tested the prototype, we realized it wasn’t quite right. It showed off a wide range of Cloudinary capabilities, but it wasn’t clear how they help developers solve everyday problems. An interactive prototype allowed us to realize this quickly and pivot to a new design focusing on four common use cases:
The final prototype focusing on four common use cases.
Now we were on the right track! Visitors could swiftly find the right solution to their specific problem. Our friends at Cloudinary agreed… in fact, they liked it so much that they didn’t just want to use it on the Developers page. They wanted to be able to use it on other pages as well as on their separate documentation site!
The Development Process
We needed to step back and determine how our final product could be used in these different contexts. For this type of complex, interactive experience, we wanted to be able to use a modern, component-based JavaScript framework. But we needed to be able to embed this in their WordPress (PHP) marketing site, as well as a statically-rendered Ruby documentation site.
We had a few important requirements for the final deliverable. It had to be:
Possible to embed anywhere, regardless of tech stack
Performant: quick to load and snappy in the browser
After discussion with our Cloudinary stakeholders and their technical team, we landed on a three-pronged approach:
Preact: We built our components using Preact, a “fast 3kB alternative to React with the same modern API” that was familiar to the Cloudinary development team.
Server-Side-Rendering: We built out the ability to render these components server-side. This allowed the components to load and display quickly without having to wait on JavaScript.
Netlify Functions: We created custom API endpoints to server-side render the experience. This allowed different Cloudinary websites and tech stacks to easily fetch, cache, and embed the code used to power the experience.
With our goals in mind, and a plan to achieve them, we got to work. We built out a set of reusable Preact components and API endpoints to power the demo experience:
A handful of the Preact components we built to power the API Explorer demo.
These modular components allowed us to quickly build out the different demo use cases. We’re also able to reuse these components to power other experiences with Cloudinary.
You can try the component right here! (It’s not a screenshot.)
The Final Experience
The demo was a huge success. The final result is engaging, performant, responsive, and accessible. It was quickly integrated into Cloudinary’s site without any issues or downtime. Cloudinary even integrated the demo on additional pages we weren’t planning for, including other pages on their primary site and landing pages for targeted ad campaigns. It drastically increased engagement on the Developers page and helped customers understand Cloudinary’s APIs.
Cloud Four is hands down the best agency I have ever worked with on any web project ever in my 25+ web career.
Daniel Divens, Former Director, Website Marketing
We’re Cloud Four
We solve complex responsive web design and development challenges for ecommerce, healthcare, fashion, B2B, SaaS, and nonprofit organizations.
We created a deeply integrated, multi-brand responsive design system to redesign and unify multiple web experiences for Baptist Health, a healthcare system in Northeast Florida and Southeast Georgia.
Walmart chose Cloud Four to guide their transition to a responsive web design. We started with grocery delivery before expanding to cart, checkout and more using a nimble, pattern-based approach.