# How to Automate TikTok Slideshow Content Creation with Claude Opus 4.7 (Step-by-Step Guide)
**作者**: Alex Nguyen
**日期**: 2026-04-16T16:47:39.000Z
**来源**: [https://x.com/alexcooldev/status/2044820024695947654](https://x.com/alexcooldev/status/2044820024695947654)
---

Currently, TikTok is heavily boosting views and engagement for slideshows, you can check out these channels.




And actually, all these images are taken from Pinterest (an endless source of images, no need to use AI generation at all Cost = $0 and easy viral than AI generate).

> Stack: TikTok · SnapTik · Claude Opus 4.7 · Pinterest · Node.js Canvas · Postiz Agent CLI, Cost: ~$0. (Almost Open Source option)
## Why This Workflow?
Most creators are still doing content manually: come up with an idea → design → post one by one. It's time-consuming and inconsistent. Here's why this workflow works:
- No expensive tools. Buffer, Later, and Hootsuite all have limited free tiers. Self-hosted Postiz is unlimited.
- Scalable. Once set up, you can batch 30 posts/week in 2 hours.
- Data-driven. Hooks come from actually viral videos, not guesswork.
## Overview: The 5-Step Workflow
## Step 1: Find Hooks From TikTok
The hook is the first 3 seconds that determine whether someone stops scrolling or not. This is your best data source, pulled directly from videos that are already going viral in your niche.
How to scroll with purpose
Open TikTok and search keywords in your niche (e.g. "StudyTok", "GymTok", "BookTok"...). Filter by Most Liked or Most Recent to see what's currently trending.
While watching, pay attention to:
- The first text overlay, appearing within the first 2 seconds
- The opening line, usually a question or a shocking statement
- Recurring formats: "You're doing X wrong", "X things Y never tells you", "I did X and here's what happened"
Download videos to analyze
Use SnapTik or SSSTik to download videos without a watermark:
Copy the TikTok video link
Go to snaptik.app or ssstik.io
Paste the link → Download (select "Without Watermark")
Save locally, then upload to Claude in the next step.
## Step 2: Extract Hooks with Claude Opus 4.7 (From Slideshows)
This is the step most people skip.
Instead of guessing hooks, let Claude Opus 4.7 analyze viral slideshow patterns that are already working.
Prompt to Extract Hooks from a Slideshow
Upload the slideshow images (or PDF/carousel) to Claude Opus 4.7, then use this prompt:
Analyze this TikTok slideshow and:
1. Identify the main hook used in the first slide
(focus on text overlay, headline, and visual framing)
2. Explain why this hook works
(curiosity / pain point / surprise / relatability)
3. Break down the hook structure
(e.g., number + outcome, negative framing, identity targeting)
4. Write 5 similar hook variations for the niche [YOUR NICHE HERE]
- Each hook under 10 words
- Format: a question OR a strong statement
- Avoid generic openers like "Did you know"
Output as a numbered list, one hook per line.
Prompt if You Only Have the Slideshow Content (No Images)
If you extracted text manually from slides:
Here is the content of a viral TikTok slideshow in the niche [NICHE]:
[PASTE CONTENT HERE]
Task:
- Identify the core hook from the first slide
- Write 7 hook variations for a similar slideshow
- Each hook must trigger one of 3 emotions:
curiosity / FOMO / empathy
- Max 8 words per hook
- Include a short explanation of why each hook works
Real Output Example
For the personal finance niche, Claude might return:

Save & Build Your Hook Library
Save all hooks into:
- Obsidian (Super powerful)
- Notion
- Google Sheets
Over time, you’ll build a hook database → faster content creation → higher hit rate
Bonus: Generate Pinterest Search Terms (for Step 3)
While you still have the slideshow in Claude Opus 4.7, run this:
Based on this slideshow, suggest 10 Pinterest search queries
that match the visual style and content theme.
Focus on:
- Aesthetic keywords
- Composition (minimal, bold text, dark mode, etc.)
- Niche-specific visuals
Output as a list of short search phrases.
This helps you go into Step 3 with precise visuals, instead of guessing.
## Bonus: Extract Visual Style + Pinterest Queries (for Slideshows)
While you still have the slideshow in Claude Opus 4.7, run this:
Now look at the visual style of this slideshow:
1. Describe the color palette, lighting, and overall aesthetic
(dark/moody, bright/clean, luxury, minimal, etc.)
2. What kind of images would work as slideshow backgrounds
for the hooks you just wrote?
3. Give me 5 specific Pinterest search queries to find those images
- Format: short keyword phrases, 2–4 words each
- Optimized for Pinterest search, not Google
Example Output (Personal Finance Slideshow)

👉 Copy these directly into Pinterest search for Step 3.
## Step 3: Pick Images From Pinterest
By now Claude has given you both the hooks and the Pinterest search terms. Go straight to searching, no need to figure out what to look for.
What makes a good TikTok image
- Ratio: Prioritize portrait / 9:16. Landscape works too; the script will crop it.
- Colors: Bold, high contrast. Avoid soft pastels since the TikTok feed is competitive.
- Content: Minimal text in the image (since you'll be overlaying your own text)
- Vibe: Should match the emotion of your hook. Money hook = lifestyle image, fitness hook = action shot
Use the search terms from Claude Opus 4.7
Paste the 5 queries Claude Opus 4.7 gave you directly into Pinterest search. Each query targets a specific visual vibe rather than a broad topic, so results are much more consistent and on-brand.
How to download Pinterest images
Option 1: PinDown Chrome Extension
Install PinDown on Chrome
Open a Pinterest image → Click the PinDown icon → Download full resolution
Option 2: Direct right-click
Click the image to open full size
Right-click → "Open image in new tab"
Right-click the image → Save image as
Option 3: Bulk download with Python (for full automation)
Organize by niche:
## Step 4: Generate Slides with Node.js Canvas (No Canva Needed)
Instead of designing manually in Canva, use a script to programmatically overlay hook text onto your Pinterest images and export them as 1080×1920 PNGs, fully automated.
Install dependencies
> @napi-rs/canvas is a fast, native Node.js canvas implementation. No browser required.
Slideshow structure
The script: generate-slides.js
Run it
Output:
Generating 6 slides...
Using a custom font
Download any TTF/OTF font (e.g. Inter Bold, Montserrat Black) and register it:
Now your content team can edit slides-config.json without touching code. Pair this with the hook list from your Claude Opus 4.7 output and you have a fully automated content pipeline.
## Step 5: Install Postiz Agent CLI
With your videos produced and any post-production complete, it is time to schedule them for publication. Postiz serves as your distribution command center, handling the timing, cross-posting, and engagement automation.
Repo / docs: postiz.com/agent
Verify it's working:
This returns all your connected social accounts as JSON. If you see an empty array [], you need to connect TikTok first.
Connect TikTok to Postiz
Go to app.postiz.com → Integrations → Add Channel → TikTok
Authorize with your TikTok account
Run postiz integrations:list again and you'll see your TikTok integration ID:
Copy the id. You'll need it in every posts:create command.
Core CLI commands for TikTok
Run it:
One command, entire week scheduled.
## Step 6: Post as TikTok Draft to Avoid Spam Detection
This is the most overlooked part of any TikTok automation setup. If you push posts directly via the API at scheduled times from a server IP, TikTok's system will eventually flag the pattern as bot behavior: reduced reach, shadow restrictions, or full account flags.
The safe approach: upload to Drafts, publish manually from the app.
Why Draft mode matters
When you auto-publish via API, TikTok sees:
- A server IP initiating the post
- Consistent robotic posting intervals
- No human interaction before the post goes live
When you post from Drafts:
- The slides land in your TikTok Drafts silently
- You open the app at peak time, review the draft, and hit Post
- From TikTok's perspective: a human published from a real device on a real network
- No server fingerprint on the actual publish action
This one change makes a significant difference for account health, especially on new accounts or when posting at high frequency.
The hybrid workflow
Postiz handles the scheduling calendar and reminder. The actual publish comes from your device, which reads as a clean signal to the algorithm.
## Upload PNG slides to TikTok Drafts
Option 1: Draft inside Postiz (kept in Postiz, not published)
Use the -t draft flag:
Post will sit in Postiz as draft and won't publish until you change status. Use postiz posts:status <id> --status schedule to queue it for publishing, or posts:delete to discard.
Option 2: Push to TikTok Inbox (draft inside TikTok app)
If you want the post to appear in the TikTok app as a pending draft you finalize on your phone, set content_posting_method to "UPLOAD":
When Postiz "publishes" this, TikTok delivers the video to the Inbox in the app. You open the app → tap the notification → finalize and post manually.
Configure Postiz in Notify mode
Set Postiz to Notify instead of Auto Publish. Postiz manages your editorial calendar and sends a push notification at the scheduled time reminding you to publish the draft from the app:
Postiz Dashboard → New Post
Select TikTok → add your caption and schedule the time
Under Publish mode, select Notify (not Direct Post)
Save
At the scheduled time, Postiz sends a mobile push notification: "Time to post your TikTok!" Open the app, find the draft waiting, and tap Post.
## Troubleshooting Common Issues
POSTIZ_API_KEY environment variable is required
You haven't exported the key in the current shell session. Add it permanently:
postiz integrations:list returns empty array []
Your TikTok account isn't connected to Postiz yet. Go to app.postiz.com → Integrations → Add Channel → TikTok and authorize.
postiz upload fails
Check your POSTIZ_API_KEY is still valid. For large PNG files (unlikely with typical slides), try compressing first with pngquant:
Scheduled post didn't go out
Check postiz posts:list and look at the status field. If it's failed, Postiz will show an error reason (usually expired TikTok OAuth token or rate limit). Re-authenticate on app.postiz.com or local (if you self host) and reschedule.
Noted: Make sure your account has been posting for a while and is genuinely healthy.
Good luck guys 🫡
## 相关链接
- [Alex Nguyen](https://x.com/alexcooldev)
- [@alexcooldev](https://x.com/alexcooldev)
- [1.8M](https://x.com/alexcooldev/status/2044820024695947654/analytics)
- [snaptik.app](https://snaptik.app/)
- [ssstik.io](https://ssstik.io/)
- [PinDown](https://chrome.google.com/webstore/detail/pindown)
- [@napi](https://x.com/@napi)
- [postiz.com/agent](https://postiz.com/agent)
- [app.postiz.com](https://app.postiz.com/)
- [app.postiz.com](https://app.postiz.com/)
- [app.postiz.com](https://app.postiz.com/)
- [Upgrade to Premium](https://x.com/i/premium_sign_up)
- [12:47 AM · Apr 17, 2026](https://x.com/alexcooldev/status/2044820024695947654)
- [1.8M Views](https://x.com/alexcooldev/status/2044820024695947654/analytics)
- [View quotes](https://x.com/alexcooldev/status/2044820024695947654/quotes)
---
*导出时间: 2026/4/21 14:35:08*
---
## 中文翻译
# 如何用 Claude Opus 4.7 自动化 TikTok 幻灯片内容创作(分步指南)
**作者**: Alex Nguyen
**日期**: 2026-04-16T16:47:39.000Z
**来源**: [https://x.com/alexcooldev/status/2044820024695947654](https://x.com/alexcooldev/status/2044820024695947654)
---

目前,TikTok 正在大力为幻灯片内容提升浏览量和互动量,你可以看看这些频道。




实际上,这些图片全部取自 Pinterest(一个取之不尽的图片来源,完全不需要使用 AI 生成。成本 = $0,而且比 AI 生成的更容易走红)。

> 技术栈:TikTok · SnapTik · Claude Opus 4.7 · Pinterest · Node.js Canvas · Postiz Agent CLI,成本:约 $0。(几乎全是开源方案)
## 为什么选择这套工作流?
大多数创作者仍在手动制作内容:想创意 → 设计 → 逐个发布。这既耗时又不稳定。这套工作流之所以有效,原因如下:
- 无需昂贵工具。Buffer、Later 和 Hootsuite 的免费版都有额度限制。自托管的 Postiz 则无限制。
- 可扩展。搭建完成后,你可以在 2 小时内批量制作 30 篇帖子/周。
- 数据驱动。钩子(hook)来自真实走红的视频,而非凭空猜测。
## 概览:5 步工作流
## 第 1 步:从 TikTok 中寻找钩子
钩子是前 3 秒的内容,它决定了用户是否会停止滑动。这是你最好的数据来源,直接取自你所在细分领域已经走红的视频。
如何有目的地刷 TikTok
打开 TikTok,搜索你所在细分领域的关键词(例如 "StudyTok"、"GymTok"、"BookTok"...)。按“最多点赞”或“最新”筛选,查看当前的热门趋势。
观看时,注意以下几点:
- 首次出现的文字覆盖层,通常在前 2 秒内出现
- 开场句,通常是一个问题或令人震惊的陈述
- 反复出现的格式:“你在做 X 时做错了”、"X 件 Y 从不告诉你的事”、“我做了 X,结果是这样的"
下载视频以进行分析
使用 SnapTik 或 SSSTik 下载无水印视频:
复制 TikTok 视频链接
访问 snaptik.app 或 ssstik.io
粘贴链接 → 下载(选择“无水印”)
保存到本地,然后在下一步上传给 Claude。
## 第 2 步:用 Claude Opus 4.7 提取钩子(从幻灯片中提取)
这是大多数人都会跳过的步骤。
与其凭空猜测钩子,不如让 Claude Opus 4.7 分析已经有效的爆款幻灯片模式。
从幻灯片中提取钩子的提示词
将幻灯片图片(或 PDF/轮播图)上传到 Claude Opus 4.7,然后使用这个提示词:
分析这个 TikTok 幻灯片,并:
1. 识别第一张幻灯片中使用的主要钩子
(关注文字覆盖层、标题和视觉构图)
2. 解释这个钩子为什么有效
(好奇心 / 痛点 / 惊喜 / 共鸣)
3. 拆解钩子的结构
(例如,数字 + 结果、负面表述、身份定位)
4. 为细分领域 [在此填入你的细分领域] 撰写 5 个类似的钩子变体
- 每个钩子不超过 10 个词
- 格式:疑问句或强烈的陈述句
- 避免使用“你知道吗”这类俗套的开场白
以编号列表形式输出,每个钩子占一行。
如果你只有幻灯片内容(没有图片)的提示词
如果你手动提取了幻灯片中的文字:
以下是一个 [细分领域] 领域爆款 TikTok 幻灯片的内容:
[在此粘贴内容]
任务:
- 识别第一张幻灯片中的核心钩子
- 为类似的幻灯片撰写 7 个钩子变体
- 每个钩子必须触发以下 3 种情绪之一:
好奇心 / FOMO(错失恐惧)/ 共鸣
- 每个钩子最多 8 个词
- 附上简短说明,解释每个钩子为什么有效
真实输出示例
在个人理财领域,Claude 可能会返回:

保存并建立你的钩子库
将所有钩子保存到:
- Obsidian(超级强大)
- Notion
- Google Sheets
随着时间推移,你将建立一个钩子数据库 → 内容创作更快 → 命中率更高
额外收获:生成 Pinterest 搜索词(用于第 3 步)
趁幻灯片还在 Claude Opus 4.7 中,运行这个提示词:
根据这个幻灯片,建议 10 个与其视觉风格和内容主题
相匹配的 Pinterest 搜索关键词。
重点关注:
- 美学类关键词
- 构图(极简、粗体文字、暗黑模式等)
- 细分领域特有的视觉元素
以简短搜索短语列表的形式输出。
这能让你带着精准的视觉方向进入第 3 步,而不是盲目摸索。
## 额外收获:提取视觉风格 + Pinterest 搜索词(用于幻灯片)
趁幻灯片还在 Claude Opus 4.7 中,运行这个提示词:
现在观察这个幻灯片的视觉风格:
1. 描述其配色、光影和整体美学
(暗黑/情绪化、明亮/干净、奢华、极简等)
2. 什么样的图片适合作为你刚写的钩子的
幻灯片背景?
3. 给我 5 个具体的 Pinterest 搜索关键词来找到这些图片
- 格式:简短关键词短语,每个 2–4 个词
- 针对 Pinterest 搜索优化,而非 Google
输出示例(个人理财幻灯片)

👉 在第 3 步中,直接将这些复制到 Pinterest 搜索。
## 第 3 步:从 Pinterest 中挑选图片
此时 Claude 已经为你提供了钩子和 Pinterest 搜索词。直接去搜索即可,无需再考虑要找什么。
什么样的图片适合 TikTok
- 比例:优先选择竖版 / 9:16。横版也可以,脚本会自动裁剪。
- 颜色:大胆、高对比度。避免柔和的马卡龙色调,因为 TikTok 信息流的竞争非常激烈。
- 内容:图片中的文字要少(因为你会叠加自己的文字)
- 氛围:应与你钩子的情绪相匹配。金钱钩子 = 生活方式图片,健身钩子 = 动作镜头
使用来自 Claude Opus 4.7 的搜索词
将 Claude Opus 4.7 给你的 5 个搜索词直接粘贴到 Pinterest 搜索中。每个搜索词针对的是特定的视觉氛围,而非宽泛的主题,因此搜索结果会更加一致、更符合品牌调性。
如何下载 Pinterest 图片
方法 1:PinDown Chrome 扩展
在 Chrome 上安装 PinDown
打开一张 Pinterest 图片 → 点击 PinDown 图标 → 下载全分辨率图片
方法 2:直接右键
点击图片打开全尺寸
右键 → "在新标签页中打开图片"
右键点击图片 → 图片另存为
方法 3:用 Python 批量下载(实现完全自动化)
按细分领域整理:
## 步骤 4:使用 Node.js Canvas 生成幻灯片(无需 Canva)
与其在 Canva 中手动设计,不如使用脚本以编程方式将钩子文案叠加到 Pinterest 图片上,并导出为 1080×1920 的 PNG,实现全自动化。
安装依赖
> @napi-rs/canvas 是一个快速的原生 Node.js canvas 实现。无需浏览器。
幻灯片结构
脚本:generate-slides.js
运行它
输出:
正在生成 6 张幻灯片...
使用自定义字体
下载任意 TTF/OTF 字体(例如 Inter Bold、Montserrat Black)并注册:
现在你的内容团队无需接触代码即可编辑 slides-config.json。结合 Claude Opus 4.7 输出的钩子列表,你就拥有了一条完全自动化的内容流水线。
## 步骤 5:安装 Postiz Agent CLI
视频制作完成且后期处理结束后,是时候安排发布了。Postiz 作为你的分发指挥中心,负责发布时间安排、跨平台发布和互动自动化。
仓库/文档:postiz.com/agent
验证它是否正常工作:
这会以 JSON 格式返回你所有已连接的社交账号。如果看到空数组 [],则需要先连接 TikTok。
将 TikTok 连接到 Postiz
前往 app.postiz.com → Integrations → Add Channel → TikTok
用你的 TikTok 账号授权
再次运行 postiz integrations:list,你会看到你的 TikTok 集成 ID:
复制该 id。每个 posts:create 命令都需要用到它。
TikTok 的核心 CLI 命令
运行它:
一条命令,整周的排期搞定。
## 步骤 6:以 TikTok 草稿形式发布以避免被检测为垃圾行为
这是任何 TikTok 自动化设置中最容易被忽视的部分。如果你通过 API 在定时时间从服务器 IP 直接推送帖子,TikTok 的系统最终会将这种模式标记为机器人行为:触达减少、影子限流,甚至整个账号被标记。
安全的做法:上传到草稿箱,然后从应用中手动发布。
为什么草稿模式很重要
当你通过 API 自动发布时,TikTok 会看到:
- 服务器 IP 发起发布
- 机器人式的固定发布间隔
- 发布前没有任何人工交互
当你从草稿箱发布时:
- 幻灯片悄无声息地进入你的 TikTok 草稿箱
- 你在高峰时段打开应用,查看草稿,点击发布
- 从 TikTok 的角度来看:是一个真实的人通过真实设备在真实网络上发布
- 实际发布操作上没有服务器指纹
这一个改变对账号健康度有显著影响,尤其是对新账号或高频发布的场景。
混合工作流
Postiz 负责排期日历和提醒。实际发布来自你的设备,这对算法来说是一个干净的信号。
## 将 PNG 幻灯片上传到 TikTok 草稿箱
方法 1:Postiz 内的草稿(保存在 Postiz 中,不发布)
使用 -t draft 标志:
帖子会以草稿形式留在 Postiz 中,直到你更改状态才会发布。使用 postiz posts:status <id> --status schedule 将其加入发布队列,或使用 posts:delete 丢弃。
方法 2:推送到 TikTok 收件箱(TikTok 应用内的草稿)
如果你希望帖子以待定草稿的形式出现在 TikTok 应用中,然后在手机上完成发布,请将 content_posting_method 设置为 "UPLOAD":
当 Postiz "发布"此内容时,TikTok 会将视频发送到应用内的收件箱。你打开应用 → 点击通知 → 手动完成并发布。
将 Postiz 配置为通知模式
将 Postiz 设置为 Notify 而不是 Auto Publish。Postiz 管理你的编辑日历,并在预定时间发送推送通知,提醒你从应用中发布草稿:
Postiz 控制台 → New Post
选择 TikTok → 添加你的文案并安排时间
在 Publish mode 下,选择 Notify(而非 Direct Post)
保存
到了预定时间,Postiz 会发送移动推送通知:"该发你的 TikTok 了!"打开应用,找到等待中的草稿,点击发布。
## 常见问题排查
POSTIZ_API_KEY 环境变量是必需的
你还没有在当前 shell 会话中导出该密钥。将其永久添加:
postiz integrations:list 返回空数组 []
你的 TikTok 账号尚未连接到 Postiz。前往 app.postiz.com → Integrations → Add Channel → TikTok 并授权。
postiz 上传失败
检查你的 POSTIZ_API_KEY 是否仍然有效。对于较大的 PNG 文件(普通幻灯片一般不会),可先尝试用 pngquant 压缩:
定时帖子没有发出去
检查 postiz posts:list 并查看 status 字段。如果显示 failed,Postiz 会显示错误原因(通常是 TikTok OAuth 令牌过期或触发速率限制)。在 app.postiz.com 或本地(如果你自行托管)重新授权并重新排期。
注意:确保你的账号已经发布内容一段时间,且状态确实健康。
祝各位好运 🫡
## 相关链接
- [Alex Nguyen](https://x.com/alexcooldev)
- [@alexcooldev](https://x.com/alexcooldev)
- [180万](https://x.com/alexcooldev/status/2044820024695947654/analytics)
- [snaptik.app](https://snaptik.app/)
- [ssstik.io](https://ssstik.io/)
- [PinDown](https://chrome.google.com/webstore/detail/pindown)
- [@napi](https://x.com/@napi)
- [postiz.com/agent](https://postiz.com/agent)
- [app.postiz.com](https://app.postiz.com/)
- [app.postiz.com](https://app.postiz.com/)
- [app.postiz.com](https://app.postiz.com/)
- [升级到 Premium](https://x.com/i/premium_sign_up)
- [2026年4月17日 上午12:47](https://x.com/alexcooldev/status/2044820024695947654)
- [180万次浏览](https://x.com/alexcooldev/status/2044820024695947654/analytics)
- [查看引用](https://x.com/alexcooldev/status/2044820024695947654/quotes)
---
*导出时间: 2026/4/21 14:35:08*