算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
poster-design【设计与创意】Design event, movie, and promotional posters using each::sense AI. Generate striking poster artwork for concerts, film releases, theater productions, conferences, art exhibitions, and marketing campaigns with bold compositions and typographic layouts. Use for: movie posters, event posters, concert posters, promotional posters, theater posters, confer…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Design striking event, movie, and promotional posters 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": "Design a vintage-style jazz concert poster. A saxophone player silhouette against a smoky spotlight, art deco geometric borders, warm amber and deep brown tones, aged paper texture, classic 1940s jazz club aesthetic, portrait orientation."
}
],
"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": "Design a vintage-style jazz concert poster. A saxophone player silhouette against a smoky spotlight, art deco geometric borders, warm amber and deep brown tones, aged paper texture, classic 1940s jazz club aesthetic, portrait orientation."
}]
)
print(response.choices[0].message.content)
Supply a style reference or previous poster from the same series:
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 new concert poster in the same visual style as this reference. Same color palette and layout structure, but change the subject to a guitarist with stage lights, keep the vintage screenprint texture."},
{"type": "image_url", "image_url": {"url": "https://example.com/previous-poster.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.
| Type | Style | Best For |
|---|---|---|
| Movie Poster | Cinematic, dramatic | Film releases, trailers |
| Concert/Gig | Bold, energetic | Live music events |
| Minimalist | Clean, symbolic | Art exhibitions, film festivals |
| Retro/Vintage | Screenprint, aged | Indie events, collectibles |
| Typography | Text-dominant | Conferences, talks |
| Illustrated | Hand-drawn, artistic | Theater, festivals |
poster design, bold composition, dramatic focal point, high contrast,
striking visual hierarchy, strong silhouette, cinematic framing,
screenprint style, large central image, border framing, portrait orientation
detailed small text — AI text rendering is unreliable
too many subjects — posters need a single focal point
landscape orientation — most posters are portrait
realistic photograph — illustrated styles work better for posters
[style] poster for [event type], [subject/scene], [artistic technique], [color palette], [mood], portrait orientation
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 sci-fi movie poster. A lone astronaut standing before an enormous alien monolith on a barren red planet, dramatic low-angle perspective, the monolith reflects a distorted Earth in its surface, cinematic lighting with lens flare, dark and mysterious, portrait orientation."
}
],
"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 psychedelic music festival poster. Swirling liquid art patterns in electric pink, turquoise, and gold, a central eye surrounded by radiating waves of color, 1960s concert poster style, hand-drawn illustration feel, portrait orientation."
}
],
"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 modern tech conference poster. Abstract network of connected nodes forming the shape of a lightbulb, clean white background, navy blue and teal accents, minimal geometric style, corporate yet creative, portrait orientation with generous space for event details."
}
],
"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 dramatic theater poster for a Shakespeare production. A crown shattering into golden fragments against a deep crimson velvet background, single spotlight from above, theatrical and regal, painterly illustration style, portrait orientation."
}
],
"stream": false
}'
# Step 1: Generate the poster 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": "Minimalist film noir poster. A detective silhouette standing under a streetlamp in rain, long shadow stretching forward, black and white with one accent of red from a neon sign reflection, portrait orientation."
}
],
"stream": false
}'
# Step 2: Refine the composition
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": "Minimalist film noir poster. A detective silhouette standing under a streetlamp in rain, long shadow stretching forward, black and white with one accent of red from a neon sign reflection, portrait orientation."
},
{
"role": "assistant",
"content": "..."
},
{
"role": "user",
"content": "Add rain streaks catching the light, make the shadow more prominent, and add a faint city skyline in the background fog. Keep the minimalist black and white with red accent."
}
],
"stream": false
}'