算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
ai-educational-video【设计与创意】Generate educational and tutorial videos using each::sense AI. Create animated explainer videos, science demonstrations, historical reenactment clips, step-by-step tutorials, and visual lectures for e-learning platforms. Use for: educational videos, tutorials, e-learning content, explainer animations, science visualizations, lecture visuals. Triggers…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate educational and tutorial video content for e-learning and classroom use 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 educational video showing the solar system: planets orbiting the sun in sequence from Mercury to Neptune, each planet correctly sized relative to the others, smooth orbital motion, dark space background with stars, scientific visualization style"
}
],
"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 educational video showing the solar system: planets orbiting the sun in sequence from Mercury to Neptune, each planet correctly sized relative to the others, smooth orbital motion, dark space background with stars, scientific visualization style"
}]
)
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 diagram into a short educational video: show each component appearing one by one with smooth transitions, highlight connections between parts, gentle zoom and pan effects, clean educational presentation style"},
{"type": "image_url", "image_url": {"url": "https://example.com/science-diagram.png"}}
]
}
],
"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 educational video showing a chemical reaction at the molecular level: two molecules approaching each other, bonds breaking and reforming into new molecules, glowing energy release at the moment of reaction, 3D molecular visualization, dark background with soft lighting, scientific animation style"
}
],
"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 depicting an ancient Roman marketplace: bustling scene with merchants selling goods at stone stalls, citizens in togas walking through columned archways, slow camera pan through the forum, warm Mediterranean light, cinematic historical reconstruction style"
}
],
"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 showing hands demonstrating origami: paper being folded step by step into a crane shape on a wooden desk, overhead camera angle, natural lighting, close-up detail of precise folds, calm and methodical tutorial pace"
}
],
"stream": false
}'