[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78DJTEXTFB5KJTDVEBZX0A1":3,"skill-same:01M78DJTEXTFB5KJTDVEBZX0A1":80},{"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":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M78DJTEXTFB5KJTDVEBZX0A1","openrouter-images",null,"Generate images from text prompts and edit existing images using OpenRouter's image generation models. Use when the user asks to create, generate, or make an image, picture, or illustration from a description, or wants to edit, modify, transform, or alter an existing image with a text prompt.","Solizardking\u002Fskillhub-main","Solizardking","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108096810?v=4","01M786KDB10AYV042N0F9BD5B5","Clawd","01M786NYYXSZK1D05WM8JQPC48",0,"MIT","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter-images\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: openrouter-images\ndescription: Generate images from text prompts and edit existing images using OpenRouter's image generation models. Use when the user asks to create, generate, or make an image, picture, or illustration from a description, or wants to edit, modify, transform, or alter an existing image with a text prompt.\nmetadata:\n  solanaos:\n    emoji: \"🎨\"\n    registryKey: \"openrouter.image\"\n    kind: \"image\"\n    requires:\n      bins: [\"node\"]\n      env: [\"OPENROUTER_API_KEY\"]\n    injectAt: \"agent-birth\"\n---\n\n# OpenRouter Images\n\nGenerate images from text prompts and edit existing images via OpenRouter's chat completions API with image modalities.\n\n## Prerequisites\n\nThe `OPENROUTER_API_KEY` environment variable must be set. Get a key at https:\u002F\u002Fopenrouter.ai\u002Fkeys\n\n## First-Time Setup\n\n```bash\ncd \u003Cskill-path>\u002Fscripts && npm install\n```\n\n## Decision Tree\n\nPick the right script based on what the user is asking:\n\n| User wants to... | Script | Example |\n|---|---|---|\n| Generate an image from a text description | `generate.ts \"prompt\"` | \"Create an image of a sunset over mountains\" |\n| Generate with specific aspect ratio | `generate.ts \"prompt\" --aspect-ratio 16:9` | \"Make a wide landscape image of a forest\" |\n| Generate with a different model | `generate.ts \"prompt\" --model \u003Cid>` | \"Generate using gemini-2.5-flash-image\" |\n| Edit or modify an existing image | `edit.ts path \"prompt\"` | \"Make the sky purple in photo.png\" |\n| Transform an image with instructions | `edit.ts path \"prompt\"` | \"Add a party hat to the animal in this image\" |\n\n## Generate Image\n\nCreate a new image from a text prompt:\n\n```bash\ncd \u003Cskill-path>\u002Fscripts && npx tsx generate.ts \"a red panda wearing sunglasses\"\ncd \u003Cskill-path>\u002Fscripts && npx tsx generate.ts \"a futuristic cityscape at night\" --aspect-ratio 16:9\ncd \u003Cskill-path>\u002Fscripts && npx tsx generate.ts \"pixel art of a dragon\" --output dragon.png\ncd \u003Cskill-path>\u002Fscripts && npx tsx generate.ts \"a watercolor painting\" --model google\u002Fgemini-2.5-flash-image\n```\n\n### Options\n\n| Flag | Description | Default |\n|---|---|---|\n| `--model \u003Cid>` | OpenRouter model ID | `google\u002Fgemini-3.1-flash-image-preview` |\n| `--output \u003Cpath>` | Output file path | `image-YYYYMMDD-HHmmss.png` |\n| `--aspect-ratio \u003Cr>` | Aspect ratio (e.g. `16:9`, `1:1`, `4:3`) | Model default |\n| `--image-size \u003Cs>` | Image size (e.g. `1K`, `2K`) | Model default |\n\n## Edit Image\n\nModify an existing image with a text prompt:\n\n```bash\ncd \u003Cskill-path>\u002Fscripts && npx tsx edit.ts photo.png \"make the sky purple\"\ncd \u003Cskill-path>\u002Fscripts && npx tsx edit.ts avatar.jpg \"add a party hat\" --output avatar-hat.png\ncd \u003Cskill-path>\u002Fscripts && npx tsx edit.ts scene.png \"convert to watercolor style\" --model google\u002Fgemini-2.5-flash-image\n```\n\n### Options\n\n| Flag | Description | Default |\n|---|---|---|\n| `--model \u003Cid>` | OpenRouter model ID | `google\u002Fgemini-3.1-flash-image-preview` |\n| `--output \u003Cpath>` | Output file path | `image-YYYYMMDD-HHmmss.png` |\n| `--aspect-ratio \u003Cr>` | Aspect ratio (e.g. `16:9`, `1:1`, `4:3`) | Model default |\n| `--image-size \u003Cs>` | Image size (e.g. `1K`, `2K`) | Model default |\n\nSupported input formats: `.png`, `.jpg`, `.jpeg`, `.webp`, `.gif`\n\n## Output Format\n\n### generate.ts\n\n```json\n{\n  \"model\": \"google\u002Fgemini-3.1-flash-image-preview\",\n  \"prompt\": \"a red panda wearing sunglasses\",\n  \"images_saved\": [\"\u002Fabsolute\u002Fpath\u002Fto\u002Fimage-20260305-143022.png\"],\n  \"count\": 1\n}\n```\n\n### edit.ts\n\n```json\n{\n  \"model\": \"google\u002Fgemini-3.1-flash-image-preview\",\n  \"source_image\": \"photo.png\",\n  \"prompt\": \"make the sky purple\",\n  \"images_saved\": [\"\u002Fabsolute\u002Fpath\u002Fto\u002Fimage-20260305-143055.png\"],\n  \"count\": 1\n}\n```\n\n## API Response Shapes\n\nImage generation uses `POST \u002Fapi\u002Fv1\u002Fresponses` with `modalities: [\"image\", \"text\"]`. See the [Responses API reference](https:\u002F\u002Fopenrouter.ai\u002Fdocs\u002Fapi\u002Freference\u002Fresponses\u002Foverview) and [image generation guide](https:\u002F\u002Fopenrouter.ai\u002Fdocs\u002Fguides\u002Foverview\u002Fmultimodal\u002Fimage-generation) for full request details.\n\nThe image-specific output item type is `image_generation_call` — this is not obvious from the general Responses API docs:\n\n```json\n{\n  \"type\": \"image_generation_call\",\n  \"id\": \"imagegen-abc123\",\n  \"status\": \"completed\",\n  \"result\": \"\u003Cbase64-encoded image data>\"\n}\n```\n\nThis appears alongside standard `message` output items in the `output` array. Text and image outputs may each be absent depending on the model and prompt.\n\n## Using a Different Model\n\nThe default model is `google\u002Fgemini-3.1-flash-image-preview` (Nano Banana 2). To use a different model, pass `--model \u003Cid>` with any OpenRouter model ID that supports image output modalities.\n\nUse the `openrouter-models` skill to discover image-capable models:\n\n```bash\ncd \u003Copenrouter-models-skill-path>\u002Fscripts && npx tsx search-models.ts --modality image\n```\n\n## Presenting Results\n\n- After generating or editing, display the saved image to the user\n- Include the model used and any text response the model provided (printed to stderr)\n- If multiple images are returned, show all of them\n- When the user doesn't specify an output path, tell them where the file was saved\n- For edit operations, mention the source image that was modified\n","# OpenRouter Images\n\nGenerate images from text prompts and edit existing images via OpenRouter's chat completions API with image modalities.\n\n## Prerequisites\n\nThe `OPENROUTER_API_KEY` environment variable must be set. Get a key at https:\u002F\u002Fopenrouter.ai\u002Fkeys\n\n## First-Time Setup\n\n```bash\ncd \u003Cskill-path>\u002Fscripts && npm install\n```\n\n## Decision Tree\n\nPick the right script based on what the user is asking:\n\n| User wants to... | Script | Example |\n|---|---|---|\n| Generate an image from a text description | `generate.ts \"prompt\"` | \"Create an image of a sunset over mountains\" |\n| Generate with specific aspect ratio | `generate.ts \"prompt\" --aspect-ratio 16:9` | \"Make a wide landscape image of a forest\" |\n| Generate with a different model | `generate.ts \"prompt\" --model \u003Cid>` | \"Generate using gemini-2.5-flash-image\" |\n| Edit or modify an existing image | `edit.ts path \"prompt\"` | \"Make the sky purple in photo.png\" |\n| Transform an image with instructions | `edit.ts path \"prompt\"` | \"Add a party hat to the animal in this image\" |\n\n## Generate Image\n\nCreate a new image from a text prompt:\n\n```bash\ncd \u003Cskill-path>\u002Fscripts && npx tsx generate.ts \"a red panda wearing sunglasses\"\ncd \u003Cskill-path>\u002Fscripts && npx tsx generate.ts \"a futuristic cityscape at night\" --aspect-ratio 16:9\ncd \u003Cskill-path>\u002Fscripts && npx tsx generate.ts \"pixel art of a dragon\" --output dragon.png\ncd \u003Cskill-path>\u002Fscripts && npx tsx generate.ts \"a watercolor painting\" --model google\u002Fgemini-2.5-flash-image\n```\n\n### Options\n\n| Flag | Description | Default |\n|---|---|---|\n| `--model \u003Cid>` | OpenRouter model ID | `google\u002Fgemini-3.1-flash-image-preview` |\n| `--output \u003Cpath>` | Output file path | `image-YYYYMMDD-HHmmss.png` |\n| `--aspect-ratio \u003Cr>` | Aspect ratio (e.g. `16:9`, `1:1`, `4:3`) | Model default |\n| `--image-size \u003Cs>` | Image size (e.g. `1K`, `2K`) | Model default |\n\n## Edit Image\n\nModify an existing image with a text prompt:\n\n```bash\ncd \u003Cskill-path>\u002Fscripts && npx tsx edit.ts photo.png \"make the sky purple\"\ncd \u003Cskill-path>\u002Fscripts && npx tsx edit.ts avatar.jpg \"add a party hat\" --output avatar-hat.png\ncd \u003Cskill-path>\u002Fscripts && npx tsx edit.ts scene.png \"convert to watercolor style\" --model google\u002Fgemini-2.5-flash-image\n```\n\n### Options\n\n| Flag | Description | Default |\n|---|---|---|\n| `--model \u003Cid>` | OpenRouter model ID | `google\u002Fgemini-3.1-flash-image-preview` |\n| `--output \u003Cpath>` | Output file path | `image-YYYYMMDD-HHmmss.png` |\n| `--aspect-ratio \u003Cr>` | Aspect ratio (e.g. `16:9`, `1:1`, `4:3`) | Model default |\n| `--image-size \u003Cs>` | Image size (e.g. `1K`, `2K`) | Model default |\n\nSupported input formats: `.png`, `.jpg`, `.jpeg`, `.webp`, `.gif`\n\n## Output Format\n\n### generate.ts\n\n```json\n{\n  \"model\": \"google\u002Fgemini-3.1-flash-image-preview\",\n  \"prompt\": \"a red panda wearing sunglasses\",\n  \"images_saved\": [\"\u002Fabsolute\u002Fpath\u002Fto\u002Fimage-20260305-143022.png\"],\n  \"count\": 1\n}\n```\n\n### edit.ts\n\n```json\n{\n  \"model\": \"google\u002Fgemini-3.1-flash-image-preview\",\n  \"source_image\": \"photo.png\",\n  \"prompt\": \"make the sky purple\",\n  \"images_saved\": [\"\u002Fabsolute\u002Fpath\u002Fto\u002Fimage-20260305-143055.png\"],\n  \"count\": 1\n}\n```\n\n## API Response Shapes\n\nImage generation uses `POST \u002Fapi\u002Fv1\u002Fresponses` with `modalities: [\"image\", \"text\"]`. See the [Responses API reference](https:\u002F\u002Fopenrouter.ai\u002Fdocs\u002Fapi\u002Freference\u002Fresponses\u002Foverview) and [image generation guide](https:\u002F\u002Fopenrouter.ai\u002Fdocs\u002Fguides\u002Foverview\u002Fmultimodal\u002Fimage-generation) for full request details.\n\nThe image-specific output item type is `image_generation_call` — this is not obvious from the general Responses API docs:\n\n```json\n{\n  \"type\": \"image_generation_call\",\n  \"id\": \"imagegen-abc123\",\n  \"status\": \"completed\",\n  \"result\": \"\u003Cbase64-encoded image data>\"\n}\n```\n\nThis appears alongside standard `message` output items in the `output` array. Text and image outputs may each be absent depending on the model and prompt.\n\n## Using a Different Model\n\nThe default model is `google\u002Fgemini-3.1-flash-image-preview` (Nano Banana 2). To use a different model, pass `--model \u003Cid>` with any OpenRouter model ID that supports image output modalities.\n\nUse the `openrouter-models` skill to discover image-capable models:\n\n```bash\ncd \u003Copenrouter-models-skill-path>\u002Fscripts && npx tsx search-models.ts --modality image\n```\n\n## Presenting Results\n\n- After generating or editing, display the saved image to the user\n- Include the model used and any text response the model provided (printed to stderr)\n- If multiple images are returned, show all of them\n- When the user doesn't specify an output path, tell them where the file was saved\n- For edit operations, mention the source image that was modified\n",{"name":5,"metadata":24,"description":7},{"solanaos":25},{"kind":26,"emoji":27,"injectAt":28,"requires":29,"registryKey":34},"image","🎨","agent-birth",{"env":30,"bins":32},[31],"OPENROUTER_API_KEY",[33],"node","openrouter.image","main","be3de0244dc1a57e323d8160787ebb40fb64930e","skills\u002Fopenrouter-images","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002FSolizardking","https:\u002F\u002Fmusebook.trade","Got a mile high and never came down","2026-10-08 23:20:13",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add Solizardking\u002Fskillhub-main --skill openrouter-images",{"tool":50,"command":51},"bunx","bunx skills add Solizardking\u002Fskillhub-main --skill openrouter-images",{"tool":53,"command":54},"pnpm","pnpm dlx skills add Solizardking\u002Fskillhub-main --skill openrouter-images","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter-images\u002FSKILL.md",true,[58,64,68,72,76],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Fedit.ts","SCRIPT","脚本",2443,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter-images\u002Fscripts\u002Fedit.ts",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fgenerate.ts",2117,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter-images\u002Fscripts\u002Fgenerate.ts",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Flib.ts",3154,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter-images\u002Fscripts\u002Flib.ts",{"path":73,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fpackage-lock.json",16400,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter-images\u002Fscripts\u002Fpackage-lock.json",{"path":77,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fpackage.json",129,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fopenrouter-images\u002Fscripts\u002Fpackage.json",[81,88,95,102,109,117],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M78E0TGCAMNPS207BA3G07S7","zkrouter","Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzkrouter\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M78E0R1Z8BDT6EDTHY17MTNB","zk","For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M78E0P3ZTZ1YWF8MD5MM23QE","zk-omni-messaging","Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk-omni-messaging\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M78E0JXZ2PNB1896VXAGDBWD","zerion-wallet-data","Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzerion-wallet-data\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M78E0G14FH9GRRTQYMKD5E59","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M78E0C2ZYA99CFFDNB7ZMK5S","yield-optimization","Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit\u002Fwithdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter\u002Fexit a position, or check portfolio balances.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyield-optimization\u002FSKILL.md",[],[]]