image-gen

Generate images from text prompts and reference images via multiple provider APIs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ginobefun/gino-skills --skill image-gen-ginobefun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-gen
Source: https://github.com/ginobefun/gino-skills/tree/main/skills/image-gen
Command: npx skills add https://github.com/ginobefun/gino-skills --skill image-gen-ginobefun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @aws-sdk/client-s3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Provide a unified, production-ready interface to generate and edit images using multiple provider APIs, removing the overhead of handling provider-specific APIs, model selection, aspect ratios, reference-image edits, and environment configuration for everyday creative and automation tasks.

Core Features & Use Cases

  • Multi-provider Support: Works with Google (Gemini/Imagen), OpenAI (GPT Image), DashScope (Alibaba), and Replicate with provider-specific handling.
  • Reference Images & Edits: Support for multimodal reference-image editing when provider/model allows, plus automatic provider selection when references are supplied.
  • Quality, Size & Aspect Control: Preset quality (normal/2k), explicit imageSize, and aspect ratio mapping with sensible defaults and fallbacks.
  • Operational Safety & Preferences: Enforces a first-time EXTEND.md preference setup before generation, resolves models from CLI/EXTEND.md/env, displays chosen provider/model, retries transient failures, and offers optional parallel batch generation and R2 upload utilities.
  • Use Case Examples: Create article covers at 2k, batch-generate social thumbnails, or perform reference-based edits using a Gemini multimodal model.

Quick Start

Generate a 2k landscape image of a golden retriever running on a beach and save it as out.png using the Google provider.

Frequently Asked Questions about image-gen

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

FAQPage Schema
How do I generate images from text prompts using multiple AI providers?

To generate images from text prompts using multiple AI providers, you can use a unified interface that connects to Google, OpenAI, DashScope, and Replicate. This approach removes the overhead of handling provider-specific APIs for everyday creative and automation tasks.

Can I edit an existing image using reference images with Google Gemini?

Yes, you can perform reference-based edits using multimodal reference images. When reference images are supplied, the system supports multimodal editing if the provider or model allows it, including automatic provider selection for Gemini.

How do I control aspect ratio, size, and quality presets for AI image generation?

You can control aspect ratio, size, and quality presets by using explicit imageSize commands, preset quality mappings like normal or 2k, and aspect ratio mappings. The system applies sensible defaults and fallbacks for your specified parameters.

Does this image generation tool support batch processing and R2 uploads?

Yes, the image generation tool supports optional parallel batch generation for creating multiple images at once. It also includes R2 upload utilities, automatically handling provider detection and retrying transient failures during the batch process.

Do I need to configure environment variables before generating images via API?

Yes, you need to configure environment variables and complete a first-time EXTEND.md preference setup before generation. The system resolves models from CLI flags, EXTEND.md, and environment variables, then displays the chosen provider and model.

What is the best way to handle provider-specific API differences for image generation?

The best way to handle provider-specific API differences is using a production-ready interface that standardizes provider detection and model resolution across Google, OpenAI, DashScope, and Replicate, enforcing operational safety with automatic retries.