TikTok 内容
使用 each::sense 制作吸睛的 TikTok 封面图与视频内容视觉——它是一个智能 AI 智能体会自动为你的请求挑选最合适的模型。
快速开始
> 需要 each::labs API key。到 eachlabs.ai 获取。
使用 curl
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Create a TikTok video cover image for a cooking tutorial. Close-up of a sizzling pan with colorful stir-fry vegetables mid-toss, steam and oil droplets frozen in the air, dramatic kitchen lighting, vibrant and appetizing, vertical 9:16 format."
}
],
"stream": false
}'
使用 Python(OpenAI SDK)
from openai import OpenAI
client = OpenAI(
api_key="YOUR_EACHLABS_API_KEY",
base_url="https://eachsense-agent.core.eachlabs.run/v1"
)
response = client.chat.completions.create(
model="eachsense/beta",
messages=[{
"role": "user",
"content": "Create a TikTok video cover image for a cooking tutorial. Close-up of a sizzling pan with colorful stir-fry vegetables mid-toss, steam and oil droplets frozen in the air, dramatic kitchen lighting, vibrant and appetizing, vertical 9:16 format."
}]
)
print(response.choices[0].message.content)
带参考图使用
匹配你现有的 TikTok 品牌调性:
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "Create a TikTok cover image in the same style as this reference. Match the bold color treatment and composition, but change the subject to a DIY craft project — hands holding a freshly painted ceramic mug, same energetic vibe, 9:16 vertical."},
{"type": "image_url", "image_url": {"url": "https://example.com/tiktok-style-ref.jpg"}}
]
}
],
"stream": false
}'
> 图片通过 OpenAI 多模态内容格式放在 messages 里发送。每次请求最多 4 张图片。
流式输出
设置 "stream": true 获得实时 SSE 响应,或设置 "stream": false 在单次响应中返回完整结果。流式适合在 UI 中展示进度;非流式对脚本和自动化更简单。
TikTok 视觉规格
| 格式 | 尺寸 | 用途 |
|---|---|---|
| 视频封面 | 1080 x 1920 px | 个人主页宫格缩略图 |
| 视频帧 | 1080 x 1920 px | 片头/片尾画面 |
| 文字背景 | 1080 x 1920 px | 位于屏幕文字下方 |
| 绿幕 | 1080 x 1920 px | 绿幕特效的背景 |
| 商品展示 | 1080 x 1920 px | 以商品为主体的内容 |
提示词工程技巧
有效关键词
TikTok cover, vertical format 9:16, bold and eye-catching, saturated colors,
dynamic composition, trending aesthetic, Gen-Z visual style, high energy,
close-up dramatic angle, vibrant and punchy, scroll-stopping
应避免的关键词
corporate professional — TikTok rewards casual and authentic
subtle and muted — content gets lost in fast-scrolling feeds
landscape orientation — TikTok is strictly vertical
overly polished — raw and real performs better
提示词结构
TikTok [content type] for [niche], [subject/scene], [visual style], [color treatment], [energy/mood], vertical 9:16 format
示例
美妆教程封面
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Create a TikTok cover for a makeup tutorial. Close-up of colorful eyeshadow palette with a brush sweeping through shimmer pigment, glitter particles floating in the air, punchy pink and gold tones, ring light reflections, glamorous and fun, 9:16 vertical."
}
],
"stream": false
}'
健身内容封面
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Design a TikTok cover image for a workout video. Dynamic shot of a kettlebell mid-swing with chalk dust exploding around it, dark gym background with dramatic side lighting, intense red and orange accent lighting, powerful and motivating, 9:16 vertical format."
}
],
"stream": false
}'
生活妙招视频封面
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Create a TikTok cover for a home organization hack video. Satisfying top-down view of a perfectly organized drawer with color-coded compartments, everything aligned symmetrically, bright clean lighting, oddly satisfying aesthetic, pastel rainbow organization, 9:16 vertical."
}
],
"stream": false
}'
TikTok 内容策略
- 首帧决定一切——封面图决定了别人会不会点进你主页上的视频
- 大胆配色胜出——高饱和、高对比的视觉能拦住滑动的手指
- 露脸内容的播放量是不露脸内容的 2-3 倍
- 流行调性在轮换——跟进当前的视觉趋势(当前:高饱和、戏剧化打光)
- 主页封面风格统一能形成精致的主页宫格观感
- 留出文字空间——底部 20% 留空,给 TikTok 的用户名/文案浮层
安全区
TikTok 的 UI 浮层占据了相当大的屏幕空间:
- 顶部 15%——状态栏与返回按钮
- 底部 20%——用户名、文案与音乐信息
- 右侧边缘 10%——点赞、评论、分享与收藏按钮
- 安全区——画面正中的 60%
工作流
# Step 1: Generate the video cover concept
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "TikTok cover for a travel vlog. Breathtaking aerial view of turquoise water meeting white sand beach, tiny umbrella and lounger visible, vivid saturated colors, wanderlust-inducing, 9:16 vertical."
}
],
"stream": false
}'
# Step 2: Create a matching text background for a follow-up post
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "TikTok cover for a travel vlog. Breathtaking aerial view of turquoise water meeting white sand beach, tiny umbrella and lounger visible, vivid saturated colors, wanderlust-inducing, 9:16 vertical."
},
{
"role": "assistant",
"content": "..."
},
{
"role": "user",
"content": "Now create a TikTok text background for a travel tips list. Same turquoise and white color palette but blurred and softened to 30% opacity, so white text will be easily readable over it, 9:16 vertical."
}
],
"stream": false
}'
相关技能
- Instagram 内容 — Instagram 帖子与快拍
- YouTube 内容 — YouTube Shorts 与缩略图
- Pinterest 图钉 — 竖版视觉内容
- 社交媒体贴文 — 通用社交图形
相关模型
- flux-2-max — 最高质量的图像生成
- flux-kontext-pro — 最擅长图中文字渲染
- seedream-v4-5 — 创意与艺术风格
- nano-banana-pro — 快速迭代