界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
设计与创意 · SKILL.md

ai-pattern-generator

ai-pattern-generator

【设计与创意】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 background…

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: ai-pattern-generator description: "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 pattern" allowed-tools: Bash(curl *), WebFetch

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

CategorySubjectsApplications
FloralRoses, wildflowers, tropical flowersFabric, wallpaper, stationery
BotanicalLeaves, ferns, eucalyptus, herbsHome decor, wrapping paper
GeometricHexagons, triangles, chevrons, diamondsModern textiles, tiles, tech
AbstractOrganic blobs, brush strokes, splattersFashion, backgrounds
AnimalLeopard print, zebra, scales, feathersFashion, accessories
Art DecoFan shapes, zigzags, gold accentsLuxury packaging, invitations
TerrazzoStone chips, speckles, confettiStationery, surfaces
ToileScenic illustrations, pastoralTraditional 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

ApplicationPattern DensityMotif Size
Dress FabricMedium densitySmall to medium motifs
UpholsteryLarge scaleBig motifs, bold
StationeryFine, delicateTiny repeated elements
Web BackgroundSubtle, low contrastSmall, non-distracting
Wrapping PaperMedium densityMedium motifs
Tile/FlooringStructured gridGeometric, precise

Related Skills

Related Models

Documentation

我的收藏