Install
openclaw skills install @fm7077/easyimage-uploader-pyUpload local image files to an EasyImages 2.0 service and return the hosted image URL. Use when the user asks to upload an image, host a picture, put a local screenshot/photo onto an EasyImages server, or wants a sharable image link generated from a local file. This skill supports skill-local configuration via config.json, with CLI flags or environment variables as fallback.
openclaw skills install @fm7077/easyimage-uploader-pyUpload a local image to an EasyImages 2.0 server, then return the hosted image URL.
Resolve configuration in this order:
--server and --tokenconfig.jsonEASYIMAGE_URLEASYIMAGE_TOKENRecommended setup: create config.json in the root of this skill.
Example:
{
"server": "https://img.example.com",
"token": "your-easyimage-token",
"allow_model_image_input": false,
"temp_dir": "./temp"
}
A template file is included as config.example.json.
server: EasyImages service base URLtoken: EasyImages upload tokenallow_model_image_input: whether upload requests are allowed to rely on model-side image understanding
false: prefer direct file-path upload only, avoid image analysis, avoid vision tool usagetrue: model-side image handling is allowed when neededtemp_dir: temp working directory for this skill
./tempSKILL.md / skill root directoryeasyimage-uploader/temp/If configuration is missing, stop and ask the user for the missing value.
references/api.md if you need the exact upstream API shape or status meanings.config.json when behavior matters.allow_model_image_input is false, do not use image analysis or vision tools just to understand image content. Treat the image as a file and upload by path only.temp_dir for temporary files when downloads, conversions, or intermediate storage are needed. If the directory does not exist, create it first.~ expansion in generated commands. Safe default:python3 /absolute/path/to/skills/easyimage-uploader/scripts/upload_easyimage.py /absolute/path/to/image
python3 /absolute/path/to/skills/easyimage-uploader/scripts/upload_easyimage.py /absolute/path/to/image \
--config /absolute/path/to/config.json
python3 /absolute/path/to/skills/easyimage-uploader/scripts/upload_easyimage.py /absolute/path/to/image \
--server https://img.example.com \
--token YOUR_TOKEN
~ and relative paths for the image and config arguments, but still prefer absolute paths in examples and real executions to avoid shell-specific surprises.ok is true, return the url to the user. Mention thumb only if useful.delete_url unless the user explicitly asks for deletion capability.code or error payload.When the script returns a failure payload:
network_error: server unreachable, DNS/TLS/network problem, or timeouthttp_error: server returned a non-2xx HTTP responseinvalid_json: server responded unexpectedlycode values should be interpreted using references/api.mdCommon user-facing explanations:
202: server-side upload quota reached205: current client is blocked by EasyImages allow/deny rules401: server requires login uploads instead of token-only uploads403: token invalid or signature check failed406: file type rejectedurl as the main result.config.json contains secrets. Keep file permissions tight and avoid committing it to public repositories.