[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M777EREW3A7FRYABPR9G6AHQ":3,"skill-same:01M777EREW3A7FRYABPR9G6AHQ":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M777EREW3A7FRYABPR9G6AHQ","image-gen",null,"Generate images using multiple AI models — Midjourney (via Legnext.ai), Flux, Nano Banana Pro (Gemini), Ideogram, Recraft, and more via fal.ai. Intelligently routes to the best model based on use case.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwells1137\u002Fimage-gen\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: image-gen\ndescription: Generate images using multiple AI models — Midjourney (via Legnext.ai), Flux, Nano Banana Pro (Gemini), Ideogram, Recraft, and more via fal.ai. Intelligently routes to the best model based on use case.\nhomepage: https:\u002F\u002Flegnext.ai\nmetadata: {\"openclaw\":{\"emoji\":\"🎨\",\"primaryEnv\":\"FAL_KEY\",\"requires\":{\"env\":[\"FAL_KEY\",\"LEGNEXT_KEY\"]},\"install\":[{\"id\":\"node\",\"kind\":\"node\",\"package\":\"@fal-ai\u002Fclient\",\"label\":\"Install fal.ai client (npm)\"}]}}\n---\n\n# Image Generation Skill\n\nThis skill generates images using the best AI model for each use case. **Model selection is the most important decision** — read the dispatch logic carefully before generating.\n\n---\n\n## 🧠 Intelligent Dispatch Logic\n\n**Always select the model based on the user's actual need, not just the request surface.**\n\n### Decision Tree\n\n```\nDoes the request involve MULTIPLE images that share characters, scenes, or story continuity?\n  ├─ YES → Use NANO BANANA (Gemini)\n  │         Reason: Gemini understands context holistically; supports reference_images\n  │         for character\u002Fscene consistency across a series (storyboard, comic, sequence)\n  │\n  └─ NO → Is it a SINGLE standalone image?\n            ├─ Artistic \u002F cinematic \u002F painterly \u002F highly detailed?\n            │   → Use MIDJOURNEY\n            │\n            ├─ Photorealistic \u002F portrait \u002F product photo?\n            │   → Use FLUX PRO\n            │\n            ├─ Contains TEXT (logo, poster, sign, infographic)?\n            │   → Use IDEOGRAM\n            │\n            ├─ Vector \u002F icon \u002F flat design \u002F brand asset?\n            │   → Use RECRAFT\n            │\n            ├─ Quick draft \u002F fast iteration (speed priority)?\n            │   → Use FLUX SCHNELL (\u003C2s)\n            │\n            └─ General purpose \u002F balanced?\n                → Use FLUX DEV\n```\n\n### Model Capability Matrix\n\n| Model | ID | Artistic | Photorealism | Text | Context Continuity | Speed | Cost |\n|---|---|---|---|---|---|---|---|\n| **Midjourney** | `midjourney` | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐ | ❌ (no context) | ~30s | ~$0.05 |\n| **Nano Banana Pro** | `nano-banana` | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ~20s | $0.15 |\n| **Flux Pro** | `flux-pro` | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ | ❌ | ~5s | ~$0.05 |\n| **Flux Dev** | `flux-dev` | ⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐ | ❌ | ~8s | ~$0.03 |\n| **Flux Schnell** | `flux-schnell` | ⭐⭐ | ⭐⭐⭐ | ⭐⭐ | ❌ | \u003C2s | ~$0.003 |\n| **Ideogram v3** | `ideogram` | ⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ❌ | ~10s | ~$0.08 |\n| **Recraft v3** | `recraft` | ⭐⭐⭐⭐ | ⭐⭐ | ⭐⭐⭐⭐ | ❌ | ~8s | ~$0.04 |\n| **SDXL Lightning** | `sdxl` | ⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ | ❌ | ~3s | ~$0.01 |\n\n### When to Use Nano Banana (Critical)\n\nUse **Nano Banana** whenever the user's request involves:\n- **Storyboard \u002F 分镜图**: Multiple frames that tell a story with the same characters\n- **Comic strip \u002F 漫画**: Sequential panels with consistent characters\n- **Character series**: Multiple images of the same person\u002Fcharacter in different poses or scenes\n- **Scene continuation**: \"Now show the same girl in the forest\" (referencing a previous image)\n- **Style consistency**: A set of images that must share the same visual style\u002Fworld\n\nNano Banana uses Google's Gemini 3 Pro multimodal architecture, which understands context holistically rather than keyword-matching. It supports up to 14 reference images for maintaining character and scene consistency.\n\n---\n\n## How to Use This Skill\n\n1. **Analyze the request**: Is it a single image or a series? Does it need context continuity?\n2. **Select model**: Use the decision tree above.\n3. **Enhance the prompt**: Add style, lighting, and quality descriptors appropriate for the model.\n4. **Inform the user**: Tell them which model you're using and why, and that generation has started.\n5. **Run the script**: Use `exec` tool with sufficient timeout.\n6. **Deliver the result**: Send image URL(s) to the user.\n\n---\n\n## Calling the Generation Script\n\n```bash\nnode {baseDir}\u002Fgenerate.js \\\n  --model \u003Cmodel_id> \\\n  --prompt \"\u003Cenhanced prompt>\" \\\n  [--aspect-ratio \u003Cratio>] \\\n  [--num-images \u003C1-4>] \\\n  [--negative-prompt \"\u003Cnegative prompt>\"] \\\n  [--reference-images \"\u003Curl1,url2,...>\"]\n```\n\n**Parameters:**\n- `--model`: One of `midjourney`, `flux-pro`, `flux-dev`, `flux-schnell`, `sdxl`, `nano-banana`, `ideogram`, `recraft`\n- `--prompt`: The image generation prompt (required)\n- `--aspect-ratio`: e.g. `16:9`, `1:1`, `9:16`, `4:3`, `3:4` (default: `1:1`)\n- `--num-images`: 1-4 (default: `1`; Midjourney always returns 4 regardless)\n- `--negative-prompt`: Things to avoid (not supported by Midjourney)\n- `--reference-images`: Comma-separated image URLs for context\u002Fcharacter consistency (**Nano Banana only**)\n- `--mode`: Midjourney speed: `turbo` (default, ~20-40s), `fast` (~30-60s), `relax` (free but slow)\n\n**exec timeout**: Set at least **120 seconds** for Midjourney and Nano Banana; 30 seconds is sufficient for Flux Schnell.\n\n---\n\n## ⚡ Midjourney Workflow (Sync Mode — No --async)\n\nAlways use sync mode (no `--async`). The script waits internally until complete.\n\n```bash\nnode {baseDir}\u002Fgenerate.js \\\n  --model midjourney \\\n  --prompt \"\u003Cenhanced prompt>\" \\\n  --aspect-ratio 16:9\n```\n\n### Understanding Midjourney Output\n\n```json\n{\n  \"success\": true,\n  \"model\": \"midjourney\",\n  \"jobId\": \"xxxxxxxx-...\",\n  \"imageUrl\": \"https:\u002F\u002Fcdn.legnext.ai\u002Ftemp\u002F....png\",\n  \"imageUrls\": [\n    \"https:\u002F\u002Fcdn.legnext.ai\u002Fmj\u002Fxxxx_0.png\",\n    \"https:\u002F\u002Fcdn.legnext.ai\u002Fmj\u002Fxxxx_1.png\",\n    \"https:\u002F\u002Fcdn.legnext.ai\u002Fmj\u002Fxxxx_2.png\",\n    \"https:\u002F\u002Fcdn.legnext.ai\u002Fmj\u002Fxxxx_3.png\"\n  ]\n}\n```\n\n**CRITICAL — image field meanings:**\n\n| Field | What it is | When to use |\n|---|---|---|\n| `imageUrl` | A **2×2 grid composite** of all 4 images | Send as **preview** so user can see all options |\n| `imageUrls[0]` | Image 1 (top-left) | Send when user wants image 1 |\n| `imageUrls[1]` | Image 2 (top-right) | Send when user wants image 2 |\n| `imageUrls[2]` | Image 3 (bottom-left) | Send when user wants image 3 |\n| `imageUrls[3]` | Image 4 (bottom-right) | Send when user wants image 4 |\n\n**\"放大第N张\" \u002F \"要第N张\" \u002F \"give me image N\" = send `imageUrls[N-1]` directly. Do NOT call generate.js again.**\n\n### Midjourney Interaction Flow\n\n**After generation:**\n> 🎨 生成完成！这是 4 张图的预览：\n> [预览图](imageUrl)\n> 你喜欢哪一张？回复 1、2、3 或 4，我直接发给你高清单图。\n\n**When user picks image N:**\n> 这是第 N 张的单独高清图：\n> [图片 N](imageUrls[N-1])\n\n---\n\n## 🤖 Nano Banana (Gemini) Workflow\n\nUse for storyboards, character series, and any context-dependent multi-image generation.\n\n### Single image (no reference)\n```bash\nnode {baseDir}\u002Fgenerate.js \\\n  --model nano-banana \\\n  --prompt \"\u003Cdetailed scene description>\" \\\n  --aspect-ratio 16:9\n```\n\n### With reference images (character\u002Fscene consistency)\n```bash\nnode {baseDir}\u002Fgenerate.js \\\n  --model nano-banana \\\n  --prompt \"\u003Cscene description, referencing the character\u002Fstyle from the reference images>\" \\\n  --aspect-ratio 16:9 \\\n  --reference-images \"https:\u002F\u002Furl-of-previous-image-1.png,https:\u002F\u002Furl-of-previous-image-2.png\"\n```\n\n**How to build a storyboard series:**\n\n1. Generate the **first frame** without reference images (establishes the character\u002Fscene)\n2. Use the first frame's URL as `--reference-images` for the **second frame**\n3. For subsequent frames, use the most recent 1-3 images as references to maintain consistency\n4. Keep the character description consistent across all prompts\n\n**Example storyboard workflow:**\n```\nFrame 1: node generate.js --model nano-banana --prompt \"A young girl with red hair, wearing a blue dress, sitting under a magical treehouse in an enchanted forest, warm golden light, storybook illustration style\" --aspect-ratio 16:9\n\nFrame 2: node generate.js --model nano-banana --prompt \"The same red-haired girl in blue dress climbing the rope ladder up to the treehouse, excited expression, enchanted forest background, same storybook illustration style\" --aspect-ratio 16:9 --reference-images \"\u003Cframe1_url>\"\n\nFrame 3: node generate.js --model nano-banana --prompt \"Inside the magical treehouse, the red-haired girl discovers a glowing book on a wooden shelf, wonder on her face, warm candlelight, same storybook illustration style\" --aspect-ratio 16:9 --reference-images \"\u003Cframe1_url>,\u003Cframe2_url>\"\n```\n\n### Nano Banana Output\n```json\n{\n  \"success\": true,\n  \"model\": \"nano-banana\",\n  \"images\": [\"https:\u002F\u002Fv3b.fal.media\u002Ffiles\u002F...png\"],\n  \"imageUrl\": \"https:\u002F\u002Fv3b.fal.media\u002Ffiles\u002F...png\"\n}\n```\nSend `imageUrl` directly to the user (no grid, single image).\n\n---\n\n## Other Models\n\n### Flux Pro \u002F Dev \u002F Schnell\nBest for photorealistic standalone images. Output format same as Nano Banana (single `imageUrl`).\n\n```bash\nnode {baseDir}\u002Fgenerate.js --model flux-pro --prompt \"\u003Cprompt>\" --aspect-ratio 16:9\n```\n\n### Ideogram v3\nBest for images containing text (logos, posters, signs).\n\n```bash\nnode {baseDir}\u002Fgenerate.js --model ideogram --prompt \"A motivational poster with text 'DREAM BIG' in bold typography, sunset gradient background\" --aspect-ratio 3:4\n```\n\n### Recraft v3\nBest for vector-style, icons, flat design.\n\n```bash\nnode {baseDir}\u002Fgenerate.js --model recraft --prompt \"A minimal flat design app icon, blue gradient, abstract geometric shape\" --aspect-ratio 1:1\n```\n\n---\n\n## Prompt Enhancement Tips\n\n**For Midjourney**: Add `cinematic lighting`, `ultra detailed`, `--v 7`, `--style raw`. Legnext supports all MJ parameters.\n\n**For Nano Banana**: Use natural language descriptions. Describe the character consistently across frames (hair color, clothing, expression). Mention \"same style as reference\" or \"consistent with previous frame\".\n\n**For Flux**: Add `masterpiece`, `highly detailed`, `sharp focus`, `professional photography`, `8k`.\n\n**For Ideogram**: Be explicit about text content, font style, layout, and color scheme.\n\n**For Recraft**: Specify `vector illustration`, `flat design`, `icon style`, `minimal`.\n\n---\n\n## Example Conversations\n\n**User**: \"帮我画一只赛博朋克猫\"\n→ Single artistic image → **Midjourney**\n→ Tell user \"🎨 正在用 Midjourney 生成，约 30 秒...\"\n→ Send grid preview, ask which one they want\n\n**User**: \"帮我生成一套分镜图，讲述一个女孩在魔法森林的冒险\"\n→ Multiple frames with story continuity → **Nano Banana**\n→ Tell user \"🎨 这类有上下文关联的分镜图用 Gemini 生成，能保持角色一致性...\"\n→ Generate frame by frame, using previous frames as reference images\n\n**User**: \"要第2张\" \u002F \"放大第2张\" (after Midjourney generation)\n→ Send `imageUrls[1]` directly. No need to call generate.js again.\n\n**User**: \"做一个 App 图标，蓝色系扁平风格\"\n→ Vector\u002Ficon → **Recraft**\n\n**User**: \"生成一张带有'欢迎光临'文字的门牌图\"\n→ Text in image → **Ideogram**\n\n**User**: \"快速生成个草稿看看效果\"\n→ Speed priority → **Flux Schnell** (\u003C2s)\n\n**User**: \"生成一张产品海报，白色背景，一瓶香水\"\n→ Photorealistic product → **Flux Pro**\n\n---\n\n## Environment Variables\n\n| Variable | Description |\n|---|---|\n| `FAL_KEY` | fal.ai API key (for Flux, Nano Banana, Ideogram, Recraft) |\n| `LEGNEXT_KEY` | Legnext.ai API key (for Midjourney) |\n","# Image Generation Skill\n\nThis skill generates images using the best AI model for each use case. **Model selection is the most important decision** — read the dispatch logic carefully before generating.\n\n---\n\n## 🧠 Intelligent Dispatch Logic\n\n**Always select the model based on the user's actual need, not just the request surface.**\n\n### Decision Tree\n\n```\nDoes the request involve MULTIPLE images that share characters, scenes, or story continuity?\n  ├─ YES → Use NANO BANANA (Gemini)\n  │         Reason: Gemini understands context holistically; supports reference_images\n  │         for character\u002Fscene consistency across a series (storyboard, comic, sequence)\n  │\n  └─ NO → Is it a SINGLE standalone image?\n            ├─ Artistic \u002F cinematic \u002F painterly \u002F highly detailed?\n            │   → Use MIDJOURNEY\n            │\n            ├─ Photorealistic \u002F portrait \u002F product photo?\n            │   → Use FLUX PRO\n            │\n            ├─ Contains TEXT (logo, poster, sign, infographic)?\n            │   → Use IDEOGRAM\n            │\n            ├─ Vector \u002F icon \u002F flat design \u002F brand asset?\n            │   → Use RECRAFT\n            │\n            ├─ Quick draft \u002F fast iteration (speed priority)?\n            │   → Use FLUX SCHNELL (\u003C2s)\n            │\n            └─ General purpose \u002F balanced?\n                → Use FLUX DEV\n```\n\n### Model Capability Matrix\n\n| Model | ID | Artistic | Photorealism | Text | Context Continuity | Speed | Cost |\n|---|---|---|---|---|---|---|---|\n| **Midjourney** | `midjourney` | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐ | ❌ (no context) | ~30s | ~$0.05 |\n| **Nano Banana Pro** | `nano-banana` | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ~20s | $0.15 |\n| **Flux Pro** | `flux-pro` | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ | ❌ | ~5s | ~$0.05 |\n| **Flux Dev** | `flux-dev` | ⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐ | ❌ | ~8s | ~$0.03 |\n| **Flux Schnell** | `flux-schnell` | ⭐⭐ | ⭐⭐⭐ | ⭐⭐ | ❌ | \u003C2s | ~$0.003 |\n| **Ideogram v3** | `ideogram` | ⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ❌ | ~10s | ~$0.08 |\n| **Recraft v3** | `recraft` | ⭐⭐⭐⭐ | ⭐⭐ | ⭐⭐⭐⭐ | ❌ | ~8s | ~$0.04 |\n| **SDXL Lightning** | `sdxl` | ⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ | ❌ | ~3s | ~$0.01 |\n\n### When to Use Nano Banana (Critical)\n\nUse **Nano Banana** whenever the user's request involves:\n- **Storyboard \u002F 分镜图**: Multiple frames that tell a story with the same characters\n- **Comic strip \u002F 漫画**: Sequential panels with consistent characters\n- **Character series**: Multiple images of the same person\u002Fcharacter in different poses or scenes\n- **Scene continuation**: \"Now show the same girl in the forest\" (referencing a previous image)\n- **Style consistency**: A set of images that must share the same visual style\u002Fworld\n\nNano Banana uses Google's Gemini 3 Pro multimodal architecture, which understands context holistically rather than keyword-matching. It supports up to 14 reference images for maintaining character and scene consistency.\n\n---\n\n## How to Use This Skill\n\n1. **Analyze the request**: Is it a single image or a series? Does it need context continuity?\n2. **Select model**: Use the decision tree above.\n3. **Enhance the prompt**: Add style, lighting, and quality descriptors appropriate for the model.\n4. **Inform the user**: Tell them which model you're using and why, and that generation has started.\n5. **Run the script**: Use `exec` tool with sufficient timeout.\n6. **Deliver the result**: Send image URL(s) to the user.\n\n---\n\n## Calling the Generation Script\n\n```bash\nnode {baseDir}\u002Fgenerate.js \\\n  --model \u003Cmodel_id> \\\n  --prompt \"\u003Cenhanced prompt>\" \\\n  [--aspect-ratio \u003Cratio>] \\\n  [--num-images \u003C1-4>] \\\n  [--negative-prompt \"\u003Cnegative prompt>\"] \\\n  [--reference-images \"\u003Curl1,url2,...>\"]\n```\n\n**Parameters:**\n- `--model`: One of `midjourney`, `flux-pro`, `flux-dev`, `flux-schnell`, `sdxl`, `nano-banana`, `ideogram`, `recraft`\n- `--prompt`: The image generation prompt (required)\n- `--aspect-ratio`: e.g. `16:9`, `1:1`, `9:16`, `4:3`, `3:4` (default: `1:1`)\n- `--num-images`: 1-4 (default: `1`; Midjourney always returns 4 regardless)\n- `--negative-prompt`: Things to avoid (not supported by Midjourney)\n- `--reference-images`: Comma-separated image URLs for context\u002Fcharacter consistency (**Nano Banana only**)\n- `--mode`: Midjourney speed: `turbo` (default, ~20-40s), `fast` (~30-60s), `relax` (free but slow)\n\n**exec timeout**: Set at least **120 seconds** for Midjourney and Nano Banana; 30 seconds is sufficient for Flux Schnell.\n\n---\n\n## ⚡ Midjourney Workflow (Sync Mode — No --async)\n\nAlways use sync mode (no `--async`). The script waits internally until complete.\n\n```bash\nnode {baseDir}\u002Fgenerate.js \\\n  --model midjourney \\\n  --prompt \"\u003Cenhanced prompt>\" \\\n  --aspect-ratio 16:9\n```\n\n### Understanding Midjourney Output\n\n```json\n{\n  \"success\": true,\n  \"model\": \"midjourney\",\n  \"jobId\": \"xxxxxxxx-...\",\n  \"imageUrl\": \"https:\u002F\u002Fcdn.legnext.ai\u002Ftemp\u002F....png\",\n  \"imageUrls\": [\n    \"https:\u002F\u002Fcdn.legnext.ai\u002Fmj\u002Fxxxx_0.png\",\n    \"https:\u002F\u002Fcdn.legnext.ai\u002Fmj\u002Fxxxx_1.png\",\n    \"https:\u002F\u002Fcdn.legnext.ai\u002Fmj\u002Fxxxx_2.png\",\n    \"https:\u002F\u002Fcdn.legnext.ai\u002Fmj\u002Fxxxx_3.png\"\n  ]\n}\n```\n\n**CRITICAL — image field meanings:**\n\n| Field | What it is | When to use |\n|---|---|---|\n| `imageUrl` | A **2×2 grid composite** of all 4 images | Send as **preview** so user can see all options |\n| `imageUrls[0]` | Image 1 (top-left) | Send when user wants image 1 |\n| `imageUrls[1]` | Image 2 (top-right) | Send when user wants image 2 |\n| `imageUrls[2]` | Image 3 (bottom-left) | Send when user wants image 3 |\n| `imageUrls[3]` | Image 4 (bottom-right) | Send when user wants image 4 |\n\n**\"放大第N张\" \u002F \"要第N张\" \u002F \"give me image N\" = send `imageUrls[N-1]` directly. Do NOT call generate.js again.**\n\n### Midjourney Interaction Flow\n\n**After generation:**\n> 🎨 生成完成！这是 4 张图的预览：\n> [预览图](imageUrl)\n> 你喜欢哪一张？回复 1、2、3 或 4，我直接发给你高清单图。\n\n**When user picks image N:**\n> 这是第 N 张的单独高清图：\n> [图片 N](imageUrls[N-1])\n\n---\n\n## 🤖 Nano Banana (Gemini) Workflow\n\nUse for storyboards, character series, and any context-dependent multi-image generation.\n\n### Single image (no reference)\n```bash\nnode {baseDir}\u002Fgenerate.js \\\n  --model nano-banana \\\n  --prompt \"\u003Cdetailed scene description>\" \\\n  --aspect-ratio 16:9\n```\n\n### With reference images (character\u002Fscene consistency)\n```bash\nnode {baseDir}\u002Fgenerate.js \\\n  --model nano-banana \\\n  --prompt \"\u003Cscene description, referencing the character\u002Fstyle from the reference images>\" \\\n  --aspect-ratio 16:9 \\\n  --reference-images \"https:\u002F\u002Furl-of-previous-image-1.png,https:\u002F\u002Furl-of-previous-image-2.png\"\n```\n\n**How to build a storyboard series:**\n\n1. Generate the **first frame** without reference images (establishes the character\u002Fscene)\n2. Use the first frame's URL as `--reference-images` for the **second frame**\n3. For subsequent frames, use the most recent 1-3 images as references to maintain consistency\n4. Keep the character description consistent across all prompts\n\n**Example storyboard workflow:**\n```\nFrame 1: node generate.js --model nano-banana --prompt \"A young girl with red hair, wearing a blue dress, sitting under a magical treehouse in an enchanted forest, warm golden light, storybook illustration style\" --aspect-ratio 16:9\n\nFrame 2: node generate.js --model nano-banana --prompt \"The same red-haired girl in blue dress climbing the rope ladder up to the treehouse, excited expression, enchanted forest background, same storybook illustration style\" --aspect-ratio 16:9 --reference-images \"\u003Cframe1_url>\"\n\nFrame 3: node generate.js --model nano-banana --prompt \"Inside the magical treehouse, the red-haired girl discovers a glowing book on a wooden shelf, wonder on her face, warm candlelight, same storybook illustration style\" --aspect-ratio 16:9 --reference-images \"\u003Cframe1_url>,\u003Cframe2_url>\"\n```\n\n### Nano Banana Output\n```json\n{\n  \"success\": true,\n  \"model\": \"nano-banana\",\n  \"images\": [\"https:\u002F\u002Fv3b.fal.media\u002Ffiles\u002F...png\"],\n  \"imageUrl\": \"https:\u002F\u002Fv3b.fal.media\u002Ffiles\u002F...png\"\n}\n```\nSend `imageUrl` directly to the user (no grid, single image).\n\n---\n\n## Other Models\n\n### Flux Pro \u002F Dev \u002F Schnell\nBest for photorealistic standalone images. Output format same as Nano Banana (single `imageUrl`).\n\n```bash\nnode {baseDir}\u002Fgenerate.js --model flux-pro --prompt \"\u003Cprompt>\" --aspect-ratio 16:9\n```\n\n### Ideogram v3\nBest for images containing text (logos, posters, signs).\n\n```bash\nnode {baseDir}\u002Fgenerate.js --model ideogram --prompt \"A motivational poster with text 'DREAM BIG' in bold typography, sunset gradient background\" --aspect-ratio 3:4\n```\n\n### Recraft v3\nBest for vector-style, icons, flat design.\n\n```bash\nnode {baseDir}\u002Fgenerate.js --model recraft --prompt \"A minimal flat design app icon, blue gradient, abstract geometric shape\" --aspect-ratio 1:1\n```\n\n---\n\n## Prompt Enhancement Tips\n\n**For Midjourney**: Add `cinematic lighting`, `ultra detailed`, `--v 7`, `--style raw`. Legnext supports all MJ parameters.\n\n**For Nano Banana**: Use natural language descriptions. Describe the character consistently across frames (hair color, clothing, expression). Mention \"same style as reference\" or \"consistent with previous frame\".\n\n**For Flux**: Add `masterpiece`, `highly detailed`, `sharp focus`, `professional photography`, `8k`.\n\n**For Ideogram**: Be explicit about text content, font style, layout, and color scheme.\n\n**For Recraft**: Specify `vector illustration`, `flat design`, `icon style`, `minimal`.\n\n---\n\n## Example Conversations\n\n**User**: \"帮我画一只赛博朋克猫\"\n→ Single artistic image → **Midjourney**\n→ Tell user \"🎨 正在用 Midjourney 生成，约 30 秒...\"\n→ Send grid preview, ask which one they want\n\n**User**: \"帮我生成一套分镜图，讲述一个女孩在魔法森林的冒险\"\n→ Multiple frames with story continuity → **Nano Banana**\n→ Tell user \"🎨 这类有上下文关联的分镜图用 Gemini 生成，能保持角色一致性...\"\n→ Generate frame by frame, using previous frames as reference images\n\n**User**: \"要第2张\" \u002F \"放大第2张\" (after Midjourney generation)\n→ Send `imageUrls[1]` directly. No need to call generate.js again.\n\n**User**: \"做一个 App 图标，蓝色系扁平风格\"\n→ Vector\u002Ficon → **Recraft**\n\n**User**: \"生成一张带有'欢迎光临'文字的门牌图\"\n→ Text in image → **Ideogram**\n\n**User**: \"快速生成个草稿看看效果\"\n→ Speed priority → **Flux Schnell** (\u003C2s)\n\n**User**: \"生成一张产品海报，白色背景，一瓶香水\"\n→ Photorealistic product → **Flux Pro**\n\n---\n\n## Environment Variables\n\n| Variable | Description |\n|---|---|\n| `FAL_KEY` | fal.ai API key (for Flux, Nano Banana, Ideogram, Recraft) |\n| `LEGNEXT_KEY` | Legnext.ai API key (for Midjourney) |\n",{"name":5,"homepage":24,"metadata":25,"description":7},"https:\u002F\u002Flegnext.ai",{"openclaw":26},{"emoji":27,"install":28,"requires":33,"primaryEnv":35},"🎨",[29],{"id":30,"kind":30,"label":31,"package":32},"node","Install fal.ai client (npm)","@fal-ai\u002Fclient",{"env":34},[35,36],"FAL_KEY","LEGNEXT_KEY","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fwells1137\u002Fimage-gen",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill image-gen",{"tool":52,"command":53},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill image-gen",{"tool":55,"command":56},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill image-gen","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwells1137\u002Fimage-gen\u002FSKILL.md",true,[],[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]