generate-image

Generates and edits images from prompts using selectable AI models via OpenRouter API.

48|6|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill generate-image-qinyan-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-image
Source: https://github.com/qinyan-ai/qinyan-academic-skills/tree/main/skills/03-%E5%AD%A6%E6%9C%AF%E6%BC%94%E7%A4%BA%E4%B8%8E%E5%8F%AF%E8%A7%86%E5%8C%96/generate-image
Command: npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill generate-image-qinyan-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Generate high-quality visuals for academic papers, presentations, and marketing materials from simple prompts, reducing design time and skill barriers.

Core Features & Use Cases

  • Automated image generation from natural language prompts with selectable AI models
  • Image editing by providing an input image and editing prompt
  • Model selection and output customization to balance quality, speed, and cost
  • Easy integration into research workflows for figures, diagrams, and visual assets
  • Use Case: Create a concept illustration for a research slide or a poster hero image.

Quick Start

Run python scripts/generate_image.py "Microscopic view of cancer cells with immunotherapy highlights" to generate an image.

Frequently Asked Questions about generate-image

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

FAQPage Schema
How do I generate images from text prompts for academic presentations?

To generate images from text prompts, you provide a natural language description to the script, which uses AI models to create high-quality visuals suitable for academic presentations and research workflows. It processes the prompt and saves the output image.

Can I edit an existing image using AI prompts?

Yes, you can edit an existing image by providing both the input image and an editing prompt. The Skill processes these inputs using AI models to modify and customize the visual output based on your instructions.

Do I need an OpenRouter API key to use AI image generation?

Yes, an OpenRouter API key is required to use this AI image generation Skill. The key authenticates your requests to the selectable AI models, enabling the core features of image creation and editing.

How do I select AI models for image generation to balance quality and cost?

You can select AI models for image generation through the script parameters. This allows you to balance output quality, processing speed, and cost by choosing different models available via the OpenRouter integration.

What is the best way to automate visual asset creation for research papers?

The best way to automate visual asset creation for research papers is running a Python script with your descriptive prompt. It generates concept illustrations and figures directly, reducing design time and skill barriers for academic materials.