mcpField
C
comic-panel-generation

comic-panel-generation

github.com/eachlabsクリエイティブ・メディア44879 回インストール今日更新
リポジトリ

comic-panel-generation について

each::sense でマンガやコミックの画像を作成するスキルです。イラストレーターや作品制作者向けに、さまざまな形式や画風のパネル、ページ、表紙を生成し、吹き出し、アクション、キャラクターの一貫性にも対応します。

主な機能

  1. 01単一パネルと複数コマのストリップ
  2. 02マンガページと縦スクロールウェブトゥーン
  3. 03写真のコミック風変換
  4. 04セリフ・思考の吹き出し
  5. 05視覚効果付きアクションシーン
  6. 06コマ間のキャラクター一貫性

活用シーン

  1. 01読み順を指定したマンガページの作成
  2. 02縦スクロールウェブトゥーンの絵コンテ作成
  3. 03写真をコミック風イラストに変換
  4. 04同じキャラクターが登場するシーケンスの制作

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/eachlabs/skills --skill comic-panel-generation

インストール後、Claude Code で/comic-panel-generationを入力して読み込まれたか確認します。

同梱ファイルreferences/SSE-EVENTS.md

詳細

コマ漫画の生成

each::sense を使用して、プロ品質のコミックやマンガのアートを生成します。このスキルでは、キャラクターデザインに一貫性を保ちながら、単一コマ、複数コマのストリップ、ページ全体のレイアウト、完全なコミックシーケンスを作成できます。

機能

  • 単一コマ:ダイナミックな構図の個別のコマ
  • 複数コマのストリップ:従来の3~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 single comic panel of a superhero landing dramatically on a rooftop at night, cape billowing, city lights in background"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

コマ漫画の形式とサイズ

形式アスペクト比推奨サイズ用途
単一コマ1:11024x1024ソーシャルメディア、単独のアート
横長コマ16:91920x1080映画のような場面、風景
縦長コマ9:161080x1920劇的な展開、ウェブトゥーン
コミックストリップ3:11500x500横並びの3~4コマ
マンガページ2:31200x1800従来のマンガレイアウト
ウェブトゥーン1:3+800x2400+縦スクロール形式
コミック表紙2:31200x1800書籍の表紙、サムネイル

使用例

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 single comic panel showing a detective in a noir style examining clues in a dimly lit office. Heavy shadows, black and white with selective color on a red lamp. Include dramatic lighting from venetian blinds."}],
    "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 4-panel horizontal comic strip. Panel 1: A cat staring at an empty food bowl. Panel 2: Cat meowing at its sleeping owner. Panel 3: Cat knocking items off a shelf. Panel 4: Owner finally awake and annoyed, cat looking innocent. Cute cartoon style, pastel colors."}],
    "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 full manga page with 5-6 panels. Scene: A young samurai drawing his sword for the first time. Include dynamic panel sizes - one large panel for the dramatic sword draw moment, smaller panels for reaction shots. Black and white manga style with screentones, speed lines for action. Right-to-left reading flow."}],
    "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 superhero comic panel in classic Marvel/DC style. A female superhero with electric powers charging up, lightning crackling around her fists, dramatic low angle shot. Bold colors, heavy inks, dynamic pose, Kirby-style energy effects. Include a starburst background."}],
    "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 vertical webtoon-style comic segment with 3 connected scenes. Scene 1: A student walking into a mysterious antique shop. Scene 2: Close-up of a glowing amulet on a shelf. Scene 3: The shopkeeper appearing mysteriously behind them. Korean webtoon art style, soft colors, vertical scroll format optimized for mobile. 9:16 or taller aspect ratio."}],
    "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": "Convert this photo into a comic book style illustration. Apply bold black outlines, halftone dots for shading, vibrant pop art colors. Make it look like a panel from a graphic novel. Keep the composition but stylize all elements."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/portrait-photo.jpg"]
  }'
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 comic panel with two characters arguing. Include speech bubbles with placeholder text areas. Character 1 (angry businessman): large jagged speech bubble for shouting. Character 2 (calm woman): regular oval speech bubble for response. Also include a thought bubble above the woman showing she is unimpressed. Western comic style."}],
    "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 3-panel action sequence showing a martial arts fight. Panel 1: Fighter A launching a flying kick (motion blur, speed lines). Panel 2: Impact moment with dramatic POW effect and motion burst. Panel 3: Fighter B crashing through wooden crates. Manga action style with heavy use of speed lines, impact effects, and dynamic camera angles."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
9. 複数のコマにわたるキャラクターの一貫性
# First panel - establish character
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 comic panel introducing a character: A teenage girl with short blue hair, large round glasses, wearing a yellow raincoat. She is looking up at the rain with wonder. Anime/manga style, soft colors. This is panel 1 of a series - I need to maintain her appearance in future panels."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "comic-rainy-day-001",
    "mode": "max"
  }'

# Second panel - same character, different scene
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 panel 2 with the same blue-haired girl with glasses and yellow raincoat. Now she is jumping in a puddle, splashing water, with a big smile. Maintain the exact same character design and art style from panel 1."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "comic-rainy-day-001",
    "mode": "max"
  }'

# Third panel - continue the story
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 panel 3: Same character discovers a small frog on a lily pad in the puddle. She kneels down, delighted. Keep her blue hair, round glasses, yellow raincoat consistent. Same manga art style."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "comic-rainy-day-001",
    "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 comic book cover for issue #1 of SHADOW KNIGHTS. Feature a team of 4 heroes in dramatic poses - a knight with a glowing sword, an archer with shadow powers, a mage with fire magic, and a rogue with dual daggers. Dark fantasy style, dramatic lighting from below, epic composition. Leave space at the top for the title logo and bottom for issue number and barcode area. 2:3 aspect ratio."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

コミックアートのスタイル

スタイル説明おすすめの用途
西洋コミック太い線、鮮やかな色彩、ダイナミックなポーズスーパーヒーロー、アクション
マンガすっきりした線、スクリーントーン、表情豊かな目ドラマ、恋愛、アクション
ウェブトゥーン柔らかな色彩、精細な背景、縦スクロールの流れ恋愛、ファンタジー、日常
ノワール強いコントラスト、影、限られた色数探偵もの、スリラー
カートゥーンシンプルな形、誇張された表情コメディ、子ども向けコンテンツ
グラフィックノベル精細な描写、写実的なプロポーション大人向けのテーマ、文学作品
ポップアート鮮やかな色彩、網点、様式化された表現現代的、芸術的

コミック生成のプロンプトのヒント

コミックのコマを作成する際は、プロンプトに次の詳細を含めてください。

  1. コマのレイアウト:単一コマ、複数コマのストリップ、ページ全体、または縦スクロール
  2. アートスタイル:マンガ、西洋コミック、ウェブトゥーン、ノワール、カートゥーンなど
  3. アクション/場面:各コマで何が起きているか
  4. キャラクター:外見、表情、ポーズを説明
  5. 構図:カメラアングル、焦点、ドラマチックな要素
  6. エフェクト:スピード線、衝撃エフェクト、スクリーントーン、ライティング
  7. セリフ用スペース:必要に応じてセリフ/思考の吹き出しを指定
  8. 読み進める方向:左から右(西洋)または右から左(マンガ)
プロンプトの構成例
"Create a [panel count/layout] comic in [art style] style.
[Panel-by-panel description of action/scene].
Characters: [descriptions].
Include [effects: speed lines, speech bubbles, etc.].
[Color/mood]: [palette preferences]."

モードの選択

生成する前に、ユーザーに確認してください。

「速さと低コストを優先しますか、それとも高品質を優先しますか?」

モードおすすめの用途速度品質
max最終アート、印刷可能なコミック、精細なページ遅め最高
ecoすばやい下書き、ストーリーボード、コンセプトの検討速め良好

複数ターンでのコミック作成

session_id を使用すると、複数のリクエストにわたって完全なコミックを作成できます。

# Page 1 - Establish the story
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 page 1 of a sci-fi manga. A space bounty hunter enters a seedy alien bar. 4 panels: exterior shot of neon-lit bar, hunter walking in (silhouette), aliens turning to look, close-up of hunters determined eyes."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "space-bounty-comic"
  }'

# Page 2 - Continue the narrative
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 page 2 continuing the scene. The hunter approaches a table of alien criminals. Include panels showing: the target alien recognizing danger, the hunters hand reaching for a weapon, tension building. Same art style as page 1."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "space-bounty-comic"
  }'

# Request style adjustment
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": "Recreate page 2 but with more dramatic lighting - add more shadows and a red color accent from the bar neon signs. Keep all other elements the same."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "space-bounty-comic"
  }'

コミック制作プロジェクト向けの一括生成

複数のページやバリエーションを効率的に生成します。

# Cover variations
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 manga cover - a magical girl transformation scene, sparkles and ribbons, dramatic pose"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Alternative cover style
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 the same magical girl cover but in darker, more mature art style - less sparkles, more dramatic shadows"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Western comic adaptation
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 the magical girl transformation but in Western superhero comic style - bold colors, heavy inks, more muscular proportions"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

エラー処理

エラー原因解決策
Failed to create prediction: HTTP 422残高不足eachlabs.ai でチャージしてください
コンテンツポリシー違反禁止されているコンテンツ暴力的または成人向けのコンテンツを避けるよう、プロンプトを調整してください
タイムアウト複雑な複数パネルの生成クライアントのタイムアウトを最低10分に設定してください
キャラクターの一貫性がない新しいセッション、または説明が曖昧同じ session_id を使用し、キャラクターを詳しく説明してください

関連スキル

  • each-sense - コア API ドキュメント
  • photo-to-illustration - 写真をさまざまなアートスタイルに変換
  • character-design-generation - 一貫性のあるキャラクターシートを作成
  • storyboard-generation - アニメーション用のビジュアルストーリーボードを作成

コメント