From gen-ai-image
fal.ai GPT Image 1.5によるAI画像生成。シンプルモード(CLI直接指定)と詳細モード(対話的パラメータ選択)に対応。「AIで画像を生成して」「fal.aiで画像を作って」「プロンプトから画像生成」で発動。SVG図解にはsvg-diagramを、ヘッダー画像にはsvg-header-imageを優先。
How this skill is triggered — by the user, by Claude, or both
Slash command
/gen-ai-image:gen-ai-imageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
fal.ai APIのGPT Image 1.5モデルでプロンプトからAI画像を生成。シンプルモードと詳細モードの2つの使い方に対応。
fal.ai APIのGPT Image 1.5モデルでプロンプトからAI画像を生成。シンプルモードと詳細モードの2つの使い方に対応。
注意: SVGベースの図解は svg-diagram、テキストベースのヘッダーは svg-header-image を優先。
パラメータを直接指定して即座に生成。
node ${CLAUDE_PLUGIN_ROOT}/scripts/generate.js \
--prompt "生成したい画像の説明" \
--output <出力パス.png> \
[--size <1536x1024|1024x1024|1024x1536>] \
[--quality <low|medium|high>]
--detailed フラグでパラメータガイドを表示。AskUserQuestion等を使ってユーザーと対話的にパラメータを決定する際の参考情報。
node ${CLAUDE_PLUGIN_ROOT}/scripts/generate.js --detailed
詳細モードでは以下の情報が表示される:
| オプション | 説明 |
|---|---|
--prompt, -p | 画像生成プロンプト |
--output, -o | 出力ファイルパス(PNG) |
| オプション | 説明 | デフォルト |
|---|---|---|
--size, -s | 画像サイズ | 1536x1024 |
--quality, -q | 品質 (low/medium/high) | low |
--detailed | パラメータガイドを表示 | - |
| 値 | アスペクト比 | 用途 |
|---|---|---|
1536x1024 | 3:2(横長) | ブログ、OGP画像 |
1024x1024 | 1:1(正方形) | SNS投稿、アイコン |
1024x1536 | 2:3(縦長) | スマホ壁紙、縦バナー |
| 値 | 説明 | 推奨用途 |
|---|---|---|
low | 高速生成 | ラフ、参考画像、人物画像 |
medium | バランス良い | ラベル付き説明画像、クオリティ重視 |
high | 最高品質 | 日本語ラベル多い複雑な画像 |
node ${CLAUDE_PLUGIN_ROOT}/scripts/generate.js \
-p "A beautiful sunset over mountains, digital art" \
-o sunset.png
node ${CLAUDE_PLUGIN_ROOT}/scripts/generate.js \
-p "日本の四季を表現した和風イラスト" \
-o seasons.png \
-s 1024x1024 -q high
node ${CLAUDE_PLUGIN_ROOT}/scripts/generate.js \
-p "Cyberpunk cityscape at night, neon lights" \
-o wallpaper.png \
-s 1024x1536 -q medium
FAL_AI_API_KEY 環境変数(.envまたは環境変数で設定)npx claudepluginhub haboshi/claude-code-skills --plugin gen-ai-imageGenerates images via Google Gemini's API from text prompts or reference images, with configurable output size (1K/2K/4K). Useful for creating or editing visuals directly from prompts.
Generates images from text prompts using fal.ai FLUX.1/2 Pro/Dev/Schnell and SDXL models. Configures image sizes, guidance scale, inference steps, LoRA, seeds, batching via TypeScript/Python APIs.
Generates images from text, edits images with references, performs product placement, style transfer, and multi-image composition using OpenAI DALL-E or Google Gemini.