generate-image

Generate and edit images via OpenRouter API models like FLUX and Gemini.

2|Updated Jun 4, 2026
One-click install
npx skills add https://github.com/Lord1Egypt/scientific-agent-toolkit --skill generate-image-lord1egypt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-image
Source: https://github.com/Lord1Egypt/scientific-agent-toolkit/tree/main/scientific-skills/generate-image
Command: npx skills add https://github.com/Lord1Egypt/scientific-agent-toolkit --skill generate-image-lord1egypt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

This skill solves the challenge of generating professional-grade visual assets and performing image edits directly within an AI agent workflow, eliminating the need to switch between external design tools and your research environment.

Core Features & Use Cases

  • AI Image Generation: Create photorealistic images, illustrations, and concept art using advanced models like FLUX.2 Pro and Gemini 3.1 Flash.
  • Image Editing: Modify existing images by providing natural language instructions, such as changing backgrounds or adding specific elements.
  • Scientific Integration: Generate conceptual illustrations for research papers, posters, and presentations to enhance visual communication of complex data.

Quick Start

Use the generate-image skill to create a photorealistic image of a laboratory setting with modern equipment and save it as lab_setup.png.

Frequently Asked Questions about generate-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI images directly within an agent workflow?

To generate AI images within an agent workflow, use this Skill to process natural language prompts via the OpenRouter API. It creates high-quality visual assets using models like FLUX and Gemini, saving outputs directly as image files.

Can I edit existing images using natural language instructions?

Yes, you can edit existing images using natural language instructions through this Skill. It supports iterative image modification via OpenRouter API models, allowing you to change backgrounds or add specific elements without external design tools.

Do I need an OpenRouter API key to generate AI visuals?

Yes, you need a valid OpenRouter API key configured in your environment to generate AI visuals. The Skill relies on the requests library and this API key to access models like FLUX and Gemini for image creation and editing.

What is the best way to create conceptual scientific illustrations for research presentations?

The best way to create conceptual scientific illustrations for research presentations is using this Skill's AI image generation. It integrates with your workflow to produce tailored visual content for posters and presentations, enhancing complex data communication.

Does this image generation Skill work with FLUX and Gemini models?

Yes, this image generation Skill works with FLUX and Gemini models. It leverages the OpenRouter API to access these specific models, enabling diverse tasks ranging from photorealistic image creation to iterative visual modifications.

Are there limitations when using OpenRouter for AI image editing?

Limitations of using OpenRouter for AI image editing include dependency on external API availability and a valid API key. The Skill requires the requests library and cannot function offline, meaning network access is mandatory for processing visual tasks.