baoyu-image-gen

Generate images from text descriptions using multiple AI APIs.

2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/AICode-Nexus/website --skill baoyu-image-gen-aicode-nexus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-image-gen
Source: https://github.com/AICode-Nexus/website/tree/main/skills/baoyu-image-gen
Command: npx skills add https://github.com/AICode-Nexus/website --skill baoyu-image-gen-aicode-nexus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bun, npx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to generate images with various AI APIs, automating the process of creating images based on text descriptions, references, and specific parameters.

Core Features & Use Cases

  • Multi-API Support: Utilizes OpenAI, Google, OpenRouter, DashScope, Jimeng, Seedream, and Replicate APIs for image generation.
  • Customization: Supports text-to-image, reference images, aspect ratios, and batch generation from saved prompt files.
  • Use Case: Generate a landscape image with a specific aspect ratio and quality, using Google's API, and include a reference image for additional context.

Quick Start

Generate an image with the text "A serene landscape under the moonlight" using OpenAI's API and a reference image "moon.jpg". Save the result as "landscape.png".

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 from text descriptions using multiple AI APIs?

To generate images from text descriptions, you can use a command-line interface to send text-to-image prompts to multiple AI APIs, including OpenAI, Google, OpenRouter, DashScope, Jimeng, Seedream, and Replicate. You must provide the required API keys for each provider.

Can I use reference images and specific aspect ratios for AI image generation?

Yes, AI image generation supports using reference images like 'moon.jpg' alongside text prompts to provide additional context. You can also specify custom aspect ratios and quality parameters to tailor the final generated image output.

Do I need bun or npx to run batch image generation scripts?

Yes, you need bun or npx installed because this Skill relies on these command-line execution environments to run its image generation scripts. These dependencies are required to manage and execute the batch processing workflows.

What is the best way to automate generating multiple images from saved prompt files?

The best way to automate generating multiple images is by using the batch generation feature, which processes multiple prompts saved in files. This allows you to queue and generate numerous images across different AI APIs without manual input.

Does this text-to-image tool support OpenRouter and Seedream APIs?

Yes, this text-to-image tool fully supports both OpenRouter and Seedream APIs, alongside OpenAI, Google, DashScope, Jimeng, and Replicate. You can select your preferred provider via the command-line interface when executing generation scripts.