AI Pattern Generator
Generate seamless tileable patterns for textiles, surfaces, and digital backgrounds 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": "Generate a seamless tileable pattern of tropical monstera leaves and palm fronds on a deep navy background. Botanical illustration style, green and emerald tones, repeating pattern suitable for 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": "Generate a seamless tileable pattern of tropical monstera leaves and palm fronds on a deep navy background. Botanical illustration style, green and emerald tones, repeating pattern suitable for fabric printing."
}]
)
print(response.choices[0].message.content)
With Reference Image
Use a reference pattern or style image:
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 seamless tileable pattern inspired by this design style but with a different motif: use small wildflowers and herbs instead. Keep the same color palette and density. Repeating tile format."},
{"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 Server-Sent Events (SSE) responses, or "stream": false to receive the 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 |
Subjects |
Applications |
| Floral |
Roses, wildflowers, tropical flowers |
Fabric, wallpaper, stationery |
| Botanical |
Leaves, ferns, eucalyptus, herbs |
Home decor, wrapping paper |
| Geometric |
Hexagons, triangles, chevrons, diamonds |
Modern textiles, tiles, tech |
| Abstract |
Organic blobs, brush strokes, splatters |
Fashion, backgrounds |
| Animal |
Leopard print, zebra, scales, feathers |
Fashion, accessories |
| Art Deco |
Fan shapes, zigzags, gold accents |
Luxury packaging, invitations |
| Terrazzo |
Stone chips, speckles, confetti |
Stationery, surfaces |
| Toile |
Scenic illustrations, pastoral |
Traditional home decor |
Examples
Geometric Mid-Century
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": "Seamless tileable pattern in mid-century modern style. Atomic age starbursts, boomerang shapes, and organic ovals. Mustard yellow, teal, burnt orange, and cream on a warm white background. Clean vector style, repeating tile."
}
],
"stream": false
}'
Luxury Wrapping Paper
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": "Seamless tileable pattern for luxury gift wrapping paper. Art Deco style with golden fan shapes, geometric lines, and small diamond accents. Gold on a deep midnight blue background. Elegant, sophisticated, repeating tile format."
}
],
"stream": false
}'
Children's Fabric 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" \
-d '{
"messages": [
{
"role": "user",
"content": "Seamless tileable pattern for children's fabric. Cute hand-drawn dinosaurs in pastel colors — mint green, soft pink, lavender, and peach. Small stars and leaves scattered between the dinosaurs. White background, playful illustration style, repeating tile."
}
],
"stream": false
}'
Prompt Tips for Seamless Patterns
- Always say "seamless tileable" — this signals the model to create edges that match when repeated
- Specify the background color to control the overall feel
- Describe density: "densely packed" vs. "scattered with space between elements"
- Mention the end use: "for fabric printing," "for web background," "for packaging" — this helps optimize the scale
- Keep motif count low: 3-5 distinct elements tile better than complex scenes
- Add "repeating tile format" for the clearest intent
Scale Guide
| Application |
Pattern Density |
Motif Size |
| Dress Fabric |
Medium density |
Small to medium motifs |
| Upholstery |
Large scale |
Big motifs, bold |
| Stationery |
Fine, delicate |
Tiny repeated elements |
| Web Background |
Subtle, low contrast |
Small, non-distracting |
| Wrapping Paper |
Medium density |
Medium motifs |
| Tile/Flooring |
Structured grid |
Geometric, precise |
Related Skills
Related Models
Documentation
1---2name: ai-pattern-generator3description: Generate seamless tileable patterns using each::sense AI. Create repeating designs for textiles, wallpapers, packaging, web backgrounds, and surface design in any style from floral to geometric, abstract to vintage. Supports fabric-ready, print-ready, and digital-ready patterns. Use for: textile design, fabric patterns, wrapping paper, web backgrounds, packaging design, surface design, brand patterns. Triggers: ai pattern, pattern generator, seamless pattern, tileable pattern, textile design, fabric pattern, surface pattern, repeating pattern, wallpaper pattern, wrapping paper, background pattern4---56# AI Pattern Generator78Generate seamless tileable patterns for textiles, surfaces, and digital backgrounds 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": "Generate a seamless tileable pattern of tropical monstera leaves and palm fronds on a deep navy background. Botanical illustration style, green and emerald tones, repeating pattern suitable for 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": "Generate a seamless tileable pattern of tropical monstera leaves and palm fronds on a deep navy background. Botanical illustration style, green and emerald tones, repeating pattern suitable for fabric printing."46 }]47)4849print(response.choices[0].message.content)50```5152### With Reference Image5354Use a reference pattern or style image: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 seamless tileable pattern inspired by this design style but with a different motif: use small wildflowers and herbs instead. Keep the same color palette and density. Repeating tile format."},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 Server-Sent Events (SSE) responses, or `"stream": false` to receive the 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 | Subjects | Applications |83|----------|---------|--------------|84| **Floral** | Roses, wildflowers, tropical flowers | Fabric, wallpaper, stationery |85| **Botanical** | Leaves, ferns, eucalyptus, herbs | Home decor, wrapping paper |86| **Geometric** | Hexagons, triangles, chevrons, diamonds | Modern textiles, tiles, tech |87| **Abstract** | Organic blobs, brush strokes, splatters | Fashion, backgrounds |88| **Animal** | Leopard print, zebra, scales, feathers | Fashion, accessories |89| **Art Deco** | Fan shapes, zigzags, gold accents | Luxury packaging, invitations |90| **Terrazzo** | Stone chips, speckles, confetti | Stationery, surfaces |91| **Toile** | Scenic illustrations, pastoral | Traditional home decor |9293## Examples9495### Geometric Mid-Century9697```bash98curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \99 -H "Content-Type: application/json" \100 -H "X-API-Key: $EACHLABS_API_KEY" \101 -d '{102 "messages": [103 {104 "role": "user",105 "content": "Seamless tileable pattern in mid-century modern style. Atomic age starbursts, boomerang shapes, and organic ovals. Mustard yellow, teal, burnt orange, and cream on a warm white background. Clean vector style, repeating tile."106 }107 ],108 "stream": false109 }'110```111112### Luxury Wrapping Paper113114```bash115curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \116 -H "Content-Type: application/json" \117 -H "X-API-Key: $EACHLABS_API_KEY" \118 -d '{119 "messages": [120 {121 "role": "user",122 "content": "Seamless tileable pattern for luxury gift wrapping paper. Art Deco style with golden fan shapes, geometric lines, and small diamond accents. Gold on a deep midnight blue background. Elegant, sophisticated, repeating tile format."123 }124 ],125 "stream": false126 }'127```128129### Children's Fabric Pattern130131```bash132curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \133 -H "Content-Type: application/json" \134 -H "X-API-Key: $EACHLABS_API_KEY" \135 -d '{136 "messages": [137 {138 "role": "user",139 "content": "Seamless tileable pattern for children's fabric. Cute hand-drawn dinosaurs in pastel colors — mint green, soft pink, lavender, and peach. Small stars and leaves scattered between the dinosaurs. White background, playful illustration style, repeating tile."140 }141 ],142 "stream": false143 }'144```145146## Prompt Tips for Seamless Patterns147148- **Always say "seamless tileable"** — this signals the model to create edges that match when repeated149- **Specify the background color** to control the overall feel150- **Describe density**: "densely packed" vs. "scattered with space between elements"151- **Mention the end use**: "for fabric printing," "for web background," "for packaging" — this helps optimize the scale152- **Keep motif count low**: 3-5 distinct elements tile better than complex scenes153- **Add "repeating tile format"** for the clearest intent154155## Scale Guide156157| Application | Pattern Density | Motif Size |158|-------------|----------------|------------|159| **Dress Fabric** | Medium density | Small to medium motifs |160| **Upholstery** | Large scale | Big motifs, bold |161| **Stationery** | Fine, delicate | Tiny repeated elements |162| **Web Background** | Subtle, low contrast | Small, non-distracting |163| **Wrapping Paper** | Medium density | Medium motifs |164| **Tile/Flooring** | Structured grid | Geometric, precise |165166## Related Skills167168- [Text to Image](../text-to-image/SKILL.md) — General image generation169- [AI Wallpaper Generator](../ai-wallpaper-generator/SKILL.md) — Full wallpaper designs170- [AI Coloring Page](../ai-coloring-page/SKILL.md) — Line art pattern pages171- [AI Tattoo Generator](../ai-tattoo-generator/SKILL.md) — Mandala and pattern-based designs172173## Related Models174175- [flux-2-max](../../../models/flux-2-max/SKILL.md) — Highest quality image generation176- [seedream-v4-5](../../../models/seedream-v4-5/SKILL.md) — Creative and artistic styles177178## Documentation179180- [each::sense Overview](https://docs.eachlabs.ai/sense/overview)181- [each::labs API](https://docs.eachlabs.ai)