AI Fabric Pattern
Design original textile and fabric patterns using each::sense — the intelligent AI agent that automatically selects the best model for your request.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
Using curl
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 seamless repeating floral pattern with small wildflowers in soft pink, lavender, and sage green on a cream background. Watercolor illustration style, suitable for cotton fabric printing"
}
],
"stream": false
}'
Using Python (OpenAI SDK)
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 seamless repeating floral pattern with small wildflowers in soft pink, lavender, and sage green on a cream background. Watercolor illustration style, suitable for cotton fabric printing"
}]
)
print(response.choices[0].message.content)
With Reference Image
Provide a mood board or existing pattern as inspiration:
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 seamless pattern inspired by the style and color palette of this reference. Keep the same mood but use different motifs — replace the florals with tropical leaves and exotic birds. Suitable for silk fabric."},
{"type": "image_url", "image_url": {"url": "https://example.com/reference-pattern.jpg"}}
]
}
],
"stream": false
}'
Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.
Streaming
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.
Pattern Categories
| Category |
Motifs |
Common Uses |
| Floral |
roses, wildflowers, tropical flowers, botanicals |
dresses, curtains, bedding |
| Geometric |
chevrons, hexagons, triangles, tessellations |
shirts, ties, upholstery |
| Abstract |
brushstrokes, marble, watercolor washes |
scarves, blouses, wallpaper |
| Ethnic |
ikat, batik, paisley, tribal, aztec |
bohemian fashion, home textiles |
| Animal |
leopard, zebra, snakeskin, feathers |
statement fashion, accessories |
| Novelty |
food, animals, objects, characters |
children's clothing, accessories |
| Stripes & Checks |
pinstripe, plaid, gingham, tartan |
suiting, casual wear |
Prompt Engineering Tips
Prompt Structure
[seamless/repeating] + [motif description] + [color palette] + [style] + [background] + [intended use]
Key Phrases for Seamless Patterns
seamless repeating pattern, tileable design, continuous repeat,
all-over print, four-way repeat, half-drop repeat,
pattern tile, textile-ready design
Scale Descriptors
ditsy (very small repeat), small-scale, medium-scale,
large-scale, oversized motif, micro print, macro print
Examples
Art Deco 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" \
-d '{
"messages": [
{
"role": "user",
"content": "Design a seamless Art Deco geometric pattern with fan shapes and stepped arches. Gold metallic and deep navy color palette on a black background. Luxurious, symmetrical, repeating tile, suitable for evening wear fabric"
}
],
"stream": false
}'
Tropical Botanical
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 lush tropical seamless pattern with monstera leaves, palm fronds, and birds of paradise flowers. Rich greens, coral, and teal on a dark jungle green background. Hand-painted botanical illustration style, large-scale repeat for resort wear"
}
],
"stream": false
}'
Minimalist Abstract
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 minimalist abstract seamless pattern with irregular organic dots and thin curved lines. Muted terracotta and charcoal on an off-white linen-textured background. Scandinavian design aesthetic, medium-scale repeat, suitable for home textile printing"
}
],
"stream": false
}'
Japanese-Inspired Waves
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 seamless pattern inspired by traditional Japanese seigaiha waves. Indigo blue concentric wave arcs on a white background, clean line work, medium-scale repeat. Woodblock print aesthetic, suitable for cotton yukata fabric"
}
],
"stream": false
}'
Batch Workflow: Colorway Variations
COLORWAYS=(
"coral pink, dusty rose, and cream on a white background"
"navy blue, teal, and gold on a dark charcoal background"
"sage green, olive, and tan on a natural linen background"
"black and white monochrome with grey accents"
)
MOTIF="seamless ditsy floral pattern with small scattered wildflowers and leaves"
for COLORS in "${COLORWAYS[@]}"; do
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 $MOTIF in $COLORS. Hand-drawn illustration style, textile-ready repeat.\"}],
\"stream\": false
}"
echo "---"
done
Common Pitfalls
- Seamless edges are hard for AI to guarantee. Always specify "seamless repeating" in the prompt; you may still need post-processing to perfect tile edges.
- Too many colors (more than 5-6) make patterns look chaotic and are expensive to print.
- Scale ambiguity — always state "small-scale", "medium-scale", or "large-scale" to control repeat density.
- Fabric suitability — mention the intended fabric (silk, cotton, polyester) to influence weight and detail level.
Related Skills
Related Models
Documentation
1---2name: ai-fabric-pattern3description: Design textile and fabric patterns using each::sense AI. Create seamless repeating patterns for fashion, upholstery, wallpaper, and packaging. Supports florals, geometrics, abstract, ethnic, animal print, and custom motifs. Use for: textile design, fabric printing, surface pattern, wallpaper design, packaging patterns, fashion prints. Triggers: fabric pattern, textile design, pattern generator, seamless pattern, surface pattern, print design, textile print, repeat pattern, fabric design, wallpaper pattern4---56# AI Fabric Pattern78Design original textile and fabric patterns using [each::sense](https://docs.eachlabs.ai/sense/overview) — the intelligent AI agent that automatically selects the best model for your request.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314### Using curl1516```bash17curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \18 -H "Content-Type: application/json" \19 -H "X-API-Key: $EACHLABS_API_KEY" \20 -d '{21 "messages": [22 {23 "role": "user",24 "content": "Design a seamless repeating floral pattern with small wildflowers in soft pink, lavender, and sage green on a cream background. Watercolor illustration style, suitable for cotton fabric printing"25 }26 ],27 "stream": false28 }'29```3031### Using Python (OpenAI SDK)3233```python34from openai import OpenAI3536client = OpenAI(37 api_key="YOUR_EACHLABS_API_KEY",38 base_url="https://eachsense-agent.core.eachlabs.run/v1"39)4041response = client.chat.completions.create(42 model="eachsense/beta",43 messages=[{44 "role": "user",45 "content": "Design a seamless repeating floral pattern with small wildflowers in soft pink, lavender, and sage green on a cream background. Watercolor illustration style, suitable for cotton fabric printing"46 }]47)4849print(response.choices[0].message.content)50```5152### With Reference Image5354Provide a mood board or existing pattern as inspiration:5556```bash57curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \58 -H "Content-Type: application/json" \59 -H "X-API-Key: $EACHLABS_API_KEY" \60 -d '{61 "messages": [62 {63 "role": "user",64 "content": [65 {"type": "text", "text": "Create a new seamless pattern inspired by the style and color palette of this reference. Keep the same mood but use different motifs — replace the florals with tropical leaves and exotic birds. Suitable for silk fabric."},66 {"type": "image_url", "image_url": {"url": "https://example.com/reference-pattern.jpg"}}67 ]68 }69 ],70 "stream": false71 }'72```7374> Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.7576### Streaming7778Set `"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.7980## Pattern Categories8182| Category | Motifs | Common Uses |83|----------|--------|-------------|84| **Floral** | roses, wildflowers, tropical flowers, botanicals | dresses, curtains, bedding |85| **Geometric** | chevrons, hexagons, triangles, tessellations | shirts, ties, upholstery |86| **Abstract** | brushstrokes, marble, watercolor washes | scarves, blouses, wallpaper |87| **Ethnic** | ikat, batik, paisley, tribal, aztec | bohemian fashion, home textiles |88| **Animal** | leopard, zebra, snakeskin, feathers | statement fashion, accessories |89| **Novelty** | food, animals, objects, characters | children's clothing, accessories |90| **Stripes & Checks** | pinstripe, plaid, gingham, tartan | suiting, casual wear |9192## Prompt Engineering Tips9394### Prompt Structure9596```97[seamless/repeating] + [motif description] + [color palette] + [style] + [background] + [intended use]98```99100### Key Phrases for Seamless Patterns101102```103seamless repeating pattern, tileable design, continuous repeat,104all-over print, four-way repeat, half-drop repeat,105pattern tile, textile-ready design106```107108### Scale Descriptors109110```111ditsy (very small repeat), small-scale, medium-scale,112large-scale, oversized motif, micro print, macro print113```114115## Examples116117### Art Deco Geometric118119```bash120curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \121 -H "Content-Type: application/json" \122 -H "X-API-Key: $EACHLABS_API_KEY" \123 -d '{124 "messages": [125 {126 "role": "user",127 "content": "Design a seamless Art Deco geometric pattern with fan shapes and stepped arches. Gold metallic and deep navy color palette on a black background. Luxurious, symmetrical, repeating tile, suitable for evening wear fabric"128 }129 ],130 "stream": false131 }'132```133134### Tropical Botanical135136```bash137curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \138 -H "Content-Type: application/json" \139 -H "X-API-Key: $EACHLABS_API_KEY" \140 -d '{141 "messages": [142 {143 "role": "user",144 "content": "Design a lush tropical seamless pattern with monstera leaves, palm fronds, and birds of paradise flowers. Rich greens, coral, and teal on a dark jungle green background. Hand-painted botanical illustration style, large-scale repeat for resort wear"145 }146 ],147 "stream": false148 }'149```150151### Minimalist Abstract152153```bash154curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \155 -H "Content-Type: application/json" \156 -H "X-API-Key: $EACHLABS_API_KEY" \157 -d '{158 "messages": [159 {160 "role": "user",161 "content": "Design a minimalist abstract seamless pattern with irregular organic dots and thin curved lines. Muted terracotta and charcoal on an off-white linen-textured background. Scandinavian design aesthetic, medium-scale repeat, suitable for home textile printing"162 }163 ],164 "stream": false165 }'166```167168### Japanese-Inspired Waves169170```bash171curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \172 -H "Content-Type: application/json" \173 -H "X-API-Key: $EACHLABS_API_KEY" \174 -d '{175 "messages": [176 {177 "role": "user",178 "content": "Design a seamless pattern inspired by traditional Japanese seigaiha waves. Indigo blue concentric wave arcs on a white background, clean line work, medium-scale repeat. Woodblock print aesthetic, suitable for cotton yukata fabric"179 }180 ],181 "stream": false182 }'183```184185## Batch Workflow: Colorway Variations186187```bash188COLORWAYS=(189 "coral pink, dusty rose, and cream on a white background"190 "navy blue, teal, and gold on a dark charcoal background"191 "sage green, olive, and tan on a natural linen background"192 "black and white monochrome with grey accents"193)194195MOTIF="seamless ditsy floral pattern with small scattered wildflowers and leaves"196197for COLORS in "${COLORWAYS[@]}"; do198 curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \199 -H "Content-Type: application/json" \200 -H "X-API-Key: $EACHLABS_API_KEY" \201 -d "{202 \"messages\": [{\"role\": \"user\", \"content\": \"Design a $MOTIF in $COLORS. Hand-drawn illustration style, textile-ready repeat.\"}],203 \"stream\": false204 }"205 echo "---"206done207```208209## Common Pitfalls210211- **Seamless edges** are hard for AI to guarantee. Always specify "seamless repeating" in the prompt; you may still need post-processing to perfect tile edges.212- **Too many colors** (more than 5-6) make patterns look chaotic and are expensive to print.213- **Scale ambiguity** — always state "small-scale", "medium-scale", or "large-scale" to control repeat density.214- **Fabric suitability** — mention the intended fabric (silk, cotton, polyester) to influence weight and detail level.215216## Related Skills217218- [AI Fashion Model](../ai-fashion-model/SKILL.md) — Show patterns on model garments219- [AI Outfit Generator](../ai-outfit-generator/SKILL.md) — Create outfits with patterned pieces220- [AI Product Mockup](../../ecommerce/ai-product-mockup/SKILL.md) — Apply patterns to product mockups221- [AI Texture Generator](../../3d-ar/ai-texture-generator/SKILL.md) — PBR textures for 3D fabrics222223## Related Models224225- [flux-2-max](../../../models/flux-2-max/SKILL.md) — Highest quality image generation226- [seedream-v4-5](../../../models/seedream-v4-5/SKILL.md) — Creative and artistic styles227- [nano-banana-pro](../../../models/nano-banana-pro/SKILL.md) — Fast iterations228229## Documentation230231- [each::sense Overview](https://docs.eachlabs.ai/sense/overview)232- [each::labs API](https://docs.eachlabs.ai)