generate-image
Generate or edit images using AI models (FLUX, Nano Banana 2).
Skill by foryourhealth111-pixel
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/foryourhealth111-pixel-generate-image
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 2
codeload.github.com· found in install commandopenrouter.ai· found in code
Files it touches
~/.claude/skills/generate-image
What's inside
- Skill name
generate-image- Description
- 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.
- License
- MIT
- Compatibility
- Requires an OpenRouter API key
- Metadata
- skill-author: K-Dense Inc.
- Instructions
- 175 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- generate_image.py · scripts/
SKILL.md (first lines)
# Generate Image Generate and edit high-quality images using OpenRouter's image generation models including FLUX.2 Pro and Gemini 3.1 Flash Image Preview. ## When to Use This Skill **Use generate-image for:** - Photos and photorealistic images - Artistic illustrations and artwork - Concept art and visual concepts - Visual assets for presentations or documents - Image editing and modifications - Any general-purpose image generation needs **Use scientific-schematics instead for:** - Flowcharts and process diagrams - Circuit diagrams and electrical schematics - Biological pathways and signaling cascades - System architecture diagrams - CONSORT diagrams and methodology flowcharts - Any technical/schematic diagrams ## Quick Start Use the `scripts/generate_image.py` script to generate or edit images: ```bash # Generate a new image python scripts/generate_image.py "A beautiful sunset over mountains" # Edit an existing image python scripts/generate_image.py "Make the sky purple" --input photo.jpg ``` This generates/edits an image and saves it as `generated_image.png` in the current directory. ## API Key Setup **CRITICAL**: The script requires an OpenRouter API key. Before running, check if the user has configured their API key: 1. Look for a `.env` file in the project directory or parent directories 2. Check for `OPENROUTER_API_KEY=<key>` in the `.env` file 3. If not found, inform the user they need to: - Create a `.env` file with `OPENROUTER_API_KEY=your-api-key-here` - Or set the environment variable: `export OPENROUTER_API_KEY=your-api-key-here` - Get an API key from: https://openrouter.ai/keys The script will automatically detect the `.env` file and provide clear error messages if the API key is missing. ## Model Selection **Default model**: `google/gemini-3.1-flash-image-preview` (high quality, recommended) **Available models for generation and editing**: - `google/gemini-3.1-flash-image-preview` - High quality, supports generation + editing - `black-forest-labs/flux.2-pro` - Fast, high quality, supports generation + editing **Generation only**: - `black-forest-labs/flux.2-flex` - Fast and cheap, but not as high quality as pro Select based on: - **Quality**: Use gemini-3.1-flash-image-preview or flux.2-pro - **Editing**: Use gemini-3.1-flash-image-preview or flux.2-pro (both support image editing) - **Cost**: Use flux.2-flex for generation only ## Common Usage Patterns ### Basic generation ```bash python scripts/generate_image.py "Your prompt here" ``` ### Specify model ```bash python scripts/generate_image.py "A cat in space" --model "black-forest-labs/flux.2-pro" ``` ### Custom output path ```bash python scripts/generate_image.py "Abstract art" --output artwork.png ``` ### Edit an existing image ```bash python scripts/generate_image.py "Make the background blue" --input photo.jpg ``` ### Edit with a specific model ```bash python scripts/generate_image.py "Add sunglasses to the person" --input portrait.png --model "black-forest-labs/flux.2-pro" ``` ### Edit with custom output ```bash python scripts/generate_image.py "Remove the text from the image" --input screenshot.png --output cleaned.png ``` ### Multiple images Run the script multiple times with different prompts or output paths: ```bash python scripts/generate_image.py "Image 1 description" --output image1.png python scripts/generate_image.py "Image 2 description" --output image2.png ``` ## Script Parameters - `prompt` (required): Text description of the image to generate, or editing instructions - `--input` or `-i`: Input image path for editing (enables edit mode) - `--model` or `-m`: OpenRouter model ID (default: google/gemini-3.1-flash-image-preview) - `--output` or `-o`: Output file path (default: generated_image.png) - `--api-key`: OpenRouter API key (overrides .env file) ## Example Use Cases ### For Scientific Documents ```bash # Generate a conceptual illustration for a paper python scripts/generate_image.py "Microscopic view of cancer cells being attacked by immunotherapy agents, scientific illustration style" --output figures/immunotherapy_concept.png
From foryourhealth111-pixel/Vibe-Skills, MIT.
More from foryourhealth111-pixel/Vibe-Skills
- 0.843score
prowler-docs
prowler-cloud
Prowler documentation style guide and writing standards.
SkillAFreshness: A★ 3.8KClaude Code - 0.744score
speckit-specify
github-spec-kit
Create or update feature specifications from natural language descriptions.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-tasks
github-spec-kit
Break down implementation plans into actionable task lists.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-plan
github-spec-kit
Generate technical implementation plans from feature specifications.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-taskstoissues
github-spec-kit
Convert tasks from tasks.md into GitHub issues.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-analyze
github-spec-kit
Perform cross-artifact consistency analysis across spec.md, plan.md, and tasks.md.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-clarify
github-spec-kit
Structured clarification workflow for underspecified requirements.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-checklist
github-spec-kit
Generate custom quality checklists for validating requirements completeness and clarity.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-constitution
github-spec-kit
Create or update project governing principles and development guidelines.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-implement
github-spec-kit
Execute all tasks from the task breakdown to build the feature.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
astropy
foryourhealth111-pixel
Comprehensive Python library for astronomy and astrophysics.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
doc
foryourhealth111-pixel
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus…
SkillAFreshness: A★ 3.8KClaude Code +9
Signals
- Stars
- 3,764
- Forks
- 341
- Open issues
- 36
- Last commit (this folder)
- Mar 3, 2026 (8 months ago)
- Last release
- Oct 18, 2026 (12 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- scienceclaw.science
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.313score
generate-image
qinyan-ai
Generate or edit images using AI models (FLUX, Nano Banana 2).
SkillDFreshness: D★ 87Claude Code +9 - 0.312score
generate-image
Simulasi-Ekonomi
Generate or edit images using AI models (FLUX, Nano Banana 2).
SkillBFreshness: BClaude Code +9 - 0.251score
generate-image
beita6969
Generate or edit images using AI models (FLUX, Nano Banana 2).
SkillDFreshness: D★ 1KClaude Code +9
More from foryourhealth111-pixel
- 0.652score
bio-database-evidence
foryourhealth111-pixel
Unified biological database evidence owner.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
biopython
foryourhealth111-pixel
Primary retained Python toolkit for molecular biology sequence work.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
generating-test-reports
foryourhealth111-pixel
Generate structured test reports with pass/fail rollups, coverage summaries, and test artifacts.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
alpha-vantage
foryourhealth111-pixel
Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the…
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
astropy
foryourhealth111-pixel
Comprehensive Python library for astronomy and astrophysics.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
datacommons-client
foryourhealth111-pixel
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillAFreshness: A★ 3.8KClaude Code +9
Cite this page
generate-image skill. Agent Mart. https://agentmart.dev/skills/foryourhealth111-pixel-generate-image (last updated 2026-10-24)