What problem does it solve?
Generating high-quality images from text prompts and reference images can be fragmented across different provider APIs, CLI tools, and model conventions, making it hard for creators and developers to produce consistent outputs quickly. This Skill unifies provider selection, model resolution, aspect ratio handling, quality presets, reference-image editing, and output file management into a single CLI-driven workflow so users can generate or batch-produce images reliably.
Core Features & Use Cases
- Multi-provider support: Works with Google (Gemini/Imagen), OpenAI (GPT Image / DALL·E), DashScope (阿里通义万象), and Replicate with provider auto-detection.
- Reference images and edits: Accepts reference images for multimodal edits when supported (Google multimodal, OpenAI GPT Image edits, Replicate).
- Flexible sizing & aspect ratios: Aspect ratio parsing, quality presets (normal/2k), and provider-specific size mappings.
- Batch and single-image workflows: Sequential default generation with optional parallel/concurrent generation for large batches; retries and polling for robustness.
- Use Case: Produce a 2K cover illustration for a blog post, edit an existing image with a prompt and mask, or generate a batch of thumbnails across providers while saving outputs to disk.
Quick Start
Generate a high-resolution 16:9 illustration of "a futuristic city at dusk" and save it to out.png using the baoyu-image-gen skill with your preferred provider and API key.