generate-image

Generate or edit images using AI models (FLUX, Gemini). 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.

Install

Hot:23

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=k-dense-ai-scientific-skills-generate-image&locale=en&source=copy

Generate Image - AI Image Generation and Editing Tool

Overview


Generate Image is an AI image generation tool based on OpenRouter, supporting advanced models like FLUX.2 Pro and Gemini 3 Pro to quickly produce high-quality images and offering powerful image editing capabilities.

Use Cases

  • Scientific document illustration generation

  • Generate scientific illustrations and conceptual visualizations for academic papers and technical reports, including microscopic structures, molecular models, experimental scenes, etc., supporting photo-realistic images or scientific illustration styles.

  • Presentation and poster design

  • Quickly generate presentation background images, poster main images, promotional assets, and other visual content, suitable for academic presentations, conference posters, marketing materials, and more; output size and style can be customized.

  • Image editing and modification

  • Perform intelligent edits on existing images, including changing backgrounds, adding elements, adjusting colors, removing text, etc., supporting common formats such as PNG, JPEG, GIF, WebP.

    Core Features

  • Multi-model image generation

  • Integrates two high-quality models, FLUX.2 Pro and Gemini 3 Pro, supporting photo-realistic images, artistic illustrations, concept art, and other styles, with flexible choices between quality and speed based on needs.

  • Intelligent image editing

  • Edit images via natural language descriptions without professional design skills; supports adding elements, changing backgrounds, adjusting styles, and more, greatly improving visual content creation efficiency.

  • Easy-to-use command-line tool

  • Provides a Python script generate_image.py; with a simple command you can perform image generation and editing, automatically handling API calls, image encoding, and file saving.

    FAQ

    How to use generate-image to generate images?


    It's very simple: just run python scripts/generate_image.py "your description" to generate an image. The image will be automatically saved as generated_image.png. First-time use requires configuring an OpenRouter API key.

    Which is better for generating images, FLUX or Gemini?


    Both support high-quality image generation and editing. Gemini 3 Pro is the default recommendation with stable quality; FLUX.2 Pro is faster. If you only need image generation without editing, FLUX.2 Flex is more cost-effective.

    What is the difference between generate-image and scientific-schematics?


    generate-image focuses on general image generation such as photos, illustrations, and concept art; scientific-schematics is specialized for generating technical diagrams like flowcharts, circuit diagrams, and signaling pathways. If you need technical diagrams, please use scientific-schematics.