X carousel ads: 2 to 6 media assets, rendered as one Sume batch
X carousel cards hold 2 to 6 media assets. Make the whole set at one aspect ratio in a single Sume Image API call with n, then check each file.

X's Creatives documentation lists carousel cards as 2 to 6 media assets for website or app promotion. On Sume, one Image API call with n and a single aspect_ratio makes a set that shares a ratio. The page I read gives image rules per card type, but not a separate one for carousel assets, so check the carousel card's own limits in Ads Manager before you build the full set.
What to line up
| Item | Value |
|---|---|
| Carousel assets | 2 to 6 |
| Image min width | 800px |
| Image max size | 3 MB |
| Image ratios (website card) | 1:1 and 1.91:1 |
One call for the set
Request n equal to your card count. Per-model ceilings on n are lower than the API-wide 10, so read the catalog for your model.
import os, requests
API = "https://api.sume.com"
H = {"Authorization": f"Bearer {os.environ['SUME_API_KEY']}"}
body = {"model": "ideogram/ideogram-v4.5", "aspect_ratio": "1:1", "n": 4,
"quality": "low", "output_format": "jpeg",
"prompt": "Four product cards, same style, plain background"}
r = requests.post(f"{API}/v1/images", headers=H, json=body, timeout=90)
r.raise_for_status()
if r.status_code == 202:
raise SystemExit("job still running")
urls = [d["url"] for d in r.json()["data"]]
assert 2 <= len(urls) <= 6, len(urls)
print(len(urls), "cards:", *urls, sep="\n")Keep it consistent
- Same style wording in the prompt across the set.
- One ratio for every card.
- Check the width and size of each file before upload.
Sources
Related posts
More in Use cases
- X lead generation form: name up to 255 characters, purpose 1000
X's Ads API lead generation docs cap a form name at 1 to 255 characters and its purpose at 1 to 1000. Validate copy variants before you create the form.
- X lead generation form fields: work email, job title, company
X's lead generation docs list contact and user-information fields, including WORK_EMAIL, JOB_TITLE and COMPANY_NAME. Pick fields to match each ad variant.
- X post media mix: 4 photos, 1 GIF or 1 video, and 0.5 s video minimum
An X post can carry up to 4 photos, or 1 animated GIF, or 1 video, and video must be at least 0.5 seconds. Pick the right Sume export for each case.
- Yoga studio class promo clip: Kling 3 for 8 seconds, audio or silent
An 8-second class promo clip with kling-3 on Sume costs $1.12 silent and $1.68 with audio; vertical 9:16 at 720p or 1080p is the same rate.
Written by Sume