sn-image-base
What it does
This is a building-block skill that other SenseNova skills call to create images, read picture content and improve text. It is mainly for developers and other skills rather than for end users.
When to use it
- ✓When another SenseNova image skill needs to generate or edit a picture.
- ✓When a skill needs to recognize what is in an image.
- ✓When a skill needs to rewrite or optimize a piece of text with an LLM.
Skill link
https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-image-base/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Generate a 16:9 image of a quiet library at dusk using the SenseNova image tool.”
5 new skills a week. 1 minute to read.
How it works
The tool sends your request to SenseNova's image or language services and returns the result, without changing the input first.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
sn-image-base
Dependency Installation
pip install -r requirements.txt
Overview
sn-image-base is the base-layer skill (tier 0) of the SenseNova-Skills project and provides four low-level tools:
sn-image-generate: image generation (calls text-to-image-no-enhance API)sn-image-edit: image editing with SenseNova U1.5 Lite (calls/images/edits)sn-image-recognize: image recognition (uses VLM to analyze image content)sn-text-optimize: text optimization (uses LLM to process text)
This skill does not perform any input preprocessing and only calls backend services to return results.
Tools List
sn-image-generate
Image generation tool that calls the text-to-image-no-enhance API.
--prompt is required; all other parameters are optional:
| Parameter | Type | Default | Description |
|---|---|---|---|
--prompt |
string | Required | Prompt text for image generation |
--negative-prompt |
string | "" |
Negative prompt |
--image-size |
string | 2k |
Image size preset (case-insensitive). Recommended: 2k. 4k is supported by sensenova-u1.5-lite; other SenseNova image models may reject it. Other values → status=failed. |
--aspect-ratio |
string | 16:9 |
Aspect ratio, e.g. 1:1, 16:9, 9:16 |
--seed |
int | None |
Random seed for reproducible generation |
--unet-name |
string | None |
Specify a UNet model name |
--api-key |
string | SN_IMAGE_GEN_API_KEY -> SN_API_KEY |
API key (CLI argument has priority; MissingApiKeyError is raised when all are empty) |
--base-url |
string | SN_IMAGE_GEN_BASE_URL -> SN_BASE_URL |
API base URL (CLI argument has priority) |
--poll-interval |
float | 5.0 |
Polling interval (seconds) |
--timeout |
float | 300.0 |
Timeout (seconds) |
--insecure |
flag | False |
Disable TLS verification |
--save-path |
Path | Auto-generated | Save path |
SenseNova image requests explicitly send watermark=false by default. Both sensenova-u1-fast and sensenova-u1.5-lite are supported; U1.5 Lite additionally supports native 4K output. This no-watermark feature is currently in free public beta and may become paid.
sn-image-edit
Edits one or more reference images with SenseNova U1.5 Lite through the /images/edits endpoint. Local paths are converted to Data URLs; HTTP(S) URLs and Data URLs are passed through.
python scripts/sn_agent_runner.py sn-image-edit \
--prompt "Change the background to a snowy mountain" \
--images source.png reference.png \
--save-path edited.png
The edit request uses the official defaults n=1, size=auto, watermark=false, prompt_extend=true, and response_format=url.
sn-image-recognize
Image recognition tool that uses VLM (Vision Language Model) to analyze image content. Supports multiple image inputs.
--images and --user-prompt (or --user-prompt-path) are required. All other parameters use three-level defaults (CLI > env var > built-in default):
| Parameter | Type | Built-in Default | Env Var | Description |
|---|---|---|---|---|
--api-key |
string | No hardcoded default | SN_VISION_API_KEY -> SN_CHAT_API_KEY -> SN_API_KEY |
Chat runtime API key; raises MissingApiKeyError when all are unset |
--base-url |
string | SN_CHAT_BASE_URL default |
SN_VISION_BASE_URL -> SN_CHAT_BASE_URL -> SN_BASE_URL |
Vision provider base URL; falls back to shared chat/global provider |
--model |
string | sensenova-6.8-flash-lite |
SN_VISION_MODEL -> SN_CHAT_MODEL |
Vision-capable model name |
--vlm-type |
string | openai-completions |
SN_VISION_TYPE -> SN_CHAT_TYPE |
Chat protocol type override |
--user-prompt-path |
string | None |
- | Local file path, mutually exclusive with --user-prompt |
--system-prompt-path |
string | None |
- | Local file path, mutually exclusive with --system-prompt |
Available values for --vlm-type:
openai-completions: OpenAI-compatible/v1/chat/completionsinterfaceanthropic-messages: Anthropic Messages/v1/messagesinterface
sn-text-optimize
Text optimization tool that uses LLM (Language Model) to optimize text content. Does not accept image inputs.
--user-prompt (or --user-prompt-path) is required. All other parameters use three-level defaults (CLI > env var > built-in default):
| Parameter | Type | Built-in Default | Env Var | Description | |------|------|---------
FAQ
Can I use it directly?
It is meant for other skills, so most people use it through those skills.
Does it change my inputs first?
No. It calls the services and returns results without preprocessing the inputs.
Which image sizes are available?
Common aspect ratios such as 1:1, 16:9 and 9:16 are supported, and 2k is the recommended size.
Details
Original description by the author
Base-layer skill for the SenseNova-Skills project, providing low-level APIs for image generation, recognition (VLM), and text optimization (LLM). This skill does not preprocess inputs; it only calls backend services and returns results. This skill is not user-facing and is intended for upper-layer skills only.
Popularity
- GitHub stars
- 6.0k
- Ranking position
- #14459
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
sn-code-video
6.0kTeaches your agent to make code-driven videos with Canvas, SVG, Three.js or Remotion, checked frame by frame and exported as MP4.
sn-image-doctor
6.0kChecks that your SenseNova-Skills setup is installed, has its Python packages and has the API keys it needs, then saves missing keys to a file.
sn-image-imitate
6.0kHelps your agent create a new image that copies a reference picture's style while changing its content to match your request.
sn-image-resume
6.0kHelps your agent turn your resume text into a designed portfolio-style resume image, with optional style choices.
Similar skills
gifgrep
394kLets your agent search GIF libraries, preview results, download a GIF, and pull out a still frame or a contact sheet of frames.
meme-maker
394kLets your agent pick a meme template, add your own captions, and create the meme as an SVG or PNG image.
ios-icon-gen
280kLets your agent generate icons for iOS apps. It uses Apple symbols or icons from other sources to create the correct files.