Image Studio
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_3b76b7e2/image-studio-pro.
About this skill
Problem
Batch image workflows often get fragmented: background removal, background replacement, watermarking, and target-size export are usually handled by separate tools or web services. When the requirement is offline processing and directory-level batch output, a scriptable local pipeline becomes useful.
How It Works
Image Studio is a Python CLI built around image_studio.py. It provides four common commands: remove-bg uses rembg for background removal and can fall back to OpenCV GrabCut if the dependency is unavailable; replace-bg composites the subject onto an image or solid-color background; watermark adds text or image watermarks with position, opacity, font size, and scale controls; resize supports resize, cover, contain, and crop modes, similar to common CSS object-fit behavior.
Each command accepts a single file or a directory. It processes supported formats such as .png, .jpg, .jpeg, .webp, .bmp, and .tiff, and can output PNG to preserve transparency. The commands can be chained in a typical asset pipeline: remove background, replace background, resize, then watermark.
Boundaries And Notes
rembg is mainly for background removal and replacement; without it, accuracy may drop. Text watermark and image watermark are mutually exclusive, as are image background and solid background. A missing input directory causes an error, while output directories are created automatically. This skill is best for local batch processing and simple image pipelines, not for advanced retouching, fine-grained person editing, commercial-grade compositing, or semantic image understanding.
Use Cases
- E-commerce ops prepares product images: batch-remove backgrounds from a directory, replace them with a solid color, and crop to a fixed size.
- Content editor adds watermarks: batch-apply text watermarks to images and adjust position, opacity, and font size.
- ML engineer preps dataset images: batch-resize or center-crop a folder to target dimensions and export PNG.
- Designer organizes deliverables: crop photos to target aspect ratio, add project watermarks, and export JPG or PNG.
Best For
- E-commerce or ops staff who need to batch-remove product backgrounds, apply a unified background, and crop to platform sizes.
- Content editors who need to batch-add text or image watermarks with controlled position and opacity.
- ML or data engineers who need to batch-resize, crop, or letterbox a folder of images to target dimensions.
- Designers or front-end staff who need quick fixed-size deliverables or assets with watermarks.
Related Skills
Generate an interactive HTML product detail page from images and copy, with multi-product carousel, inline text editing, design controls, and PDF/JPG/PSD export support.
Enter a material name to get preview and download links for free, commercially usable video assets, with paid platform options, pricing, and search suggestions when results are limited.
A local CLI for Dreamina image and video generation, including credit checks, async submission, result queries, and task history review.
Generate and validate JianYing drafts from storyboard JSON with narrated commentary, original-sound preservation, timing checks, and draft inspection.