Skip to content
cccskills
FreePublished on GitHub

image-enhance

Improve mildly blurry, dark, or noisy images with noise reduction, sharpening, and contrast or saturation adjustments. Export enhanced images at their original size or enlarged two or four times, with a report of applied changes.

OriginalShow the original description

图片增强 / 放大 / 变清晰:高质量放大(Lanczos 2x/4x)+ 去噪 + 锐化 + 自动对比度/饱和度,改善偏糊、偏暗、噪点多的图片。当用户说 图片放大、图片变清晰、提高清晰度、图片增强、去噪点、锐化、图片太糊了、放大到高清、提升画质、优化图片、图片调亮调色 时使用。

基于 shared/scripts/img_enhance.py(Pillow+OpenCV)。注意:这是传统增强非 AI 超分,凭空生成细节请用 ai-image-gen 图生图。与 image-editing 区别:那个做缩放/裁切/水印等常规操作,本 SKILL 专做画质提升。

See how to install

Good for

  • Enlarge an image two or four times
  • Reduce noise in a photograph
  • Adjust contrast and color in dark or dull images
  • Sharpen slightly blurry images

Files included (1)

  • SKILL.md2.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

图片增强 / 放大

高质量放大 + 去噪 + 锐化 + 调色,改善偏糊/偏暗/有噪点的图片。走 skills/shared/scripts/img_enhance.py。

⚠️ 传统确定性增强,不是 AI 超分——能改善轻中度模糊/噪点,但无法凭空造细节。 要 AI 超分/重绘用 ai-image-gen(图生图)。常规缩放/裁切/压缩/水印见 image-editing。

输入

字段必填说明
图片是要增强的图片(没给就问)
放大倍数否默认 2 倍;1 表示只增强不放大
增强项否一键 --auto,或分别指定去噪/锐化/对比/饱和

输出(outputs/主题名/)

  • 增强后的图片
  • 报告:原尺寸→新尺寸、执行了哪些增强

执行步骤

脚本路径(相对项目根):skills/shared/scripts/img_enhance.py(enhance -h 看参数)。

# 一键增强 + 2 倍放大(最常用)
python skills/shared/scripts/img_enhance.py enhance -i blurry.jpg \
  -o outputs/主题名/out.jpg --scale 2 --auto

# 噪点多的照片:去噪 + 4 倍 + 强锐化
python skills/shared/scripts/img_enhance.py enhance -i photo.jpg \
  -o outputs/主题名/out.png --scale 4 --denoise --sharpen 1.5

# 只调色不放大(偏暗/发灰的图)
python skills/shared/scripts/img_enhance.py enhance -i img.jpg \
  -o outputs/主题名/out.jpg --scale 1 --auto

调参

  • 还是糊:本工具无法造细节,改用 ai-image-gen 图生图超分。
  • 锐化过头有噪点/白边:降低 --sharpen(默认 auto=1.0)。
  • 颜色过饱和:--saturation 1.0 关闭增色,或调低。
  • 噪点被放大:加 --denoise(放大前先去噪)。

规则

  1. 先设定预期:这是"改善"不是"重绘",糊得厉害的图别承诺变高清。
  2. 有噪点务必 --denoise(放大前执行,避免噪点被放大)。
  3. 放大统一用 Lanczos 高质量重采样;倍数别盲目开 4x(文件暴涨且无新细节)。
  4. 产物统一进 outputs/主题名/。

参考来源

Lanczos 重采样 + UnsharpMask 锐化 + OpenCV fastNlMeans 去噪 + 自动对比度,是无 GPU 的传统 画质提升组合。真正的超分辨率(Real-ESRGAN 等)需 GPU/模型,此处以 ai-image-gen 图生图替代。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

ai-image-gen

FreeSummary

Generate images from written descriptions, transform existing images with editing instructions, or create several variations. Choose image dimensions and quantity, then save the results using an OpenAI-compatible service or apimart with your own API key.

  • Generating an illustration from a written description
  • Changing an image's background using instructions
  • Creating several variations of an existing image
ZJU-REAL/Easel4KUpdated Oct 21, 2026

ai-music

FreeSummary

Generate background music for short videos, vlogs, and social posts from descriptions of mood, style, and instruments. Download MP3 audio, optionally include sung lyrics, and use shared scripts to trim tracks, adjust loudness, or add music to videos.

  • Generating background music for a vlog intro
  • Creating instrumental music to match a social post
  • Generating a sung track from supplied lyrics
ZJU-REAL/Easel4KUpdated Oct 21, 2026

ai-video-gen

FreeSummary

Create new videos from written scene descriptions or still images using external AI services. Set the aspect ratio and duration, animate a character image, and request generated audio when the selected model supports it.

  • Generate a short video from a scene description
  • Animate a still image
  • Create character motion from a starting image
ZJU-REAL/Easel4KUpdated Oct 21, 2026

asset-manager

FreeSummary

Organize generated images, videos, and text in outputs/ by date, platform, and type. Add tags, search filenames and content, produce asset lists and reports, and preview archive moves before applying them to make past work easier to reuse.

  • Organizing generated assets by date, platform, and type
  • Finding past content through keywords and tags
  • Listing assets for a specific account or platform
ZJU-REAL/Easel4KUpdated Oct 21, 2026

audio-denoise

FreeSummary

Reduce background noise in audio recordings or video soundtracks with three processing levels. Keep the original file, create a cleaned version, and receive a report of the settings used and file details before and after processing.

  • Reducing fan or air conditioner noise in recordings
  • Cleaning speech in podcasts and interviews
  • Reducing noise in a video's audio track
ZJU-REAL/Easel4KUpdated Oct 21, 2026

audio-editing

FreeSummary

Edit audio files by trimming sections, converting formats, matching loudness, or extracting sound from videos. You can also join recordings, add fades, and change playback speed while keeping the original pitch.

  • Trim a recording to the section you need
  • Convert audio formats and match loudness
  • Extract audio from a video
ZJU-REAL/Easel4KUpdated Oct 21, 2026

See all skills by ZJU-REAL

Report a problem with this skill