Token导航 LogoToken导航TokenDH.com
图像处理只读github未标认证来源可访问许可证需确认审计异常

nano-image-generator纳米图像生成器

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

1,697

周安装

70

GitHub Stars

123

下载量

554
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nano-image-generator(纳米图像生成器)
来源仓库:https://github.com/lxfater/nano-image-generator-skill
仓库路径:skills/nano-image-generator
安装命令:
npx skills add https://github.com/lxfater/nano-image-generator-skill --skill nano-image-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lxfater/nano-image-generator-skill --skill nano-image-generator

简介

nano-image-generator 用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。

  • 适合让 Agent 根据文本生成图片、处理背景或整理视觉提示词。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 使用时需确认输入图片、版权来源、输出格式和模型限制。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Nano Image Generator

Generate images using Nano Banana Pro (Gemini 3 Pro Preview) for any visual asset needs. Supports reference images for style transfer and character consistency.

Quick Start

# Basic generation
python scripts/generate_image.py "A friendly robot mascot waving" --output ./mascot.png

# With style reference (keep same visual style)
python scripts/generate_image.py "Same style, new content" --ref ./reference.jpg --output ./new.png

Script Usage

python scripts/generate_image.py <prompt> --output <path> [options]

Required:

  • prompt - Image description
  • --output, -o - Output file path

Options:

  • --aspect, -a - Aspect ratio (default: 1:1)

- Square: 1:1 - Portrait: 2:3, 3:4, 4:5, 9:16 - Landscape: 3:2, 4:3, 5:4, 16:9, 21:9

  • --size, -s - Resolution: 1K, 2K (default), 4K
  • --ref, -r - Reference image (can use multiple times, max 14)

Reference Images

Gemini supports up to 14 reference images for:

Style Transfer

Keep the visual style (colors, textures, mood) from a reference:

python scripts/generate_image.py "New scene with mountains, same visual style as reference" \
  --ref ./style-reference.jpg --output ./styled-mountains.png

Character Consistency

Maintain character appearance across multiple images:

python scripts/generate_image.py "Same character now in a forest setting" \
  --ref ./character.png --output ./character-forest.png

Multi-Image Fusion

Combine elements from multiple references:

python scripts/generate_image.py "Combine the style of first image with subject of second" \
  --ref ./style.png --ref ./subject.png --output ./combined.png

Serial Image Generation (Batch Workflow)

For generating a series with consistent style:

  1. Generate first image
  2. Use first image as --ref for subsequent images
  3. Each new image inherits the established style
# Generate cover
python scripts/generate_image.py "Tech knowledge card cover" -o ./01-cover.png

# Generate subsequent cards with style reference
python scripts/generate_image.py "Card 2 content, same style" --ref ./01-cover.png -o ./02-card.png
python scripts/generate_image.py "Card 3 content, same style" --ref ./01-cover.png -o ./03-card.png

Workflow

  1. Determine output location - Place images where contextually appropriate:

- App icons → ./assets/icons/ - Marketing → ./marketing/ - UI elements → ./src/assets/ - General → ./generated/

  1. Craft effective prompts - Be specific and descriptive:

- Include style: "flat design", "3D rendered", "watercolor", "minimalist" - Include context: "for a mobile app", "website hero image" - Include details: colors, mood, composition - For references: mention "same style as reference" or "keep the visual style"

  1. Choose appropriate settings:

- Icons/logos → --aspect 1:1 - Banners/headers → --aspect 16:9 or 21:9 - Mobile screens → --aspect 9:16 - Xiaohongshu cards → --aspect 3:4 - Photos → --aspect 3:2 or 4:3

Examples

App icon:

python scripts/generate_image.py "Minimalist flat design app icon of a lightning bolt, purple gradient background, modern iOS style" \
  --output ./assets/app-icon.png --aspect 1:1

Marketing banner:

python scripts/generate_image.py "Professional website hero banner for a productivity app, abstract geometric shapes, blue and white color scheme" \
  --output ./public/images/hero-banner.png --aspect 16:9

Xiaohongshu knowledge card:

python scripts/generate_image.py "Tech knowledge card, dark blue purple gradient, neon cyan accents, code block style, Chinese text '标题'" \
  --output ./xiaohongshu/card.png --aspect 3:4

Style transfer:

python scripts/generate_image.py "Transform this photo into watercolor painting style" \
  --ref ./photo.jpg --output ./watercolor.png

Character in new scene:

python scripts/generate_image.py "Same character from reference, now sitting in a cafe, warm lighting" \
  --ref ./character.png --output ./character-cafe.png --aspect 3:2

Prompt Tips

  • Be specific - "A red apple on a wooden table" vs "an apple"
  • Include style - "in the style of pixel art" or "photorealistic"
  • Mention purpose - "for a children's book" affects the output style
  • Describe composition - "centered", "rule of thirds", "close-up"
  • Specify colors - Explicit color palettes yield better results
  • Reference prompts - Use "same style as reference", "keep the visual aesthetic", "match the color palette"
  • Avoid - Don't ask for complex text in images (use overlays instead)

Limitations

  • Maximum 14 reference images per request
  • Text rendering may be imperfect (better to overlay text separately)
  • Very specific brand logos may not reproduce exactly

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.05%
按下载量换算178

Claude

31.62%
按下载量换算175

Cursor

19.37%
按下载量换算107

Gemini CLI

8.14%
按下载量换算45

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills