算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
tiktok-content【设计与创意】Create TikTok video content and cover images using each::sense AI. Generate eye-catching TikTok cover thumbnails, video intro frames, text background templates, transition visuals, and branded TikTok content optimized for the For You Page algorithm. Vertical 9:16 format for maximum impact. Use for: TikTok covers, video thumbnails, TikTok graphics, vi…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Create eye-catching TikTok cover images and video content visuals using each::sense — the intelligent AI agent that automatically selects the best model for your request.
Requires an each::labs API key. Get one at eachlabs.ai.
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
}'
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)
Match your existing TikTok brand aesthetic:
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
}'
Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.
Set "stream": true for real-time SSE responses, or "stream": false for complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.
| Format | Dimensions | Purpose |
|---|---|---|
| Video Cover | 1080 x 1920 px | Profile grid thumbnail |
| Video Frame | 1080 x 1920 px | Intro/outro screens |
| Text Background | 1080 x 1920 px | Behind on-screen text |
| Green Screen | 1080 x 1920 px | Background for green screen effect |
| Product Showcase | 1080 x 1920 px | Product-focused content |
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's UI overlays take up significant screen space:
# 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
}'