Better Programming

Advice for programmers.

Follow publication

Member-only story

How to Deploy Stable Diffusion Model on Amazon SageMaker

Justin Muller
Better Programming
Published in
8 min readOct 24, 2022

A unicorn flying in outer space.
Generated with Stable Diffusion 1.4 on AWS in 14 seconds from the text “unicorn flying in outer space.”

Why Does the Ability To Turn Text Into Images Matter?

Imagine how your work would change if you had unlimited access to a graphics artist for free. One with a huge amount of creativity and can even suggest new ideas? AI models that can turn text into art have improved by leaps and bounds in the last few years and are becoming very accessible.

As a result, many art-related tasks which would have been cost-prohibitive in the past are now easy, quick, and nearly free. This unlocks all kinds of options for creativity and innovation, and we are just starting to see the impact of this shift in several different industries. Video editing companies are offering services based on AI to automatically add graphics or edit video in ways that would have previously required a production crew.

Game developers can easily generate new graphics, some leading to all new ideas, which significantly increases development speed. New companies can have an AI generate hundreds of ideas for a logo for free rather than pay for an expensive design firm. Authors can easily create cover art or even pictures for each chapter of a novel, where previously such graphics would have been cost prohibitive.

Virtual reality companies promise a near future where a few words generate any object you can imagine in 3D space. The list goes on, and it continues to grow in new ways every day.

A cup of earl gray tea with stars in the background.
Text prompt: “a cup of tea overlooking the stars”

What is Generative AI?

The ability to say a few words (“earl grey, hot” ) and have a computer turn your words into a real image feels like a glimpse of the future. This is exactly what is possible for you right now, thanks to a new wave of generative AI models such as Stable Diffusion. These models, born from the transformers originally used for text translations, are evolving and improving at a breakneck pace.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Justin Muller
Justin Muller

Written by Justin Muller

Generative AI Senior Solutions Architect for AWS - helping customers build winning Generative AI solutions

Responses (1)

Write a response