算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
brand-asset-pipeline【设计与创意】Generate complete brand assets in a pipeline using each::sense AI. Create a cohesive brand package including logo concept, social media profile images, cover banners, business card mockups, and branded patterns from a single brand brief. Use for: brand asset generation, complete branding, brand package, visual identity pipeline, startup branding. Tri…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate a complete set of brand assets from a single brief 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.
This workflow generates multiple brand assets sequentially, using consistent style keywords to maintain visual cohesion.
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 logo symbol for a premium tea brand called Zenith Tea: an elegant minimal line drawing of a tea leaf merging with a mountain peak, single continuous line style, works in deep forest green on white and white on dark backgrounds, modern luxury aesthetic, vector flat design, centered on white background"
}
],
"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 social media profile picture for Zenith Tea brand: the tea leaf and mountain logo symbol centered on a deep forest green circular background, minimalist, clean edges suitable for a small circular avatar, luxury tea brand aesthetic"
}
],
"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 wide social media cover banner for Zenith Tea: misty mountain landscape at dawn with rolling tea plantations in the foreground, deep forest green and soft gold color palette, atmospheric depth, space on the left for text overlay, premium tea brand photography, panoramic landscape format"
}
],
"stream": false
}'
from openai import OpenAI
client = OpenAI(
api_key="YOUR_EACHLABS_API_KEY",
base_url="https://eachsense-agent.core.eachlabs.run/v1"
)
BRAND = "Zenith Tea"
STYLE = "deep forest green and gold, luxury minimalist, elegant"
assets = {
"logo": f"Logo symbol for {BRAND}: a tea leaf merging with a mountain peak, minimal line art, {STYLE}, vector flat design, white background",
"profile": f"Social media avatar for {BRAND}: logo symbol on deep forest green circle, clean minimal, {STYLE}, square format",
"cover": f"Social media cover banner for {BRAND}: misty mountain tea plantations at dawn, {STYLE}, panoramic wide format with text space on left",
"pattern": f"Brand pattern tile for {BRAND}: subtle repeating tea leaf and mountain motifs, {STYLE}, seamless repeating pattern, muted tones",
"card": f"Business card mockup for {BRAND}: minimalist card on dark surface, {STYLE}, logo centered, clean typography areas, professional presentation"
}
for asset_name, prompt in assets.items():
print(f"Generating {asset_name}...")
response = client.chat.completions.create(
model="eachsense/beta",
messages=[{"role": "user", "content": prompt}]
)
print(f" {asset_name}: {response.choices[0].message.content}")
print("---")
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.
# Define consistent brand style
BRAND_STYLE="electric blue and white, clean geometric, modern tech"
# Logo
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\": \"Logo for a SaaS startup called DataFlow: abstract flowing data stream forming the letter D, $BRAND_STYLE, vector flat design, white background\"}],
\"stream\": false
}"
# Social profile
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\": \"Social media profile picture for DataFlow: logo mark on dark navy background, circular format, $BRAND_STYLE\"}],
\"stream\": false
}"
# Cover banner
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\": \"LinkedIn cover banner for DataFlow: abstract data visualization with flowing connected nodes and lines, $BRAND_STYLE, wide panoramic format, dark background with glowing elements, space for tagline on the right\"}],
\"stream\": false
}"