← 返回
未分类 中文

Social Media Carousel

Multi-slide carousel design for Instagram, LinkedIn, and Twitter/X with layout rules and hooks. Covers slide structure, text hierarchy, swipe psychology, and...
面向 Instagram、LinkedIn、Twitter/X的多页轮播设计,含布局规则与钩子。涵盖幻灯片结构、文本层级、滑动心理等。
okaris okaris 来源
未分类 clawhub v0.1.5 1 版本 100000 Key: 无需
★ 0
Stars
📥 168
下载
💾 3
安装
1
版本
#latest

概述

Social Media Carousel

Design high-engagement carousel posts via inference.sh CLI.

Quick Start

curl -fsSL https://cli.inference.sh | sh && infsh login

# Generate a carousel slide
infsh app run infsh/html-to-image --input '{
  "html": "<div style=\"width:1080px;height:1080px;background:#0f172a;display:flex;align-items:center;justify-content:center;padding:80px;font-family:system-ui;color:white;text-align:center\"><div><p style=\"font-size:24px;color:#818cf8;text-transform:uppercase;letter-spacing:3px\">5 Rules for</p><h1 style=\"font-size:64px;margin:16px 0;font-weight:900;line-height:1.1\">Writing Headlines That Convert</h1><p style=\"font-size:22px;opacity:0.5;margin-top:24px\">Swipe →</p></div></div>"
}'

> Install note: The install script only detects your OS/architecture, downloads the matching binary from dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.

Platform Specs

PlatformDimensionsSlidesAspect Ratios
--------------------------------------------
Instagram1080 x 1080 pxUp to 201:1 (default), 4:5, 16:9
LinkedIn1080 x 1080 px or 1080 x 1350Up to 201:1, 4:5
Twitter/X1080 x 1080 pxUp to 41:1, 16:9
Facebook1080 x 1080 pxUp to 101:1, 4:5

Use 1080 x 1350 (4:5) on Instagram and LinkedIn — takes up more screen real estate in the feed than square.

Carousel Structure

The 7-Slide Framework

SlidePurposeContent
-------------------------
1HookBold claim, question, or promise — stops the scroll
2ContextWhy this matters, set up the problem
3-6ValueOne point per slide, numbered
7CTAFollow, save, share, comment, visit link

Slide 1: The Hook

The most important slide. If this fails, nobody swipes.

Hook TypeExample
--------------------
Bold claim"90% of landing pages make this mistake"
Question"Why do your ads get clicks but no conversions?"
Number + promise"7 Python tricks I wish I learned sooner"
Contrarian"Stop writing blog posts (do this instead)"
Before/afterShow transformation
# Hook slide
infsh app run infsh/html-to-image --input '{
  "html": "<div style=\"width:1080px;height:1350px;background:linear-gradient(180deg,#1e1b4b,#312e81);display:flex;align-items:center;justify-content:center;padding:80px;font-family:system-ui;color:white;text-align:center\"><div><h1 style=\"font-size:72px;font-weight:900;line-height:1.15;margin:0\">90% of Landing Pages Make This Mistake</h1><p style=\"font-size:28px;opacity:0.6;margin-top:32px\">Swipe to find out →</p></div></div>"
}'

Slides 2-6: Content Slides

One point per slide. Never cram multiple ideas.

# Content slide template
infsh app run infsh/html-to-image --input '{
  "html": "<div style=\"width:1080px;height:1350px;background:#1e1b4b;padding:80px;font-family:system-ui;color:white;display:flex;flex-direction:column;justify-content:center\"><div><p style=\"font-size:120px;font-weight:900;color:#818cf8;margin:0;line-height:1\">01</p><h2 style=\"font-size:48px;margin:24px 0 16px;font-weight:800;line-height:1.2\">Your headline is too vague</h2><p style=\"font-size:26px;opacity:0.8;line-height:1.6\">\"Welcome to our platform\" tells the visitor nothing. Lead with the outcome: \"Ship docs in minutes, not days.\"</p></div></div>"
}'

Slide 7: CTA Slide

# CTA slide
infsh app run infsh/html-to-image --input '{
  "html": "<div style=\"width:1080px;height:1350px;background:linear-gradient(180deg,#312e81,#1e1b4b);display:flex;align-items:center;justify-content:center;padding:80px;font-family:system-ui;color:white;text-align:center\"><div><h2 style=\"font-size:56px;font-weight:900;margin:0;line-height:1.2\">Found this useful?</h2><p style=\"font-size:32px;opacity:0.8;margin-top:24px;line-height:1.5\">Save this post for later 🔖<br>Follow for more tips</p><p style=\"font-size:24px;opacity:0.4;margin-top:40px\">@yourusername</p></div></div>"
}'

Design Rules

Text Hierarchy

ElementSize (at 1080px)Weight
----------------------------------
Slide number96-120pxBlack (900)
Heading48-64pxBold (700-800)
Body text24-28pxRegular (400)
Caption/tag18-22pxMedium (500)

Readability

RuleValue
-------------
Max words per slide30-40
Max lines of body text4-5
Line height1.5-1.6
FontSans-serif (Inter, Montserrat, Poppins)
Text contrast4.5:1 minimum (WCAG AA)

Visual Consistency

ElementKeep Consistent Across All Slides
-------------------------------------------
Background color/gradientSame palette, slight variations OK
Font familySame font throughout
Text alignmentSame position (left or center)
Margins/paddingSame spacing
Accent colorSame highlight color
Numbering styleSame format (01, 02 or 1., 2.)

Carousel Types

Educational / Tips

Slide 1: "5 CSS tricks you need to know"
Slide 2: Trick 1 with code example
Slide 3: Trick 2 with code example
...
Slide 6: Trick 5 with code example
Slide 7: "Follow for more dev tips"

Storytelling / Case Study

Slide 1: "How we grew from 0 to $1M ARR"
Slide 2: The beginning (context)
Slide 3: The challenge
Slide 4: What we tried (failed)
Slide 5: What worked
Slide 6: The result (numbers)
Slide 7: Key takeaway + CTA

Before / After

Slide 1: "I redesigned this landing page"
Slide 2: Before screenshot
Slide 3: Problem 1 annotated
Slide 4: After screenshot
Slide 5: Improvement 1 explained
Slide 6: Results (conversion lift)
Slide 7: "Want a review? DM me"

Listicle / Tools

Slide 1: "10 tools every designer needs in 2025"
Slides 2-6: 2 tools per slide with logo + one-liner
Slide 7: "Save this for later 🔖"

Swipe Psychology

PrincipleApplication
-----------------------
Curiosity gapHook promises value that requires swiping
Numbered progress"3/7" creates completion drive
Visual continuityConsistent design signals "there's more"
Increasing valueBest tip last — rewards completing
Swipe cueArrow or "Swipe →" on slide 1

Batch Generation

# Generate all slides for a carousel
for i in 1 2 3 4 5 6 7; do
  infsh app run infsh/html-to-image --input "{
    \"html\": \"<div style='width:1080px;height:1350px;background:#1e1b4b;display:flex;align-items:center;justify-content:center;padding:80px;font-family:system-ui;color:white'><div style='text-align:center'><p style='font-size:28px;opacity:0.5'>Slide $i of 7</p></div></div>\"
  }" --no-wait
done

AI-Generated Carousel Visuals

# Generate illustrations for each slide
infsh app run falai/flux-dev-lora --input '{
  "prompt": "minimal flat illustration, person at desk with laptop, clean modern style, simple shapes, limited color palette purple and blue tones, white background, icon style",
  "width": 1080,
  "height": 1080
}'

Common Mistakes

MistakeProblemFix
-----------------------
Weak hook (slide 1)Nobody swipesBold claim, question, or number + promise
Too much text per slideOverwhelming, stops readingMax 30-40 words per slide
No visual consistencyLooks like different postsSame colors, fonts, margins throughout
No swipe indicatorPeople don't realize there's moreAdd "Swipe →" or arrow on slide 1
No CTA on last slideMissed engagement opportunityAsk to save, follow, share, or comment
Inconsistent numberingFeels disorganizedSame number format on every content slide
Cramming 2+ ideas per slideHard to digestOne point per slide, always
Square format on InstagramWastes feed real estateUse 1080x1350 (4:5) for more visibility

Related Skills

npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@content-repurposing
npx skills add inference-sh/skills@linkedin-content

Browse all apps: infsh app list

版本历史

共 1 个版本

  • v0.1.5 当前
    2026-05-12 06:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Python Executor

okaris
通过 [inference.sh](https://inference.sh) 在安全沙箱环境中执行 Python 代码。预装:NumPy、Pandas、Matplotlib、requests、BeautifulSoup 等。
★ 3 📥 9,056
content-creation

humanizer-zh

liuxy951129-cpu
去除文本中的 AI 生成痕迹。适用于编辑或审阅文本,使其听起来更自然、更像人类书写。 基于维基百科的"AI 写作特征"综合指南。检测并修复以下模式:夸大的象征意义、 宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段
★ 63 📥 30,217
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 922 📥 210,090