视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
ai-diagram-generator【文档与办公】Generate educational diagrams and flowcharts using each::sense AI. Create process flows, mind maps, system diagrams, Venn diagrams, timelines, and organizational charts for teaching, presentations, and documentation. Use for: educational diagrams, flowcharts, process visualization, mind maps, infographics, technical diagrams. Triggers: diagram, flowc…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate clear, informative educational diagrams and flowcharts 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 clean educational diagram showing the water cycle: evaporation from ocean, condensation forming clouds, precipitation as rain, collection in rivers and lakes flowing back to the ocean, arrows connecting each stage, labeled steps, blue and white color scheme, infographic 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": "Create a clean educational diagram showing the water cycle: evaporation from ocean, condensation forming clouds, precipitation as rain, collection in rivers and lakes flowing back to the ocean, arrows connecting each stage, labeled steps, blue and white color scheme, infographic 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": "Based on this rough sketch, create a polished educational diagram with clean lines, consistent icons, color-coded sections, and clear directional arrows, professional infographic style"},
{"type": "image_url", "image_url": {"url": "https://example.com/rough-sketch.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 software development lifecycle flowchart: rectangular boxes connected by arrows in a circular flow, six stages from requirements through design, development, testing, deployment, and maintenance, each box a different color from blue to green spectrum, clean flat design, white background, professional technical diagram"
}
],
"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 detailed cross-section diagram of an animal cell showing nucleus, mitochondria, endoplasmic reticulum, Golgi apparatus, ribosomes, and cell membrane, each organelle in a distinct color, clean scientific illustration style, labeled with pointer lines, educational biology diagram"
}
],
"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 horizontal timeline infographic showing the history of space exploration with six milestone points along a line, each with a small icon representing the event, alternating above and below the timeline, gradient from dark blue to purple background, modern flat design, space-themed"
}
],
"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 mind map diagram about renewable energy sources: central node branching out to solar, wind, hydro, geothermal, and biomass, each branch in a different color with sub-branches showing advantages and applications, organic flowing connections, clean white background, educational infographic style"
}
],
"stream": false
}'