seamless-pattern-generation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Seamless Pattern Generation

无缝图案生成

Generate professional-quality seamless, tileable patterns using each::sense. This skill creates repeating patterns that tile perfectly for textiles, wallpapers, packaging, digital backgrounds, and surface design applications.
使用each::sense生成专业级别的无缝可平铺图案。该技能可创建能完美平铺的重复图案,适用于纺织品、壁纸、包装、数字背景和表面设计场景。

Features

功能特性

  • Floral Patterns: Botanical designs with flowers, leaves, and organic elements
  • Geometric Patterns: Mathematical shapes, tessellations, and structured designs
  • Abstract Patterns: Artistic, non-representational repeating designs
  • Textile/Fabric Patterns: Fashion-ready prints for clothing and upholstery
  • Wallpaper Patterns: Interior design patterns for walls and surfaces
  • Gift Wrap Patterns: Festive and decorative wrapping paper designs
  • Camouflage Patterns: Military, hunting, and fashion camo designs
  • Texture Patterns: Marble, stone, wood, and material textures
  • Branded Patterns: Custom patterns with brand elements and colors
  • 花卉图案:包含花朵、叶子和有机元素的植物系设计
  • 几何图案:由数学形状、镶嵌图形构成的结构化设计
  • 抽象图案:具有艺术感的非具象重复设计
  • 纺织面料图案:适用于服装和软装的时尚印花
  • 壁纸图案:用于墙面和表面的室内设计图案
  • 礼品包装图案:节日主题的装饰性包装纸设计
  • 迷彩图案:适用于军事、狩猎和时尚领域的迷彩设计
  • 纹理图案:大理石、石材、木材等材质纹理
  • 品牌定制图案:融入品牌元素和配色的定制图案

Quick Start

快速开始

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless floral pattern with pink roses and green leaves on a cream background, suitable for fabric printing"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless floral pattern with pink roses and green leaves on a cream background, suitable for fabric printing"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Pattern Types & Use Cases

图案类型与应用场景

Pattern TypeCommon UsesKey Characteristics
FloralTextiles, wallpaper, stationeryOrganic, botanical, natural flow
GeometricModern interiors, tech brandingPrecise, mathematical, structured
AbstractArt prints, fashion, packagingArtistic, unique, expressive
TextileFashion, upholstery, beddingProduction-ready, repeat-friendly
WallpaperInterior design, digital backgroundsLarge-scale, room-appropriate
Gift WrapPackaging, holidays, celebrationsFestive, colorful, decorative
CamouflageMilitary, hunting, streetwearOrganic shapes, tactical colors
TextureSurface design, 3D materialsRealistic, material-based
图案类型常见用途核心特征
花卉纺织品、壁纸、文具有机自然、植物系、流畅感
几何现代室内设计、科技品牌精准、数学化、结构化
抽象艺术版画、时尚、包装艺术感、独特、富有表现力
纺织面料时尚服饰、软装、床上用品可量产、适合重复印刷
壁纸室内设计、数字背景大尺寸、适配空间
礼品包装包装、节日、庆典喜庆、多彩、装饰性强
迷彩军事、狩猎、街头服饰有机形状、战术配色
纹理表面设计、3D材质逼真、基于真实材质

Use Case Examples

应用场景示例

1. Floral Seamless Pattern

1. 花卉无缝图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless tileable floral pattern featuring delicate watercolor roses, peonies, and eucalyptus leaves. Soft pink, blush, and sage green color palette on an off-white background. Romantic cottage core aesthetic, suitable for fabric printing and textile design."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless tileable floral pattern featuring delicate watercolor roses, peonies, and eucalyptus leaves. Soft pink, blush, and sage green color palette on an off-white background. Romantic cottage core aesthetic, suitable for fabric printing and textile design."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

2. Geometric Pattern

2. 几何图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless geometric pattern with interlocking hexagons and triangles. Modern minimalist style with navy blue, gold, and white colors. Art deco influence, clean lines, perfect for luxury packaging or interior wallpaper. Must tile seamlessly."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless geometric pattern with interlocking hexagons and triangles. Modern minimalist style with navy blue, gold, and white colors. Art deco influence, clean lines, perfect for luxury packaging or interior wallpaper. Must tile seamlessly."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

3. Abstract Pattern

3. 抽象图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless abstract pattern with fluid organic shapes and bold brush strokes. Vibrant coral, teal, and mustard yellow on a dark charcoal background. Contemporary artistic style inspired by mid-century modern art. Tileable for fashion prints."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless abstract pattern with fluid organic shapes and bold brush strokes. Vibrant coral, teal, and mustard yellow on a dark charcoal background. Contemporary artistic style inspired by mid-century modern art. Tileable for fashion prints."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

4. Fabric/Textile Pattern

4. 纺织面料图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless textile pattern for summer dress fabric. Tropical design with palm leaves, monstera, and hibiscus flowers. Fresh green, coral pink, and cream colors on white. Playful yet sophisticated, ready for fabric repeat printing."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless textile pattern for summer dress fabric. Tropical design with palm leaves, monstera, and hibiscus flowers. Fresh green, coral pink, and cream colors on white. Playful yet sophisticated, ready for fabric repeat printing."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

5. Wallpaper Pattern

5. 壁纸图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless wallpaper pattern with elegant chinoiserie style. Featuring birds, flowering branches, and butterflies. Soft blue and white porcelain color scheme with subtle gold accents. Classic, timeless interior design aesthetic. Must tile perfectly for wall application."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless wallpaper pattern with elegant chinoiserie style. Featuring birds, flowering branches, and butterflies. Soft blue and white porcelain color scheme with subtle gold accents. Classic, timeless interior design aesthetic. Must tile perfectly for wall application."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

6. Gift Wrap Pattern

6. 礼品包装图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless gift wrap pattern for birthday celebrations. Colorful confetti, balloons, streamers, and party hats scattered playfully. Bright rainbow colors including pink, blue, yellow, and green on a light lavender background. Fun and festive, perfect for wrapping paper."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless gift wrap pattern for birthday celebrations. Colorful confetti, balloons, streamers, and party hats scattered playfully. Bright rainbow colors including pink, blue, yellow, and green on a light lavender background. Fun and festive, perfect for wrapping paper."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

7. Camouflage Pattern

7. 迷彩图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless woodland camouflage pattern with organic irregular shapes. Traditional military camo colors: olive green, brown, tan, and black. Realistic forest environment camouflage suitable for hunting gear or outdoor apparel. Must tile seamlessly."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless woodland camouflage pattern with organic irregular shapes. Traditional military camo colors: olive green, brown, tan, and black. Realistic forest environment camouflage suitable for hunting gear or outdoor apparel. Must tile seamlessly."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

8. Marble/Stone Texture Pattern

8. 大理石/石材纹理图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless marble texture pattern resembling Italian Calacatta marble. White base with elegant grey and gold veining. Luxurious, high-end aesthetic suitable for interior design, countertops visualization, or luxury packaging. Realistic stone texture that tiles without visible seams."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless marble texture pattern resembling Italian Calacatta marble. White base with elegant grey and gold veining. Luxurious, high-end aesthetic suitable for interior design, countertops visualization, or luxury packaging. Realistic stone texture that tiles without visible seams."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

9. Digital Camo Pattern

9. 数码迷彩图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless digital camouflage pattern with pixelated rectangular shapes. Urban style with grey, black, white, and dark blue colors. Modern tactical military aesthetic, similar to MARPAT or UCP patterns. Clean digital pixels, perfect for gaming, streetwear, or tech accessories."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless digital camouflage pattern with pixelated rectangular shapes. Urban style with grey, black, white, and dark blue colors. Modern tactical military aesthetic, similar to MARPAT or UCP patterns. Clean digital pixels, perfect for gaming, streetwear, or tech accessories."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

10. Custom Branded Pattern

10. 品牌定制图案

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless branded pattern for a coffee shop. Feature small coffee cups, coffee beans, croissants, and steam swirls as repeating elements. Warm brown, cream, and copper color palette. Vintage artisanal cafe aesthetic, suitable for packaging, menus, and store decor. Tileable pattern."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a seamless branded pattern for a coffee shop. Feature small coffee cups, coffee beans, croissants, and steam swirls as repeating elements. Warm brown, cream, and copper color palette. Vintage artisanal cafe aesthetic, suitable for packaging, menus, and store decor. Tileable pattern."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Best Practices

最佳实践

Creating Seamless Patterns

创建无缝图案

  • Specify tileable/seamless: Always mention that the pattern should tile seamlessly
  • Define scale: Indicate if you need small repeat, medium, or large-scale patterns
  • Color palette: Be specific about colors for brand consistency
  • Use case context: Mention the intended application (fabric, wallpaper, digital)
  • 明确无缝要求:务必提及图案需要无缝可平铺
  • 定义尺寸比例:说明需要小尺寸、中等尺寸还是大尺寸重复图案
  • 指定配色方案:明确颜色以保证品牌一致性
  • 说明应用场景:提及图案的预期用途(面料、壁纸、数字场景等)

Pattern Design Tips

图案设计技巧

  • Balance: Ensure even distribution of elements across the pattern
  • Contrast: Include enough contrast for visual interest
  • Direction: Specify if pattern should be directional or non-directional
  • Density: Indicate how dense or sparse you want the pattern elements
  • 平衡感:确保图案元素分布均匀
  • 对比度:保留足够对比度以提升视觉吸引力
  • 方向性:指定图案是否需要具有方向性
  • 密度:说明图案元素的疏密程度

Technical Considerations

技术考量

  • Resolution: Higher resolution for print applications
  • Color mode: Mention if CMYK-friendly colors are needed for print
  • Repeat type: Specify if you need half-drop, brick, or straight repeat
  • 分辨率:印刷场景需要更高分辨率
  • 色彩模式:若用于印刷,需说明是否需要CMYK友好配色
  • 重复类型:指定需要半错位、砖形还是直线型重复

Prompt Tips for Pattern Generation

图案生成提示词技巧

When creating seamless patterns, include these details in your prompt:
  1. Pattern Type: Floral, geometric, abstract, etc.
  2. Design Elements: Specific motifs and shapes to include
  3. Color Palette: Exact colors or color mood
  4. Style/Aesthetic: Modern, vintage, minimalist, maximalist
  5. Scale: Small, medium, or large repeat
  6. Use Case: What the pattern will be used for
  7. Seamless Requirement: Always mention tileable/seamless
创建无缝图案时,提示词应包含以下细节:
  1. 图案类型:花卉、几何、抽象等
  2. 设计元素:需要包含的具体图案和形状
  3. 配色方案:精确颜色或色彩基调
  4. 风格美学:现代、复古、极简、极繁等
  5. 尺寸比例:小、中、大尺寸重复
  6. 应用场景:图案的用途
  7. 无缝要求:务必提及无缝可平铺

Example Prompt Structure

提示词结构示例

"Create a seamless [pattern type] pattern featuring [design elements].
[Color palette] on a [background color] background.
[Style/aesthetic] style, suitable for [use case].
Must tile perfectly/seamlessly."
"Create a seamless [pattern type] pattern featuring [design elements].
[Color palette] on a [background color] background.
[Style/aesthetic] style, suitable for [use case].
Must tile perfectly/seamlessly."

Mode Selection

模式选择

Ask your users before generating:
"Do you want fast & cheap, or high quality?"
ModeBest ForSpeedQuality
max
Final production patterns, client deliverablesSlowerHighest
eco
Quick drafts, concept exploration, rapid iterationFasterGood
生成前请询问用户:
"您需要快速低成本的版本,还是高质量版本?"
模式适用场景速度质量
max
最终量产图案、客户交付物较慢最高
eco
快速草稿、概念探索、快速迭代较快良好

Multi-Turn Pattern Iteration

多轮图案迭代

Use
session_id
to iterate on pattern designs:
bash
undefined
使用
session_id
进行图案设计迭代:
bash
undefined

Initial pattern

初始图案

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a seamless botanical pattern with ferns and monstera leaves, green tones on white"}], "model": "eachsense/beta", "stream": true, "session_id": "pattern-project-001" }'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a seamless botanical pattern with ferns and monstera leaves, green tones on white"}], "model": "eachsense/beta", "stream": true, "session_id": "pattern-project-001" }'

Iterate based on feedback

根据反馈迭代

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Make the leaves larger and add some small berries in coral color"}], "model": "eachsense/beta", "stream": true, "session_id": "pattern-project-001" }'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Make the leaves larger and add some small berries in coral color"}], "model": "eachsense/beta", "stream": true, "session_id": "pattern-project-001" }'

Request color variation

请求配色变体

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a variation with a dark navy background instead of white"}], "model": "eachsense/beta", "stream": true, "session_id": "pattern-project-001" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a variation with a dark navy background instead of white"}], "model": "eachsense/beta", "stream": true, "session_id": "pattern-project-001" }'
undefined

Pattern Collection Generation

系列图案生成

Generate coordinating patterns for a collection:
bash
undefined
生成配套的系列图案:
bash
undefined

Main pattern

主图案

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a seamless floral pattern with large roses in dusty pink and sage green, vintage style"}], "model": "eachsense/beta", "stream": true, "session_id": "collection-vintage-florals", "mode": "max" }'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a seamless floral pattern with large roses in dusty pink and sage green, vintage style"}], "model": "eachsense/beta", "stream": true, "session_id": "collection-vintage-florals", "mode": "max" }'

Coordinating geometric

配套几何图案

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a coordinating seamless stripe pattern using the same dusty pink and sage green colors, simple elegant stripes"}], "model": "eachsense/beta", "stream": true, "session_id": "collection-vintage-florals", "mode": "max" }'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a coordinating seamless stripe pattern using the same dusty pink and sage green colors, simple elegant stripes"}], "model": "eachsense/beta", "stream": true, "session_id": "collection-vintage-florals", "mode": "max" }'

Coordinating small-scale

配套小尺寸图案

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a small-scale seamless polka dot pattern in the same color palette for a blender pattern"}], "model": "eachsense/beta", "stream": true, "session_id": "collection-vintage-florals", "mode": "max" }'
undefined
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a small-scale seamless polka dot pattern in the same color palette for a blender pattern"}], "model": "eachsense/beta", "stream": true, "session_id": "collection-vintage-florals", "mode": "max" }'
undefined

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
Content policy violationProhibited contentAdjust prompt to comply with content policies
TimeoutComplex generationSet client timeout to minimum 10 minutes
错误原因解决方案
Failed to create prediction: HTTP 422
余额不足在eachlabs.ai进行充值
内容政策违规包含违禁内容修改提示词以符合内容政策
超时生成任务复杂将客户端超时设置为至少10分钟

Related Skills

相关技能

  • each-sense
    - Core API documentation
  • product-photo-generation
    - E-commerce product shots
  • texture-generation
    - Material textures for 3D
  • each-sense
    - 核心API文档
  • product-photo-generation
    - 电商产品图生成
  • texture-generation
    - 3D材质纹理生成