How to Write an Email with Stable Diffusion
Stable Diffusion is an AI image generation tool, not a text writer. However, it can significantly enrich your professional and marketing emails by creating customized and impactful visuals. In this tutorial, you will learn how to use Stable Diffusion to design illustrations, banners, and custom graphics to accompany your emails. Whether you want to illustrate a newsletter, create an eye-catching header, or generate product images for a commercial email, Stable Diffusion lets you produce unique visuals without hiring a graphic designer. Follow these steps to transform your ordinary emails into visually compelling communications using the power of generative AI.
Prerequisites
- 1.Have access to Stable Diffusion (local version via Automatic1111/ComfyUI or online service like DreamStudio)
- 2.Have an email client or emailing tool (Gmail, Mailchimp, Brevo, etc.)
- 3.Know standard email image dimensions (600px width recommended)
- 4.Have a clear idea of your email message and tone
Steps
Define the goal and structure of your email
Before launching Stable Diffusion, plan your email content. Identify the email type (newsletter, commercial email, invitation, follow-up) and list the necessary visual elements: header banner, section illustrations, product images, or decorative icons. Write your email text leaving placeholders for the visuals you will generate. This planning step is crucial to obtain images consistent with your message.
Generate the header banner with Stable Diffusion
Open Stable Diffusion and create your main banner. Set the dimensions to 1200x400 pixels (ratio 3:1, ideal for email headers). Write a prompt precisely describing the desired mood, colors, and style. Use a number of steps between 25 and 40 for a good quality/speed balance. Generate several variations and select the one that best matches the visual identity of your email.
Professional email header banner, modern minimalist design, [YOUR_THEME], corporate color palette, clean composition, soft gradient background, no text, high quality, 4k --ar 3:1
Create content illustrations
For each section of your email requiring a visual, generate a suitable image. Use consistent prompts while keeping the same artistic style (flat design, photorealistic, watercolor, etc.) to maintain visual harmony. Size your images to 600x400 pixels for the email body. If you illustrate products or concepts, be precise in your descriptions and use the CFG Scale parameter between 7 and 12 to control prompt fidelity.
Clean illustration for email content, [DESCRIPTION_OF_YOUR_SUBJECT], consistent flat design style, white background, professional look, centered composition, digital art --ar 3:2
Optimize and resize images for email
Images generated by Stable Diffusion are often too heavy for an email. Export your images in PNG or JPEG format and compress them so they do not exceed 200 KB each. Resize them to the exact dimensions planned in your layout (maximum width of 600px for email compatibility). Use a tool like TinyPNG, Squoosh, or GIMP for optimization. Check that the total weight of your email images does not exceed 1 MB to avoid deliverability issues.
Assemble the final email and test display
Integrate your optimized visuals into your email using your emailing tool. Always add descriptive alt text to each image for accessibility and email clients that block images by default. Test display on different email clients (Gmail, Outlook, Apple Mail) and on mobile. Verify that your email remains readable even if images do not load, as many email clients block images by default.
Common mistakes to avoid
- ✗Using images that are too heavy (over 500 KB each) which slows loading and lands in spam
- ✗Letting Stable Diffusion generate text in images — the result is always illegible and unprofessional
- ✗Not maintaining visual consistency between different images in the email (different styles, colors, and tones)
- ✗Forgetting alt text on images, making the email inaccessible and incomprehensible when images are blocked
- ✗Creating an email composed solely of images without HTML text, which triggers anti-spam filters
FAQ
Can Stable Diffusion write the text of my email?
What are the best Stable Diffusion models for creating professional email visuals?
Am I allowed to use images generated by Stable Diffusion in my commercial emails?
Related tutorials
How to use this prompt
- Copy the prompt with the button above.
- Paste it into ChatGPT, Claude or your favorite AI assistant.
- Replace the bracketed variables with your details, then refine the result.
About Prompt Guide
Prompt Guide is a free library of 2500+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.
More tutorials
How to Write an Internal Memo with ChatGPT
Writing an internal memo is a delicate exercise that requires clarity, conciseness, and a tone adapted to your organization. ChatGPT can assist you...
How to Write an Internal Memo with Claude
Writing an internal memo is a delicate exercise that requires clarity, conciseness, and a tone adapted to your audience. Whether it's announcing a change
How to Write an Internal Memo with DALL-E
DALL-E, the AI image generation tool developed by OpenAI, can transform your internal memos into visually striking documents.
How to Write an Internal Memo with Gemini
Writing an internal memo is a strategic exercise that requires clarity, conciseness, and a tone adapted to your audience. Gemini, the artificial intelligence...
How to Write an Internal Memo with GitHub Copilot
GitHub Copilot, the AI assistant developed by GitHub and OpenAI, is not limited to code generation. It can also assist you in writing
How to Write an Internal Memo with Midjourney
Midjourney is an AI image generation tool that can transform your internal memos into visually impactful communications.
Get new prompts every week
Join our newsletter.