[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M735JCVDY0EJD88TN6PBHXDA":3,"skill-same:01M735JCVDY0EJD88TN6PBHXDA":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M735JCVDY0EJD88TN6PBHXDA","alterlab-generate-image",null,"Part of the AlterLab Academic Skills suite. Generate or edit images using AI models (FLUX, Nano Banana 2). Use for general-purpose image generation including photos, illustrations, artwork, visual assets, concept art, and any image that is not a technical diagram or schematic. For flowcharts, circuits, pathways, and technical diagrams, use the scientific-schematics skill instead.","roohe\u002Fagentic-super-skills","roohe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99054084?v=4","01M734WCDFP6RZVT5CNM00QR26","01M734WCE4BD0T4NZS5PCV9V5F",10,"MIT","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Falterlab-generate-image\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: alterlab-generate-image\ndescription: Part of the AlterLab Academic Skills suite. Generate or edit images using AI models (FLUX, Nano Banana 2). Use for general-purpose image generation including photos, illustrations, artwork, visual assets, concept art, and any image that is not a technical diagram or schematic. For flowcharts, circuits, pathways, and technical diagrams, use the scientific-schematics skill instead.\nlicense: MIT license\ncompatibility: Requires an OpenRouter API key\nmetadata:\n    skill-author: AlterLab\n    version: \"1.0.0\"\n---\n\n# Generate Image\n\nGenerate and edit high-quality images using OpenRouter's image generation models including FLUX.2 Pro and Gemini 3.1 Flash Image Preview.\n\n## When to Use This Skill\n\n**Use generate-image for:**\n- Photos and photorealistic images\n- Artistic illustrations and artwork\n- Concept art and visual concepts\n- Visual assets for presentations or documents\n- Image editing and modifications\n- Any general-purpose image generation needs\n\n**Use scientific-schematics instead for:**\n- Flowcharts and process diagrams\n- Circuit diagrams and electrical schematics\n- Biological pathways and signaling cascades\n- System architecture diagrams\n- CONSORT diagrams and methodology flowcharts\n- Any technical\u002Fschematic diagrams\n\n## Quick Start\n\nUse the `scripts\u002Fgenerate_image.py` script to generate or edit images:\n\n```bash\n# Generate a new image\npython scripts\u002Fgenerate_image.py \"A beautiful sunset over mountains\"\n\n# Edit an existing image\npython scripts\u002Fgenerate_image.py \"Make the sky purple\" --input photo.jpg\n```\n\nThis generates\u002Fedits an image and saves it as `generated_image.png` in the current directory.\n\n## API Key Setup\n\n**CRITICAL**: The script requires an OpenRouter API key. Before running, check if the user has configured their API key:\n\n1. Look for a `.env` file in the project directory or parent directories\n2. Check for `OPENROUTER_API_KEY=\u003Ckey>` in the `.env` file\n3. If not found, inform the user they need to:\n   - Create a `.env` file with `OPENROUTER_API_KEY=your-api-key-here`\n   - Or set the environment variable: `export OPENROUTER_API_KEY=your-api-key-here`\n   - Get an API key from: https:\u002F\u002Fopenrouter.ai\u002Fkeys\n\nThe script will automatically detect the `.env` file and provide clear error messages if the API key is missing.\n\n## Model Selection\n\n**Default model**: `google\u002Fgemini-3.1-flash-image-preview` (high quality, recommended)\n\n**Available models for generation and editing**:\n- `google\u002Fgemini-3.1-flash-image-preview` - High quality, supports generation + editing\n- `black-forest-labs\u002Fflux.2-pro` - Fast, high quality, supports generation + editing\n\n**Generation only**:\n- `black-forest-labs\u002Fflux.2-flex` - Fast and cheap, but not as high quality as pro\n\nSelect based on:\n- **Quality**: Use gemini-3.1-flash-image-preview or flux.2-pro\n- **Editing**: Use gemini-3.1-flash-image-preview or flux.2-pro (both support image editing)\n- **Cost**: Use flux.2-flex for generation only\n\n## Common Usage Patterns\n\n### Basic generation\n```bash\npython scripts\u002Fgenerate_image.py \"Your prompt here\"\n```\n\n### Specify model\n```bash\npython scripts\u002Fgenerate_image.py \"A cat in space\" --model \"black-forest-labs\u002Fflux.2-pro\"\n```\n\n### Custom output path\n```bash\npython scripts\u002Fgenerate_image.py \"Abstract art\" --output artwork.png\n```\n\n### Edit an existing image\n```bash\npython scripts\u002Fgenerate_image.py \"Make the background blue\" --input photo.jpg\n```\n\n### Edit with a specific model\n```bash\npython scripts\u002Fgenerate_image.py \"Add sunglasses to the person\" --input portrait.png --model \"black-forest-labs\u002Fflux.2-pro\"\n```\n\n### Edit with custom output\n```bash\npython scripts\u002Fgenerate_image.py \"Remove the text from the image\" --input screenshot.png --output cleaned.png\n```\n\n### Multiple images\nRun the script multiple times with different prompts or output paths:\n```bash\npython scripts\u002Fgenerate_image.py \"Image 1 description\" --output image1.png\npython scripts\u002Fgenerate_image.py \"Image 2 description\" --output image2.png\n```\n\n## Script Parameters\n\n- `prompt` (required): Text description of the image to generate, or editing instructions\n- `--input` or `-i`: Input image path for editing (enables edit mode)\n- `--model` or `-m`: OpenRouter model ID (default: google\u002Fgemini-3.1-flash-image-preview)\n- `--output` or `-o`: Output file path (default: generated_image.png)\n- `--api-key`: OpenRouter API key (overrides .env file)\n\n## Example Use Cases\n\n### For Scientific Documents\n```bash\n# Generate a conceptual illustration for a paper\npython scripts\u002Fgenerate_image.py \"Microscopic view of cancer cells being attacked by immunotherapy agents, scientific illustration style\" --output figures\u002Fimmunotherapy_concept.png\n\n# Create a visual for a presentation\npython scripts\u002Fgenerate_image.py \"DNA double helix structure with highlighted mutation site, modern scientific visualization\" --output slides\u002Fdna_mutation.png\n```\n\n### For Presentations and Posters\n```bash\n# Title slide background\npython scripts\u002Fgenerate_image.py \"Abstract blue and white background with subtle molecular patterns, professional presentation style\" --output slides\u002Fbackground.png\n\n# Poster hero image\npython scripts\u002Fgenerate_image.py \"Laboratory setting with modern equipment, photorealistic, well-lit\" --output poster\u002Fhero.png\n```\n\n### For General Visual Content\n```bash\n# Website or documentation images\npython scripts\u002Fgenerate_image.py \"Professional team collaboration around a digital whiteboard, modern office\" --output docs\u002Fteam_collaboration.png\n\n# Marketing materials\npython scripts\u002Fgenerate_image.py \"Futuristic AI brain concept with glowing neural networks\" --output marketing\u002Fai_concept.png\n```\n\n## Error Handling\n\nThe script provides clear error messages for:\n- Missing API key (with setup instructions)\n- API errors (with status codes)\n- Unexpected response formats\n- Missing dependencies (requests library)\n\nIf the script fails, read the error message and address the issue before retrying.\n\n## Notes\n\n- Images are returned as base64-encoded data URLs and automatically saved as PNG files\n- The script supports both `images` and `content` response formats from different OpenRouter models\n- Generation time varies by model (typically 5-30 seconds)\n- For image editing, the input image is encoded as base64 and sent to the model\n- Supported input image formats: PNG, JPEG, GIF, WebP\n- Check OpenRouter pricing for cost information: https:\u002F\u002Fopenrouter.ai\u002Fmodels\n\n## Image Editing Tips\n\n- Be specific about what changes you want (e.g., \"change the sky to sunset colors\" vs \"edit the sky\")\n- Reference specific elements in the image when possible\n- For best results, use clear and detailed editing instructions\n- Both Gemini 3.1 Flash Image Preview and FLUX.2 Pro support image editing through OpenRouter\n\n## Integration with Other Skills\n\n- **scientific-schematics**: Use for technical diagrams, flowcharts, circuits, pathways\n- **generate-image**: Use for photos, illustrations, artwork, visual concepts\n- **scientific-slides**: Combine with generate-image for visually rich presentations\n- **latex-posters**: Use generate-image for poster visuals and hero images\n\n","# Generate Image\n\nGenerate and edit high-quality images using OpenRouter's image generation models including FLUX.2 Pro and Gemini 3.1 Flash Image Preview.\n\n## When to Use This Skill\n\n**Use generate-image for:**\n- Photos and photorealistic images\n- Artistic illustrations and artwork\n- Concept art and visual concepts\n- Visual assets for presentations or documents\n- Image editing and modifications\n- Any general-purpose image generation needs\n\n**Use scientific-schematics instead for:**\n- Flowcharts and process diagrams\n- Circuit diagrams and electrical schematics\n- Biological pathways and signaling cascades\n- System architecture diagrams\n- CONSORT diagrams and methodology flowcharts\n- Any technical\u002Fschematic diagrams\n\n## Quick Start\n\nUse the `scripts\u002Fgenerate_image.py` script to generate or edit images:\n\n```bash\n# Generate a new image\npython scripts\u002Fgenerate_image.py \"A beautiful sunset over mountains\"\n\n# Edit an existing image\npython scripts\u002Fgenerate_image.py \"Make the sky purple\" --input photo.jpg\n```\n\nThis generates\u002Fedits an image and saves it as `generated_image.png` in the current directory.\n\n## API Key Setup\n\n**CRITICAL**: The script requires an OpenRouter API key. Before running, check if the user has configured their API key:\n\n1. Look for a `.env` file in the project directory or parent directories\n2. Check for `OPENROUTER_API_KEY=\u003Ckey>` in the `.env` file\n3. If not found, inform the user they need to:\n   - Create a `.env` file with `OPENROUTER_API_KEY=your-api-key-here`\n   - Or set the environment variable: `export OPENROUTER_API_KEY=your-api-key-here`\n   - Get an API key from: https:\u002F\u002Fopenrouter.ai\u002Fkeys\n\nThe script will automatically detect the `.env` file and provide clear error messages if the API key is missing.\n\n## Model Selection\n\n**Default model**: `google\u002Fgemini-3.1-flash-image-preview` (high quality, recommended)\n\n**Available models for generation and editing**:\n- `google\u002Fgemini-3.1-flash-image-preview` - High quality, supports generation + editing\n- `black-forest-labs\u002Fflux.2-pro` - Fast, high quality, supports generation + editing\n\n**Generation only**:\n- `black-forest-labs\u002Fflux.2-flex` - Fast and cheap, but not as high quality as pro\n\nSelect based on:\n- **Quality**: Use gemini-3.1-flash-image-preview or flux.2-pro\n- **Editing**: Use gemini-3.1-flash-image-preview or flux.2-pro (both support image editing)\n- **Cost**: Use flux.2-flex for generation only\n\n## Common Usage Patterns\n\n### Basic generation\n```bash\npython scripts\u002Fgenerate_image.py \"Your prompt here\"\n```\n\n### Specify model\n```bash\npython scripts\u002Fgenerate_image.py \"A cat in space\" --model \"black-forest-labs\u002Fflux.2-pro\"\n```\n\n### Custom output path\n```bash\npython scripts\u002Fgenerate_image.py \"Abstract art\" --output artwork.png\n```\n\n### Edit an existing image\n```bash\npython scripts\u002Fgenerate_image.py \"Make the background blue\" --input photo.jpg\n```\n\n### Edit with a specific model\n```bash\npython scripts\u002Fgenerate_image.py \"Add sunglasses to the person\" --input portrait.png --model \"black-forest-labs\u002Fflux.2-pro\"\n```\n\n### Edit with custom output\n```bash\npython scripts\u002Fgenerate_image.py \"Remove the text from the image\" --input screenshot.png --output cleaned.png\n```\n\n### Multiple images\nRun the script multiple times with different prompts or output paths:\n```bash\npython scripts\u002Fgenerate_image.py \"Image 1 description\" --output image1.png\npython scripts\u002Fgenerate_image.py \"Image 2 description\" --output image2.png\n```\n\n## Script Parameters\n\n- `prompt` (required): Text description of the image to generate, or editing instructions\n- `--input` or `-i`: Input image path for editing (enables edit mode)\n- `--model` or `-m`: OpenRouter model ID (default: google\u002Fgemini-3.1-flash-image-preview)\n- `--output` or `-o`: Output file path (default: generated_image.png)\n- `--api-key`: OpenRouter API key (overrides .env file)\n\n## Example Use Cases\n\n### For Scientific Documents\n```bash\n# Generate a conceptual illustration for a paper\npython scripts\u002Fgenerate_image.py \"Microscopic view of cancer cells being attacked by immunotherapy agents, scientific illustration style\" --output figures\u002Fimmunotherapy_concept.png\n\n# Create a visual for a presentation\npython scripts\u002Fgenerate_image.py \"DNA double helix structure with highlighted mutation site, modern scientific visualization\" --output slides\u002Fdna_mutation.png\n```\n\n### For Presentations and Posters\n```bash\n# Title slide background\npython scripts\u002Fgenerate_image.py \"Abstract blue and white background with subtle molecular patterns, professional presentation style\" --output slides\u002Fbackground.png\n\n# Poster hero image\npython scripts\u002Fgenerate_image.py \"Laboratory setting with modern equipment, photorealistic, well-lit\" --output poster\u002Fhero.png\n```\n\n### For General Visual Content\n```bash\n# Website or documentation images\npython scripts\u002Fgenerate_image.py \"Professional team collaboration around a digital whiteboard, modern office\" --output docs\u002Fteam_collaboration.png\n\n# Marketing materials\npython scripts\u002Fgenerate_image.py \"Futuristic AI brain concept with glowing neural networks\" --output marketing\u002Fai_concept.png\n```\n\n## Error Handling\n\nThe script provides clear error messages for:\n- Missing API key (with setup instructions)\n- API errors (with status codes)\n- Unexpected response formats\n- Missing dependencies (requests library)\n\nIf the script fails, read the error message and address the issue before retrying.\n\n## Notes\n\n- Images are returned as base64-encoded data URLs and automatically saved as PNG files\n- The script supports both `images` and `content` response formats from different OpenRouter models\n- Generation time varies by model (typically 5-30 seconds)\n- For image editing, the input image is encoded as base64 and sent to the model\n- Supported input image formats: PNG, JPEG, GIF, WebP\n- Check OpenRouter pricing for cost information: https:\u002F\u002Fopenrouter.ai\u002Fmodels\n\n## Image Editing Tips\n\n- Be specific about what changes you want (e.g., \"change the sky to sunset colors\" vs \"edit the sky\")\n- Reference specific elements in the image when possible\n- For best results, use clear and detailed editing instructions\n- Both Gemini 3.1 Flash Image Preview and FLUX.2 Pro support image editing through OpenRouter\n\n## Integration with Other Skills\n\n- **scientific-schematics**: Use for technical diagrams, flowcharts, circuits, pathways\n- **generate-image**: Use for photos, illustrations, artwork, visual concepts\n- **scientific-slides**: Combine with generate-image for visually rich presentations\n- **latex-posters**: Use generate-image for poster visuals and hero images\n\n",{"name":5,"license":23,"metadata":24,"description":7,"compatibility":27},"MIT license",{"version":25,"skill-author":26},"1.0.0","AlterLab","Requires an OpenRouter API key","master","f483e54f3ad5f202a77d45f2e57f8d970b71195f","skills_library\u002Falterlab-generate-image",2,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills","https:\u002F\u002Fgithub.com\u002Froohe","yoou.link","2026-05-19 15:56:07",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add roohe\u002Fagentic-super-skills --skill alterlab-generate-image",{"tool":42,"command":43},"bunx","bunx skills add roohe\u002Fagentic-super-skills --skill alterlab-generate-image",{"tool":45,"command":46},"pnpm","pnpm dlx skills add roohe\u002Fagentic-super-skills --skill alterlab-generate-image","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Falterlab-generate-image\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M73D865CZME2FCMKA4PQM348","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M73D7Z64J4ABWZJD7P44XBBF","youtube-downloader","Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M73D7K8778TGZV3GJFR3703D","yc-pitch-deck","Create a compelling startup pitch deck that follows the structure proven to raise billions from top investors. Master the YC and Sequoia formats that get founders funded. Use when: **Fundraising** to create investor pitch decks; **YC application** to structure your narrative; **Demo Day prep** to craft your 2-minute pitch; **Angel investors** to communicate your opportunity; **Partnership pitches** to structure compelling asks","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyc-pitch-deck\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M73D70KJSE0E8Z28YMNNRT04","x-twitter-scraper","Use when the user needs X (Twitter) data or confirmation-gated X actions through Xquik: tweet search, user lookup, follower extraction, media download, monitoring, webhooks, MCP, SDKs, posting, likes, DMs, and profile updates. Requires a Xquik API key. Never ask for X login material.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fx-twitter-scraper\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M73D6ED01GV077R7K4NZNFZJ","write-vignette","Create R package vignettes using R Markdown or Quarto. Covers vignette setup, YAML configuration, code chunk options, building and testing, and CRAN requirements for vignettes. Use when adding a Getting Started tutorial, documenting complex workflows spanning multiple functions, creating domain-specific guides, or when CRAN submission requires user-facing documentation beyond function help pages.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-vignette\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M73D69YJR0BK3NFHE0CYG3EF","write-validation-documentation","Write IQ\u002FOQ\u002FPQ validation documentation for computerized systems in regulated environments. Covers protocols, reports, test scripts, deviation handling, and approval workflows. Use when validating R or other software for regulated use, preparing for a regulatory audit, documenting qualification of computing environments, or creating and updating validation protocols and reports for new or re-qualified systems.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-validation-documentation\u002FSKILL.md",[],[]]