Use when understanding images with Alibaba Cloud Model Studio Qwen VL models (qwen3-vl-plus/qwen3-vl-flash and latest aliases). Use when building image Q&A,...
设计与多媒体
VLM Image Helper
试用Visual inspection helper for VLM and OCR workflows. Use when agent needs to help a vision model see an image more clearly before re-analysis: rotate misalign...
它能做什么
Visual inspection helper for VLM and OCR workflows. Use when agent needs to help a vision model see an image more clearly before re-analysis: rotate misalign...
技能文档
VLM Image Helper
Treat this skill as a visual aid for the model, not as a general image editor.
Use scripts/image_helper.py to create a clearer intermediate image, then re-run analysis on that result.
Core Workflow
- Start from the original image path, a raw base64 string, or a data URI.
- Apply the smallest transformation that is likely to remove the ambiguity.
- Prefer semantic crop presets over manual coordinates unless the exact box is already known.
- Return the processed image as a file or base64, then re-read that result.
- If the image is still unclear, iterate once with a tighter crop or stronger zoom instead of stacking many edits at once.
Quick Commands
# Rotate sideways text
python scripts/image_helper.py image.png --rotate 90 -o rotated.png
# Crop a likely area and zoom it
python scripts/image_helper.py image.png --crop-preset bottom-right --scale-preset x3 -o detail.png
# Improve low-contrast text
python scripts/image_helper.py image.png --auto-enhance -o enhanced.png
# Convert an existing file path directly to base64
python scripts/image_helper.py image.png --base64
Choose the Next Action
- Text is sideways or upside down: use
--rotate. - Only one region matters: use
--crop-presetfirst, then add--scale-preset. - Small text or icons are hard to read: use
--scale-preset x2orx3. - Contrast is weak or edges are fuzzy: use
--auto-enhance, or manually tune--contrastand--sharpness. - Another tool needs inline image data instead of a file path: add
--base64. - The source image arrives as raw base64 or a data URI: use
--input-mode autoor force--input-mode base64/data-uri.
Input and Output Rules
- Accept a file path, raw base64 string, or data URI as input.
- Return a file with
-oor return inline base64 with--base64. - Allow passthrough output with no edits when the only goal is format conversion or path-to-base64 conversion.
References
- Full CLI reference:
references/cli-reference.md - Crop and scale preset table:
references/presets.md
Prerequisite
Install Pillow if it is missing:
pip install Pillow
# or
uv pip install Pillow
相关技能
Use the AutoGLM Image Recognition API to analyze and describe image content. Use this skill when the user needs image analysis, object or scene recognition,...
Perform OCR on image files (jpg, png, bmp, gif, tiff) using the system's `tesseract` binary and return extracted plain text.
Turn images, video, audio, or documents into text. Use when the user says "what's in this image", "describe / caption this", "tag these photos", "read this d...
Ghost Eye 👁️ — Let any pure-text LLM see images through any vision model. OCR + visual summary in one shot.
Vision/image understanding for agents whose model can't read images (returns "model does not support images", empty/unknown output, low confidence, or user-reported failure). Calls an OpenAI-compatible vision API (doubao or any OpenAI-compatible provider), returns structured JSON. Use whenever an image must be understood. Do NOT substitute with local OCR (tesseract) - OCR extracts text only, not layout/visual understanding.