seamless-pattern-generation について
seamless-pattern-generation は each::sense を使い、テキスタイル、インテリア、パッケージ、表面デザイン向けのタイル状パターンを生成するスキルです。花柄や幾何学柄から素材テクスチャまで扱い、反復調整やコレクション制作にも対応します。
主な機能
- 01継ぎ目なく反復する柄の生成
- 02花柄・幾何学柄・抽象柄への対応
- 03テキスタイル・壁紙・包装紙のデザイン
- 04質感・ブランド柄の作成
- 05反復調整と柄コレクション制作
活用シーン
- 01布地用のリピート柄をデザイン
- 02インテリア向け壁紙パターンの作成
- 03ギフト包装紙やブランド柄の生成
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ eachlabs/ skills --skill seamless-pattern-generationインストール後、Claude Code で/seamless-pattern-generationを入力して読み込まれたか確認します。
同梱ファイルreferences/SSE-EVENTS.md
詳細
シームレスパターンの生成
each::sense を使用して、プロ品質のシームレスでタイル状に配置できるパターンを生成します。このスキルでは、テキスタイル、壁紙、パッケージ、デジタル背景、サーフェスデザイン用途に適した、きれいに繰り返し配置できるパターンを作成します。
特徴
- フローラルパターン:花、葉、自然の要素を取り入れた植物モチーフのデザイン
- 幾何学パターン:数学的な図形、テセレーション、構造的なデザイン
- 抽象パターン:芸術的で、具象的な表現にとらわれない繰り返しデザイン
- テキスタイル/ファブリックパターン:衣類や家具用ファブリックに適したプリント
- 壁紙パターン:壁や表面に使用するインテリアデザイン用パターン
- ギフトラップパターン:祝祭的で装飾的な包装紙のデザイン
- カモフラージュパターン:ミリタリー、ハンティング、ファッション向けの迷彩デザイン
- テクスチャパターン:大理石、石、木材などの素材テクスチャ
- ブランドパターン:ブランド要素やカラーを取り入れたカスタムパターン
クイックスタート
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"
}'
パターンの種類と用途
| パターンの種類 | 主な用途 | 主な特徴 |
|---|---|---|
| フローラル | テキスタイル、壁紙、文房具 | 有機的、植物モチーフ、自然な流れ |
| 幾何学 | モダンなインテリア、テック系ブランディング | 正確、数学的、構造的 |
| 抽象 | アートプリント、ファッション、パッケージ | 芸術的、独創的、表現豊か |
| テキスタイル | ファッション、家具用ファブリック、寝具 | 生産対応、リピート向き |
| 壁紙 | インテリアデザイン、デジタル背景 | 大きなスケール、部屋に適したデザイン |
| ギフトラップ | パッケージ、祝日、お祝い | 祝祭的、カラフル、装飾的 |
| カモフラージュ | ミリタリー、ハンティング、ストリートウェア | 有機的な形、戦術的なカラー |
| テクスチャ | サーフェスデザイン、3D 素材 | リアル、素材に基づく |
用途例
1. フローラルのシームレスパターン
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. 幾何学パターン
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. 抽象パターン
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. ファブリック/テキスタイルパターン
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. 壁紙パターン
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. ギフトラップパターン
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. カモフラージュパターン
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. 大理石/石のテクスチャパターン
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. デジタルカモフラージュパターン
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. カスタムブランドパターン
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"
}'
ベストプラクティス
シームレスパターンの作成
- タイル状/シームレスと指定する:パターンがシームレスにタイル状に配置されるよう、必ず指定します
- スケールを定義する:小、中、大のどのリピートパターンが必要かを示します
- カラーパレット:ブランドの一貫性を保つため、色を具体的に指定します
- 用途のコンテキスト:用途(布地、壁紙、デジタルなど)を伝えます
パターンデザインのヒント
- バランス:パターン全体に要素が均等に配置されていることを確認します
- コントラスト:視覚的な面白さを出すため、十分なコントラストを含めます
- 方向性:パターンに方向性を持たせるか、方向性をなくすかを指定します
- 密度:パターン要素をどの程度密に、または疎らにするかを示します
技術上の考慮事項
- 解像度:印刷用途では、より高い解像度にします
- カラーモード:印刷用に CMYK 対応色が必要かどうかを伝えます
- リピートの種類:ハーフドロップ、ブリック、ストレートのどのリピートが必要かを指定します
パターン生成のプロンプトのヒント
シームレスパターンを作成する際は、プロンプトに次の詳細を含めます。
- パターンの種類:フローラル、幾何学、抽象など
- デザイン要素:含める具体的なモチーフや形
- カラーパレット:正確な色や色の雰囲気
- スタイル/美的テイスト:モダン、ヴィンテージ、ミニマリスト、マキシマリスト
- スケール:小、中、大のリピート
- 用途:パターンの使用目的
- シームレスの要件:必ずタイル状に配置できること/シームレスであることを伝えます
プロンプトの構成例
"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."
モードの選択
生成前にユーザーに尋ねます。
「速さと低コストを優先しますか、それとも高品質を優先しますか?」
| モード | 最適な用途 | 速度 | 品質 |
|---|---|---|---|
max | 最終制作向けパターン、クライアントへの納品物 | 遅め | 最高 |
eco | すばやい下書き、コンセプトの検討、迅速な反復 | 速め | 良好 |
複数ターンでのパターンの反復
パターンのデザインを反復するには、session_id を使用します。
# 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"
}'
# 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"
}'
# 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"
}'
パターンコレクションの生成
コレクション用に統一感のあるパターンを生成します。
# 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"
}'
# 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"
}'
# 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"
}'
エラー処理
| エラー | 原因 | 解決策 |
|---|---|---|
Failed to create prediction: HTTP 422 | 残高不足 | eachlabs.ai で残高をチャージします |
| コンテンツポリシー違反 | 禁止されているコンテンツ | コンテンツポリシーに準拠するようプロンプトを調整します |
| タイムアウト | 複雑な生成 | クライアントのタイムアウトを最低 10 分に設定します |
関連スキル
each-sense- コア API ドキュメントproduct-photo-generation- E コマース向け商品写真texture-generation- 3D 向けマテリアルテクスチャ
コメント
Markdown 対応