baoyu-image-gen

Generate images from prompts via OpenAI, Google Gemini/Imagen, and DashScope with optional references.

24.8k|2.8k|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-image-gen-jimliu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-image-gen
Source: https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-image-gen
Command: npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-image-gen-jimliu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Generates AI-generated images across multiple providers (OpenAI, Google Gemini/Imagen, and DashScope) with prompts, reference images, and aspect-ratio controls, so you don't have to manage each API separately.

Core Features & Use Cases

  • Supports text-to-image generation with OpenAI, Google Gemini/Imagen, and DashScope.
  • Optional reference image support for guided edits or style transfer (where supported).
  • Aspect ratio and size controls, including common ratios; per-model size handling.
  • Ideal for marketing visuals, product mockups, social graphics, and creative assets.

Quick Start

Provide a prompt and an output path to generate an image using your preferred provider.

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 AI images from text prompts using multiple providers?

You can generate AI images by providing a text prompt and selecting a provider like OpenAI, Google Gemini/Imagen, or DashScope. The tool manages each API separately and returns the generated image or JSON output.

Can I use a reference image for style transfer with AI image generation?

Yes, you can use an optional reference image for guided edits or style transfer where supported. This allows you to direct the visual aesthetic of the generated image alongside your text prompt.

Do I need API keys to generate images with OpenAI, Google, and DashScope?

Yes, you need API keys to generate images, which are loaded from environment variables. You must configure your environment with the necessary credentials for OpenAI, Google, or DashScope before execution.

What's the best way to control aspect ratio and size for AI generated images?

The best way to control aspect ratio and size for AI generated images is using the built-in parameters for common ratios and per-model size handling. This ensures outputs match specific dimensions for marketing or social graphics.

Does this tool support batch generation for marketing visuals across different models?

Yes, it supports batch generation for creating marketing visuals, product mockups, and social graphics. You can produce multiple creative assets across diverse prompts and styles using OpenAI, Google, or DashScope.

Why might reference image generation not work with certain AI models?

Reference image generation might not work because guided edits and style transfer are only supported by specific models where the feature is available. You should verify provider capabilities before attempting image-to-image workflows.