sn-image-base
하는 일
이것은 다른 SenseNova 스킬이 호출하는 기본 구성 스킬입니다. 이미지를 만들고, 사진 내용을 읽고, 텍스트를 개선하는 일을 맡습니다. 일반 사용자보다는 개발자와 다른 스킬을 위한 것입니다.
사용하는 경우
- ✓다른 SenseNova 이미지 스킬이 그림을 만들거나 편집해야 할 때.
- ✓스킬이 이미지 속 내용을 인식해야 할 때.
- ✓스킬이 LLM으로 텍스트를 다시 쓰거나 최적화해야 할 때.
스킬 링크
https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-image-base/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“SenseNova 이미지 도구로 해질 무렵의 조용한 도서관을 담은 16:9 이미지를 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 도구는 요청을 SenseNova의 이미지 또는 언어 서비스에 보내고, 입력을 먼저 바꾸지 않은 채 결과를 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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 | |------|------|---------
자주 묻는 질문
직접 사용할 수 있나요?
다른 스킬을 위한 것이므로, 대부분의 사람은 그 스킬들을 통해 사용합니다.
입력을 먼저 바꾸나요?
아니요. 서비스를 호출해 입력을 미리 가공하지 않고 결과를 돌려줍니다.
어떤 이미지 크기를 쓸 수 있나요?
1:1, 16:9, 9:16 같은 일반적인 화면 비율을 지원하며, 2k 크기를 권장합니다.
상세 정보
작성자의 원본 설명
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.
인기도
- GitHub 스타
- 6.0k
- 순위
- #14459
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
sn-code-video
6.0k에이전트가 Canvas, SVG, Three.js 또는 Remotion으로 코드 기반 영상을 만들고 MP4로 내보내도록 가르칩니다.
sn-image-doctor
6.0kSenseNova-Skills 설치, Python 패키지, API 키를 확인하고, 빠진 키는 파일에 저장합니다.
sn-image-imitate
6.0k에이전트가 참고 사진의 스타일을 복사하면서 내용은 요청에 맞게 바꾼 새 이미지를 만들도록 돕습니다.
sn-image-resume
6.0k에이전트가 이력서 텍스트를 포트폴리오 스타일의 디자인된 이력서 이미지로 바꾸도록 돕고, 스타일 선택도 반영합니다.