AI newsletter header image: generate a 4:1 banner and crop to fit
Newsletter headers are wide strips. Ask Nano Banana 2 for 4:1 or 8:1 on Sume, keep the subject in the middle, and crop to your template. Request and crop math.

To make a newsletter header with an image API, ask for a wide banner ratio and crop to your template's exact size. On Sume, google/nano-banana-2 accepts 4:1, 1:4, 8:1 and 1:8 on top of the usual ratios, so a header strip comes back in one call (Image API). Check your newsletter tool's header dimensions first; they differ by platform and by template.
Request
Keep the subject and any text in the middle third, because a crop or a mobile layout can remove the ends. Leave quiet space where your title will sit, and typeset the title in your email tool, not in the image.
Ask for aspect_ratio: "4:1", or 8:1 for a thinner strip. The Nano Banana 2 rate list is $0.10 per image at 1K after the 1.25 factor, rounded up to a cent.
curl -X POST https://api.sume.com/v1/images \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/nano-banana-2",
"prompt": "Wide editorial banner, paper-cut hills in teal and cream, empty calm sky on the left third, no text",
"aspect_ratio": "4:1",
"output_format": "jpeg"
}'Crop math
Say your template needs 3:1 and the model gave 4:1. Keep the full height and cut the width to 75 percent of the original, so remove 12.5 percent from each side. For 2:1 from 4:1, keep 50 percent. Crop after generation so you can re-centre the subject.
If your template is much taller than the strip, ask for a taller ratio instead of cropping a wide image heavily.
| Model | Wide ratios offered |
|---|---|
| google/nano-banana-2 | 4:1, 8:1, 21:9, 16:9 |
| google/nano-banana-pro | 21:9, 16:9 |
| ideogram/ideogram-v3 | 3:1, 2:1, 16:9 |
| black-forest-labs/flux.2-pro | 21:9, 2:1, 16:9 |
File size
Header images load first in an email. Ask for jpeg or webp rather than PNG for a photo-like banner, then check the file size in your own pipeline.
Sources
Related posts
More in Use cases
- AI product angles from one photo: front, three-quarter and back views
Make extra product angles from one packshot: send a second photo of the back for printed sides, then check each view. A reference-edit request on Sume.
- AI sneaker product photo on a colored backdrop, from one packshot
Keep the sneaker, change the set: a prompt, a preserve list and a reference photo give colored-backdrop product stills. Request, ratio and checks on Sume.
- AI sonic logo generator: a short audio sting by prompt, then trim
Make a 2 to 4 second sonic logo with AI: write the sting into the prompt, then cut it with Timeline audio. Sume has no duration field and no fade on the cut.
- AI trading card art: generate at 2:3, then crop to a 5:7 card
Sume has no 5:7 ratio. Ask for 2:3, keep art out of the margins, and crop 6.7 percent off the height. Models, request and crop math.
Written by Sume