算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
ai-testimonial-video【设计与创意】Generate customer testimonial style videos using each::sense AI. Create talking-head style videos, animated quote visuals, and testimonial scene compositions for marketing. Use for: customer testimonials, review videos, case study visuals, social proof content, testimonial ads. Triggers: testimonial video, customer review, testimonial, talking head, …
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate customer testimonial style video content for marketing campaigns 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": "Generate a short video of a professional woman in her 30s sitting in a modern office, speaking directly to the camera with a warm genuine smile, natural lighting from a window to her left, shallow depth of field, testimonial interview style, corporate but approachable"
}
],
"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": "Generate a short video of a professional woman in her 30s sitting in a modern office, speaking directly to the camera with a warm genuine smile, natural lighting from a window to her left, shallow depth of field, testimonial interview style, corporate but approachable"
}]
)
print(response.choices[0].message.content)
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": "Animate this portrait into a testimonial-style video: the person gently nods and speaks to camera, subtle natural head movements, professional interview lighting, soft background blur"},
{"type": "image_url", "image_url": {"url": "https://example.com/portrait.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.
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": "A short video of a middle-aged businessman in a navy suit sitting in a boardroom, speaking to camera with confident gestures, large windows showing a city skyline behind him, warm professional lighting, shallow depth of field, corporate testimonial interview"
}
],
"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": "Generate a video of a young man in a casual t-shirt sitting on a couch in a bright living room, talking to camera with an enthusiastic expression, holding a phone in one hand, natural daylight, candid vlog-style testimonial"
}
],
"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": "A short video of a female doctor in a white coat sitting in a clean modern medical office, speaking calmly to camera, stethoscope around her neck, neutral medical background, soft even lighting, professional healthcare testimonial style"
}
],
"stream": false
}'