算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
menu-design【设计与创意】Design restaurant and cafe menu layouts using each::sense AI. Generate beautiful menu backgrounds, food illustrations, decorative borders, and themed visual elements for restaurants, cafes, bars, bakeries, and food trucks. Supports various cuisines and dining styles from fine dining to casual eateries. Use for: restaurant menus, cafe menus, bar menus…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Design beautiful restaurant and cafe menu visuals 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 restaurant menu background for an Italian trattoria. Warm aged parchment texture, rustic olive branch illustrations framing the top and bottom borders, hand-drawn style, Tuscan warm earth tones with olive green accents, portrait orientation with generous center space for menu text."
}
],
"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 restaurant menu background for an Italian trattoria. Warm aged parchment texture, rustic olive branch illustrations framing the top and bottom borders, hand-drawn style, Tuscan warm earth tones with olive green accents, portrait orientation with generous center space for menu text."
}]
)
print(response.choices[0].message.content)
Provide your restaurant's branding or interior photos to match the vibe:
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 menu background that matches the aesthetic of this restaurant interior. Capture the same mood and color palette, design decorative borders and background texture that complement the dining atmosphere, portrait format."},
{"type": "image_url", "image_url": {"url": "https://example.com/restaurant-interior.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.
| Cuisine | Visual Style | Colors | Elements |
|---|---|---|---|
| Italian | Rustic, hand-drawn | Earth tones, olive green | Olive branches, grape vines |
| Japanese | Minimal, elegant | Black, red, cream | Ink brush strokes, cherry blossoms |
| Mexican | Vibrant, folk art | Bold reds, yellows, teals | Papel picado, cacti, peppers |
| French | Classic, sophisticated | Navy, gold, cream | Art nouveau borders, fleur-de-lis |
| American Diner | Retro, nostalgic | Red, white, chrome | Checkered patterns, neon accents |
| Indian | Ornate, colorful | Saffron, burgundy, gold | Mandala patterns, paisley |
| Cocktail Bar | Moody, premium | Dark tones, copper | Art deco, geometric patterns |
menu background, decorative border, food illustration, hand-drawn elements,
textured paper, themed visual elements, ornamental frame, generous text area,
cuisine-appropriate, portrait orientation, print-ready quality
menu text and prices — add actual content in design software
photorealistic food photos — illustrations work better for menus
cluttered backgrounds — menu text must be easily readable
digital/tech aesthetic — menus need a warm, inviting feel
menu design for [cuisine/restaurant type], [background texture], [decorative elements], [color palette], [style], portrait orientation with [text area description]
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 menu background for a Japanese izakaya. Deep charcoal textured paper, minimalist ink brush stroke border at the top, small watercolor illustrations of sake cups and chopsticks in the corners, wabi-sabi aesthetic, muted ink black and warm gray with a single red accent element, 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 cocktail bar menu design. Dark navy matte background, elegant art deco gold line borders, small decorative illustrations of cocktail glasses and botanicals in gold line art at the top and bottom, Gatsby-era sophistication, portrait orientation with wide margins for drink descriptions."
}
],
"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 bakery menu background. Soft cream-white background with subtle flour dust texture, delicate hand-drawn illustrations of wheat sheaves and a rolling pin framing the top, gentle watercolor pastry sketches along the bottom border, warm and artisanal, pastel pink and gold accents, portrait orientation."
}
],
"stream": false
}'
| Format | Size | Use |
|---|---|---|
| Single Page | 8.5 x 11 in / A4 | Simple menus |
| Bi-fold | 11 x 17 in folded | Standard restaurant |
| Tri-fold | 8.5 x 14 in folded | Takeout menus |
| Table Tent | 4 x 6 in | Specials, drinks |
| Large Format | 11 x 17 in | Chalkboard-style |
# Step 1: Generate the menu cover
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": "Menu cover design for a farm-to-table restaurant. Kraft paper background, beautiful watercolor illustration of a rustic farmhouse surrounded by vegetable garden rows, warm earthy palette with pops of fresh green, hand-crafted and organic feel, portrait orientation."
}
],
"stream": false
}'
# Step 2: Generate matching interior page background
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": "Menu cover design for a farm-to-table restaurant. Kraft paper background, beautiful watercolor illustration of a rustic farmhouse surrounded by vegetable garden rows, warm earthy palette with pops of fresh green, hand-crafted and organic feel, portrait orientation."
},
{
"role": "assistant",
"content": "..."
},
{
"role": "user",
"content": "Now create the interior menu page background. Same kraft paper texture but much simpler: just thin watercolor vegetable illustrations running along the left margin and a subtle vine border at the top. 90% of the page should be clean for text."
}
],
"stream": false
}'