Vision for coding models
Some Token Plan models (qwen3.8-max, qwen3.7-plus, and others) natively support visual understanding and can process image inputs directly. For text-only models such as glm-5.2 and deepseek-v4-pro, you can add visual capabilities by configuring a local Skill.
qwen3.8-max, qwen3.7-plus, and other models have visual understanding capabilities. If you frequently need to process images, switching to one of these models is the simplest and recommended approach.
For more information about switching models in other coding tools, see Clients and Developer Tools. After switching, you can reference image paths directly in your conversation, or drag-and-drop/paste images.
If you need to use text-only models such as glm-5.2 or deepseek-v4-pro for image processing, you can configure a Skill or Agent to enable visual capabilities.
Create a The resulting directory structure is as follows:
Running the image understanding Skill consumes Token Plan Credits. No additional charges apply.
Prerequisites
- You have subscribed to Token Plan. See Getting started.
- You have completed the integration configuration in a Token Plan tool and can chat normally. See Clients and Developer Tools for your tool's setup guide.
Vision support
| Model | Vision support | Description |
|---|---|---|
| qwen3.8-max, qwen3.8-flash, qwen3.7-plus, and others | Yes | No additional configuration required. You can pass images directly. |
| qwen3.7-max, glm-5.2, deepseek-v4-pro | No | Requires a Skill or Agent to enable visual capabilities |
Method 1: Use a vision model directly (recommended)
qwen3.8-max, qwen3.7-plus, and other models have visual understanding capabilities. If you frequently need to process images, switching to one of these models is the simplest and recommended approach.
| Tool | How to switch |
|---|---|
| Claude Code | /model qwen3.8-max or /model qwen3.8-flash or /model qwen3.7-plus |
| OpenCode | /models then search and select qwen3.8-max or qwen3.8-flash or qwen3.7-plus |
| Qwen Code | /model then select qwen3.8-max or qwen3.8-flash or qwen3.7-plus |
Method 2: Add visual capabilities via Skill or Agent
If you need to use text-only models such as glm-5.2 or deepseek-v4-pro for image processing, you can configure a Skill or Agent to enable visual capabilities.
- Claude Code
- OpenCode
-
Add the Skill
Create an
.claudefolder in your project directory, then create anskills/image-analyzerdirectory inside it:
SKILL.md file in that directory with the following content:-
Get started
- Run
claudein your project directory to start Claude Code, then run/model deepseek-v4-proto switch to thedeepseek-v4-promodel. - Reference an image path in the conversation and ask a question, for example:
Load image-analyzer skill and describe the content in screenshot.png.
- Run
FAQ
Why can't OpenCode + a vision model understand images?
Why can't OpenCode + a vision model understand images?
Cause: OpenCode does not enable a model's vision capabilities by default. You must explicitly declare the
modalities parameter in the configuration file.Solution: Add a modalities field to the model definition in your OpenCode configuration file, and set input to ["text", "image"], as shown below:Replace sk-sp-xxx with your Token Plan API Key.
Why can't OpenClaw + a vision model understand images?
Why can't OpenClaw + a vision model understand images?
Cause: OpenClaw requires the input field in the configuration file to determine whether a model supports vision capabilities.Solution:
- In the
~/.openclaw/openclaw.jsonconfiguration file, ensure the model definition includes the"input": ["text", "image"]field.
- After modifying the configuration, you must clear the OpenClaw model cache and restart. Otherwise, the old configuration will remain in effect.