运行时依赖
安装命令
点击复制技能文档
TikTok Carousel Generation 技能 (OpenClaw-style) Short description
This 技能 生成s a 6-slide TikTok carousel (portrAIt images + text overlays), drafts a TikTok post using a draft API (Postiz in this 仓库), and 输出s a ready-to-review caption. The focus is cost-effective, reproducible content generation and automating as much of the drafting process as possible while keeping final publishing manual.
Quick 安装 & 运行 创建 and activate a Python virtual 环境. 安装 dependencies: pip 安装 -r requirements.txt. 创建 环境 variables: OPENAI_API_KEY (for image/text generation) and POSTIZ_API_KEY (optional, for 上传ing and creating drafts). 运行 the 生成器 (examples in README.md / scripts/). What this 技能 contAIns tiktok_content_gen.py — 编排器: 创建s hook, locked architecture, images, captions and can 上传 a draft. postiz_API_integration.py — small Postiz 命令行工具ent used to 上传 media and 创建 drafts (keeps drafts private by default). scripts/生成.py — thin 命令行工具 wr应用er to 运行 generation locally. scripts/上传.py — 命令行工具 wr应用er to 上传 生成d images and 创建 a draft. requirements.txt — Python dependencies. 输入s / 输出s (contract) 输入s: tar获取 persona/topic, optional prompt 种子s, number of slides (default 6), style hints. 输出s: images/final_slide_{i}.png, caption.txt, optional Postiz draft (returns draft id/url). Security & cost notes Keep API keys out of source control and use 环境 variables. Image generation costs depend on the 模型 (DALL·E 3 or similar). Use batching or lower-res variants for cost savings.
安装ation detAIls and examples are in README.md inside this folder.