Pular para o conteúdo
Skillpedia
Imagens e ícones6,0 mil · #14459

sn-image-base

O que ela faz

Esta é uma skill-base que outras skills da SenseNova usam para criar imagens, ler o conteúdo de figuras e melhorar textos. É voltada principalmente para desenvolvedores e outras skills, e não para usuários finais.

Quando usar

  • ✓Quando outra skill de imagem da SenseNova precisa gerar ou editar uma figura.
  • ✓Quando uma skill precisa reconhecer o que há em uma imagem.
  • ✓Quando uma skill precisa reescrever ou otimizar um trecho de texto com um LLM.

Link da skill

https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-image-base/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-image-base/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Gere uma imagem 16:9 de uma biblioteca silenciosa ao entardecer usando a ferramenta de imagem da SenseNova.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A ferramenta envia seu pedido aos serviços de imagem ou de linguagem da SenseNova e devolve o resultado, sem alterar a entrada antes.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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/completions interface
  • anthropic-messages: Anthropic Messages /v1/messages interface

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 | |------|------|---------

Perguntas frequentes

Posso usá-la diretamente?

Ela é feita para outras skills, então a maioria das pessoas a usa por meio dessas skills.

Ela altera minhas entradas antes?

Não. Ela chama os serviços e devolve os resultados sem pré-processar as entradas.

Quais tamanhos de imagem estão disponíveis?

Proporções comuns como 1:1, 16:9 e 9:16 são suportadas, e 2k é o tamanho recomendado.

Detalhes

Descrição original do autor

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.

repo: OpenSenseNova/SenseNova-Skills

Popularidade

Estrelas no GitHub
6,0 mil
Posição no ranking
#14459
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas