How to Create AI Images for Email Marketing Campaigns
Wanderson Jackson
Updated August 2026
TL;DR: AI image generators can produce custom email visuals in seconds instead of booking photo shoots or licensing stock. This guide walks through the full workflow: choosing the right model for email formats, generating images that load fast and look sharp, and optimizing for every major email client. Avocado AI offers 17 image models in one workspace, starting at 1 credit per image.
Email marketing still delivers one of the highest ROIs in digital marketing. But the creative bottleneck is real: most ecommerce brands and marketing teams cycle through the same stock photos across every campaign because producing original imagery is slow and expensive.
AI image generation solves three problems at once:
Speed. A custom hero image takes 10-30 seconds to generate, not 1-2 weeks from a photographer.
Variety. You can test 5 different visual concepts for a single campaign without multiplying your creative budget.
Cost. A single AI-generated image costs 1-2 credits on most platforms, which translates to roughly EUR 0.10-0.25 per image depending on your plan.
The catch: email images have technical constraints that social media or web images do not. File size limits, client rendering quirks, and width restrictions all affect what you can actually send. This guide covers both the generation side and the optimization side.
Email Image Specs You Need to Know
Before generating anything, know the target specs. Email clients are far less forgiving than web browsers.
Spec
Recommended
Why
Width
600-650px
Standard email body width. Most templates are 600px. Images wider than 650px trigger horizontal scrolling on mobile.
File size
Under 200KB per image
Gmail clips emails over 102KB total. Outlook blocks images over 1MB. Smaller images load faster and reduce clip risk.
Format
JPEG for photos, PNG for graphics with transparency
JPEG compresses well for photographic content. PNG preserves sharp edges for logos, icons, and text overlays.
Alt text
Always include
Many email clients block images by default. Alt text is what recipients see until they click "display images."
Aspect ratio
16:9 for heroes, 1:1 for products, 4:5 for portrait crops
16:9 works across desktop and mobile for header images. Square crops are safe for product grids.
Key insight: AI-generated images are usually 1024x1024 or larger by default. You will almost always need to resize and compress them before embedding in an email. A 1088x1088 PNG can easily be 1-2MB; after converting to JPEG at 600px wide, it drops to 40-80KB.
Step-by-Step: Generate Email Images with AI
Here is the full workflow from prompt to send-ready image.
Step 1: Define what you need
Before opening any tool, answer three questions:
What is the image's role? (Hero banner, product feature, CTA background, testimonial visual)
What is the mood? (Bold and promotional, clean and minimal, warm and lifestyle)
What are the key elements? (Product, person, text overlay space, brand context)
Step 2: Pick the right model
Not every AI image model handles every task well. For email marketing images specifically:
Text-heavy images (promotional banners with sale text, CTA overlays): Use a model with strong text rendering. GPT-Image 2 and Ideogram V3 both handle on-image text reliably.
Product-focused images (lifestyle shots, context images): Recraft V4 and Nano Banana 2 produce clean, commercially-oriented output.
Stylized or editorial images (brand storytelling, seasonal campaigns): Seedream V5 Pro and Krea 2 offer stronger aesthetic control.
On Avocado AI, all of these models are available in one workspace. Nano Banana 2 costs 1 credit per image; GPT-Image 2 costs 2 credits at low quality.
Step 3: Write the prompt
Email images need generous negative space, especially at the edges. Why? Because email templates often have padding, borders, or background colors around the image. A tightly-cropped subject looks cramped in a 600px-wide email with 20px padding on each side.
Prompt pattern for email hero images:
"[Subject and scene]. [Lighting and mood]. Generous negative space around the subject, especially on the left and right edges. Clean background. No text, no logos, no watermarks."
For product-focused email images:
"[Product description] on a [surface/background]. Natural light from the [direction]. Minimal styling, clean composition. Generous padding around the product."
Step 4: Generate and iterate
Generate 2-4 variations. Most AI image tools produce results in 5-30 seconds. Pick the one with the best composition and proceed to optimization.
Step 5: Resize and compress
This is where most people stop too early. The raw AI output is almost never ready for email.
python
from PIL import Image
img = Image.open("hero_raw.png")
w, h = img.size
target_h = int(w 9 / 16)
top = max(0, (h - target_h) // 2)
img_cropped = img.crop((0, top, w, top + target_h))
Check the file size. If it is over 200KB, reduce quality to 70 or resize to 580px wide.
Step 6: Add alt text and embed
When you add the image to your email template, always include descriptive alt text. Not "image" or "hero," but something like "Summer collection: linen shirts in natural light, 30% off through August."
Which AI Model for Which Email Image
Here is a quick-reference table for common email image types and the models that handle them best.
Email Image Type
Best Model(s)
Why
Promotional hero with text overlay
GPT-Image 2, Ideogram V3
Strong text rendering inside the image
Product lifestyle shot
Recraft V4, Nano Banana 2
Clean, commercially-oriented output
Seasonal or editorial brand image
Krea 2, Seedream V5 Pro
Aesthetic range, style control
Quick A/B test variants
Nano Banana 2 Lite
Fastest generation, 1 credit
Background image for text-heavy email
Recraft V4 Utility
Minimal, clean backgrounds
All of these models are available on Avocado AI across the Starter, Growth, and Pro plans.
Five Types of Email Images You Can Generate Today
1. Hero banners
The top-of-email image that sets the tone. Generate at 16:9, resize to 600x338px. Leave space at the bottom or side for a text overlay in your email editor.
2. Product feature images
Single-product shots with context. Generate at 1:1 or 4:3, then resize to fit your product grid. AI-generated product images work especially well for seasonal variants (holiday packaging, limited edition colors) that do not exist yet as real photos.
3. Social proof visuals
Customer testimonial backgrounds, review highlight images, or "as seen in" media logos. Use simple, clean backgrounds that let text sit on top without competing.
4. CTA section backgrounds
The section just above your call-to-action button benefits from a subtle background image. Generate something atmospheric but not distracting, then overlay your CTA text in the email editor.
5. Animated GIF alternatives
If your email platform supports animated content, generate 2-3 variations of the same scene and assemble them into a GIF. This works well for product reveals, before/after comparisons, or countdown-style urgency visuals.
Best Practices for AI Images in Email
Always test on real devices. What looks great in a desktop preview might render poorly on the Gmail mobile app or Apple Mail. Send test emails to at least 3 different clients before launching.
Keep file sizes small. The generation quality is high, but email clients do not need 4K images. A 600px-wide JPEG at 80% quality is more than sufficient.
Design for image-off mode. Many recipients see emails with images blocked by default. Your alt text should carry enough meaning that someone could understand the email's purpose even without seeing the images.
Generate multiple variants for A/B testing. This is where AI shines over stock photography. Generate 3 different hero images for the same campaign, test them against each other, and let the data decide.
Maintain visual consistency across a sequence. If you are running a 5-email drip campaign, generate all hero images in the same session with consistent style references. This keeps the visual thread coherent across the sequence.
Use negative space generously. Email layouts are tight. Images with subjects crammed edge-to-edge look claustrophobic when squeezed into a 600px column with template padding.
FAQ
Can I use AI-generated images in marketing emails?
Yes. AI-generated images are yours to use commercially on most platforms, including Avocado AI. Always check the specific platform's terms of service, but the standard across the industry is that you own the output.
What size should email images be?
600-650px wide for standard email templates. File size should stay under 200KB per image to avoid clipping in Gmail and slow load times on mobile.
Which AI model is best for email images?
It depends on the image type. For text-heavy promotional banners, use GPT-Image 2 or Ideogram V3 for their text rendering. For product shots, Recraft V4 or Nano Banana 2 produce clean, commercially-ready output. Avocado AI offers both in one workspace.
How do I resize AI images for email?
Use a tool like PIL (Python), Figma, or Canva to resize the output to 600px wide. Export as JPEG at 80% quality for photographic content or PNG for graphics with transparency. Most raw AI outputs are 1024px or larger and need resizing.
Do AI images affect email deliverability?
Not directly. Email deliverability is affected by sender reputation, content spam triggers, and authentication (SPF, DKIM, DMARC). Image-to-text ratio matters: emails that are image-only with no text content can trigger spam filters. Always include meaningful text alongside your images.
How much does it cost to generate email images with AI?
On Avocado AI, most image models cost 1-2 credits per image. At the Starter plan (EUR 39/month for 300 credits), that is roughly EUR 0.13-0.26 per image. For a 4-email campaign with 2 images each, you would use 8-16 credits total.
If you want one workspace for generating, editing, and iterating on email marketing images, start with Avocado AI. Check out our pricing for details.
Written by Wanderson Jackson, founder of Avocado AI. Wanderson built Avocado to give marketing teams a single workspace for AI image, video, and audio generation across 17+ models.