image-generation について
image-generationは、画像生成ツール向けのプロンプト作成と調整を支援するスキルです。視覚表現を細かく指定したい人向けで、各ツールに応じた書き方を案内しますが、画像自体は生成しません。
主な機能
- 01詳細な画像プロンプトの作成
- 02ツール別のプロンプト調整
- 03スタイルキーワードの提案
- 04ネガティブプロンプトの作成
- 05アスペクト比への対応
- 06プロンプトのバリエーション生成
活用シーン
- 01プレゼン画像のプロンプト作成
- 02DALL-E、Midjourney、Stable Diffusion向けの調整
- 03ネガティブプロンプトによる不要要素の回避
- 04異なるビジュアルスタイルの検討
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ claude-office-skills/ skills --skill image-generationインストール後、Claude Code で/image-generationを入力して読み込まれたか確認します。
詳細
画像生成スキル
概要
DALL-E、Midjourney、Stable Diffusion などの AI 画像生成ツール向けに、効果的なプロンプトを作成します。各プラットフォームの特性を理解しており、特定のビジュアルスタイルの実現を支援できます。
できること:
- 詳細な画像生成プロンプトを作成する
- AI ツールに合わせてプロンプトを最適化する
- スタイルを表すキーワードや修飾語を提案する
- 不要な要素を避けるためのネガティブプロンプトを作成する
- さまざまなアスペクト比に合わせてプロンプトを調整する
- バリエーションや代替案を生成する
できないこと:
- 画像を直接生成する
- AI ツールによる出力を正確に保証する
- AI がプロンプトをどう解釈するか予測する
- AI ツールのコンテンツポリシーを回避する
使い方
ステップ 1:イメージを伝える
以下を教えてください:
- 画像に何を描きたいか
- 目的(プレゼンテーション、ソーシャルメディア、マーケティング)
- 好みのスタイル(リアル、アーティスティック、ミニマリスト)
- 表現したい雰囲気や感情
ステップ 2:プラットフォームを選ぶ
- DALL-E 3:明瞭さと指示への忠実さを重視する場合に最適
- Midjourney:芸術的で美しい画像を求める場合に最適
- Stable Diffusion:カスタマイズ性が最も高く、ローカルでの利用も可能
ステップ 3:パラメーターを指定する
- アスペクト比(1:1、16:9、4:3 など)
- 品質レベル
- スタイルの参考資料
- 避けたい要素
プロンプトエンジニアリングのフレームワーク
基本的なプロンプト構成
[Subject] + [Action/State] + [Environment] + [Style] + [Technical Parameters]
詳細なテンプレート
[Main Subject]
- Who/what is the focus?
- What are they doing?
[Environment/Setting]
- Where is this taking place?
- Time of day? Weather? Season?
[Composition]
- Camera angle (eye-level, bird's eye, low angle)
- Framing (close-up, medium shot, wide shot)
- Focus (depth of field)
[Style]
- Art style (photorealistic, watercolor, oil painting, etc.)
- Artist reference (optional)
- Era/period
[Lighting]
- Type (natural, studio, dramatic, soft)
- Direction (backlit, side-lit, front-lit)
[Color]
- Palette (warm, cool, monochrome)
- Specific colors to include
[Mood/Atmosphere]
- Emotion to evoke
- Overall feeling
[Technical]
- Quality modifiers
- Aspect ratio
- Negative prompts
プラットフォーム別のヒント
DALL-E 3
強み:
- 複雑な指示に的確に従う
- 画像内のテキスト生成が得意
- 自然言語の理解力が高い
プロンプトのスタイル:自然な文章で、具体的に記述する
A professional photograph of a modern office space with floor-to-ceiling
windows overlooking a city skyline at sunset. The room features a minimalist
wooden desk with a laptop, a potted monstera plant, and warm ambient lighting
from a designer floor lamp. The mood is productive yet peaceful.
Midjourney
強み:
- 卓越した美的表現
- 優れた芸術的スタイル
- 特定のルックの表現が得意
プロンプトのスタイル:キーワード、パラメーター、スタイルの参考資料を使う
modern office space, floor-to-ceiling windows, city skyline sunset,
minimalist wooden desk, monstera plant, warm ambient lighting,
productive atmosphere --ar 16:9 --style raw --v 6
主なパラメーター:
--ar X:Yアスペクト比--v 6バージョン--style rawスタイリングを抑える--q 2品質--s 250スタイライズの強さ
Stable Diffusion
強み:
- 高いカスタマイズ性
- ローカル/プライベートでの生成
- コミュニティモデルが豊富
プロンプトのスタイル:重み付けトークンを使い、ネガティブプロンプトを必ず指定する
(modern office:1.2), (floor-to-ceiling windows:1.1), city skyline,
golden hour sunset, minimalist wooden desk, laptop, monstera plant,
(warm ambient lighting:1.3), professional photograph, 8k, detailed
Negative: cartoon, drawing, illustration, (worst quality:1.4),
(low quality:1.4), blurry, watermark
スタイルキーワードのリファレンス
写真のスタイル
| スタイル | キーワード |
|---|---|
| ポートレート | portrait photography, headshot, bokeh, 85mm lens |
| 製品 | product photography, studio lighting, white background |
| 風景 | landscape photography, golden hour, dramatic sky |
| ストリート | street photography, candid, urban, documentary |
| ファッション | fashion editorial, vogue style, high fashion |
アートのスタイル
| スタイル | キーワード |
|---|---|
| リアル | photorealistic, hyperrealistic, 8k, detailed |
| イラスト | digital illustration, vector art, flat design |
| 水彩画 | watercolor painting, soft edges, flowing colors |
| 油絵 | oil painting, brush strokes, impasto |
| アニメ | anime style, manga, cel shading |
| 3D レンダリング | 3D render, octane render, blender, CGI |
雰囲気
| 雰囲気 | キーワード |
|---|---|
| プロフェッショナル | corporate, business, clean, modern |
| 居心地のよい | warm, inviting, comfortable, hygge |
| ドラマチック | cinematic, high contrast, moody lighting |
| 陽気 | bright, colorful, happy, vibrant |
| ミニマリスト | simple, clean, whitespace, zen |
ライティング
| 種類 | キーワード |
|---|---|
| 自然光 | natural light, soft daylight, golden hour |
| スタジオ | studio lighting, softbox, rim light |
| ドラマチック | chiaroscuro, dramatic shadows, volumetric |
| ネオン | neon lights, cyberpunk, colorful glow |
出力形式
# Image Generation Prompts: [Concept]
**Purpose**: [What the image is for]
**Target Platform**: [DALL-E / Midjourney / SD]
**Aspect Ratio**: [X:Y]
---
## Primary Prompt
### For DALL-E 3:
[詳細な説明を含む自然言語のプロンプト]
### For Midjourney:
[パラメーター付きのキーワードベースのプロンプト]
### For Stable Diffusion:
[重み付けプロンプト]
ネガティブ:[避けたい要素]
---
## Variations
### Variation 1: [Description]
[プロンプト]
### Variation 2: [Description]
[プロンプト]
### Variation 3: [Description]
[プロンプト]
---
## Style Alternatives
### Option A: [Style Name]
Add these keywords: `[keywords]`
### Option B: [Style Name]
Add these keywords: `[keywords]`
---
## Tips for This Image
1. [Specific tip for achieving desired result]
2. [Tip]
3. [Tip]
---
## Iteration Suggestions
If the result isn't quite right:
- Try: [Adjustment 1]
- Try: [Adjustment 2]
- Try: [Adjustment 3]
よくある用途
ビジネス/企業向け
Professional headshot, corporate portrait, business casual attire,
neutral background, studio lighting, confident expression,
sharp focus, high resolution
マーケティング/ソーシャルメディア
Lifestyle product photography, natural setting, soft natural light,
pastel color palette, Instagram aesthetic, flat lay composition,
millennial pink, minimalist
プレゼンテーション用グラフィック
Abstract business concept, isometric illustration, blue and white
color scheme, clean design, corporate style, flat design,
technology theme, professional
ブログ/記事のヘッダー
Wide banner image, [topic] concept art, editorial style,
cinematic composition, 16:9 aspect ratio, headline-friendly
(space for text overlay), muted colors
より良い結果を得るためのヒント
- 具体的に指定する - 「ゴールデンレトリバー」>「犬」
- 望むものを説明し、望まないものは説明しない(ネガティブプロンプトは別途使用します)
- 品質を高める修飾語を使う - 「プロフェッショナルな」「詳細な」「8k」
- スタイルを指定する - 「[アーティスト/ジャンル]のスタイルで」
- 構図を指定する - 「クローズアップ」「ワイドショット」「鳥瞰図」
- 照明を含める - 雰囲気に大きく影響します
- 反復する - 結果に基づいて調整します
- バリエーションには一貫したシードを使う(可能な場合)
制限事項
- 画像を直接生成することはできません
- 結果はAIプラットフォームによって異なります
- プラットフォームのポリシーにより、一部のコンセプトは制限されています
- 正確な出力は予測できません
- 複数回の反復が必要になる場合があります
Claude Office Skillsコミュニティによって作成されました。コントリビューションを歓迎します!
コメント
Markdown 対応