generate-image

Generate and edit images via OpenRouter AI models with prompts and optional input images.

1|2|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/fuzzy-dynamics/strings --skill generate-image-fuzzy-dynamics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-image
Source: https://github.com/fuzzy-dynamics/strings/tree/main/packages/skills/generate-image
Command: npx skills add https://github.com/fuzzy-dynamics/strings --skill generate-image-fuzzy-dynamics

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables users to generate and edit high-quality images using AI models, reducing manual effort and accelerating visual content creation.

Core Features & Use Cases

  • Image generation with OpenRouter models (e.g., Gemini-3.1 Flash Image Preview, Flux series).
  • Image editing by providing prompts and optional input images.
  • Flexible model selection and output customization for marketing visuals, illustrations, and concept art.

Quick Start

Run the script with a prompt to generate an image, such as 'A futuristic city at dusk'.

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 from text prompts using OpenRouter models?

Generate AI images by providing a text prompt to the script, which calls OpenRouter models like Gemini-3.1 Flash Image Preview or Flux series. You can produce visual assets for creative, marketing, and product imagery tasks directly from your input.

Can I edit existing images with AI using OpenRouter?

Edit existing images by supplying an optional input image along with a text prompt. The script uses OpenRouter models to apply modifications, allowing you to update photos, illustrations, and concept art without manual editing effort.

Do I need an API key to generate AI images?

An API key is required to authenticate requests with OpenRouter before you can generate or edit images. You must configure this key in the script environment to successfully route prompts to your selected AI model.

What's the best way to customize AI image generation for marketing visuals?

Customize marketing visuals by selecting specific OpenRouter models and crafting detailed text prompts. The skill supports flexible model selection, enabling you to generate tailored photos, illustrations, and concept art that fit diverse visual content contexts.

How are generated AI images saved after processing?

Generated AI images are saved as files automatically after the OpenRouter model processes your prompt. This ensures your visual assets are stored locally and ready for immediate use in your creative or marketing workflows.

Does this image generation skill work with the requests library?

The skill uses the requests library to handle HTTP communication with the OpenRouter API. This dependency manages the data transmission for your prompts and input images, returning the generated visual content for file saving.