twitter-card-image-generator
Installation
SKILL.md
Twitter Card Image Generator
Generate images optimized for X (Twitter) link previews — the cards that appear in the timeline when someone shares a link. Twitter Cards have distinct image dimensions and rendering behavior that differ from standard Open Graph. This skill covers the complete generation pipeline adapted for Twitter's 2:1 aspect ratio and platform-specific quirks.
All six generation approaches and all six visual styles from og-image-generator apply here. The only differences are: output dimensions (1200x675 instead of 1200x630), X-specific design adaptations, timeline-safe zoning, and player card support.
When to Use
- User needs 1200×675px (2:1) images for X/Twitter link previews,
summary_large_image, or player card posters - User mentions
twitter:image, Twitter Card, X preview image, tweet preview, or timeline card design - User needs dark-mode-safe layouts, upper-60% content zones, or 20px edge masks for X's rounded-corner crop
- User already uses og-image-generator and wants the Twitter-adapted variant of the same styles and pipeline
When NOT to Use
- Generic OG images (1200×630, 1.91:1) for Facebook, LinkedIn, Slack, etc. — use og-image-generator instead
- Only setting HTML meta tags (not creating the image file) — use twitter-cards from marketing-skills
- SVG output — Twitter does not support SVG for card images; use PNG or JPG
- No-code visual editor or hosted API — use Oginify instead of running an agent pipeline