baoyu-image-gen

Generate images via OpenAI, Google Gemini, DashScope, and Replicate APIs.

101|8|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/XY121718/baoyu-skills --skill baoyu-image-gen-xy121718
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-image-gen
Source: https://github.com/XY121718/baoyu-skills/tree/main/skills/baoyu-image-gen
Command: npx skills add https://github.com/XY121718/baoyu-skills --skill baoyu-image-gen-xy121718

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of generating images using AI by providing a unified interface to various powerful image generation APIs, eliminating the need to learn and manage multiple services.

Core Features & Use Cases

  • Multi-Provider Support: Integrates with OpenAI, Google (Gemini), DashScope, and Replicate.
  • Flexible Generation: Supports text-to-image, aspect ratios, quality presets, and reference images.
  • Use Case: Create a series of social media graphics with a consistent style by specifying a prompt, aspect ratio, and quality, leveraging the best available AI model for the task.

Quick Start

Use the baoyu-image-gen skill to generate an image of a cat in a park.

Frequently Asked Questions about baoyu-image-gen

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

FAQPage Schema
How do I generate images using AI across multiple providers like OpenAI and Gemini?

To generate AI images across providers, you need API keys for OpenAI, Google Gemini, DashScope, or Replicate, configured via environment variables. The Skill provides a unified interface to manage text-to-image generation, aspect ratios, and quality presets.

Can I use reference images for text-to-image generation with this approach?

Yes, text-to-image generation supports reference images. You can supply reference images alongside your prompt to guide the visual output, enabling diverse visual content creation tailored to your specific design requirements.

What's the best way to manage default settings for AI image generation?

The best way to manage default settings for AI image generation is through the EXTEND.md file. This handles configuration for your selected providers, allowing you to define default aspect ratios and quality presets.

Do I need separate API keys to use DashScope and Replicate for image generation?

Yes, you need separate API keys for DashScope and Replicate. The Skill requires specific API keys for your selected providers, which are then managed through environment variables to authenticate your image generation requests.

Why use a unified interface instead of connecting to image generation APIs directly?

A unified interface eliminates the need to learn and manage multiple AI image generation services. It simplifies the process by providing a single point of access to OpenAI, Gemini, DashScope, and Replicate, streamlining your workflow.

Does this text-to-image generation method support custom aspect ratios?

Yes, text-to-image generation supports custom aspect ratios. You can specify the desired aspect ratio and quality presets in your prompt configuration to generate images formatted for specific platforms like social media.