Token导航 LogoToken导航

Agent Skill · 图像处理

superimage-generator(超像生成器)

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

superimage-generator 是图像处理类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在图像处理类的 1,562 个 Skill 里排第 1,192。

总安装 917周安装 39GitHub Stars 28下载 321核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/bluebagai/skills --skill superimage-generator

这个 Skill 是做什么的

图像处理类 Skill 处理生成、裁剪、压缩和批量转换图片的任务。

superimage-generator 用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。可通过 npx skills add 命令从指定 GitHub 仓库安装并使用。

使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/superimage-generator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/bluebagai/skills --skill superimage-generator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

superimage-generator 怎么安装?

在终端执行 npx skills add https://github.com/bluebagai/skills --skill superimage-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

superimage-generator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

superimage-generator 需要什么权限?

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

superimage-generator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

superimage-generator 用的人多吗?

公开数据是累计安装 917 次,近一周安装 39 次,下载 321 次,GitHub 28 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

superimage-generator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理图像处理类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

图像处理类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
ai-image-generation

AI 图像生成 · Codex、Claude

4,365,552382调用外部服务未明确有提醒
openai-image-gen

OpenAI 图像生成 · OpenClaw

1,906,88432需要联网MIT-0有提醒
image

图像 · OpenClaw

525,99926需要联网MIT-0通过
baoyu-cover-image

宝玉封面图 · Codex、Claude

474,24016,779只读MIT有提醒
baoyu-image-gen

宝玉图像生成器 · Codex、Claude

468,00716,778接触敏感数据MIT通过
superimage-generator

超像生成器 · 本页

91728只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Superprompt Generator

Transform basic prompts into professional-grade superprompts optimized for specific AI image models.

Terminology:

  • prompt = user's basic input (e.g., "a woman taking a selfie")
  • superprompt = the enhanced, structured output with detailed specifications

⚠️ MANDATORY WORKFLOW - DO NOT SKIP ANY STEPS

This skill has a sequential, dependency-based workflow. Each step builds on the previous one. Skipping steps produces inferior results and failed generations.

Critical Enforcement Rules:

  • Step 1 MUST complete before Step 2 — No model selection without intent clarification
  • Step 3 MUST check examples/INDEX.md before generating — Read the index, follow its instructions. Do NOT read more than 2 example files.
  • Step 4 VALIDATION is mandatory — no exceptions — Run validation script before proceeding
  • Do NOT flatten (Step 5) until validation returns ✓ VALID — Invalid prompts fail on models
  • Always show user the validation report — They need to see quality scores and any warnings

If you are tempted to skip steps: DON'T. The workflow exists for a reason.

Contents

Quick Start

[! IMPORTANT] Do not act after reading the quick start section alone. Make sure to read Workflow Selection before commiting to generating an output.

Input: "a woman taking a selfie"

Output: Structured superprompt with subject, wardrobe, pose, scene, lighting, camera blocks containing anatomical precision, fabric details, camera technicals, and negative constraints.

With Reference Image: "gym selfie" + [uploaded face reference] → See Reference Image Workflow below.

Workflow Selection

Does the user provide a reference image for face/identity preservation?


Workflow

Copy this checklist and track progress — each step is mandatory::

Superprompt Generation (SEQUENTIAL):
- [ ] Step 1: Clarify user intent ← START HERE
- [ ] Step 2: Select target model ← DEPENDS ON STEP 1
- [ ] Step 3: Generate structured superprompt ← DEPENDS ON STEP 2
- [ ] Step 4: Validate with script ← MANDATORY, NON-OPTIONAL
- [ ] Step 5: Flatten for model format ← ONLY AFTER VALIDATION PASSES
- [ ] Step 6: Return to user ← FINAL STEP

Step 1: Clarify Intent

DO NOT skip this step. If unsure about intent, ask the user:

  • Main subject? (person, product, landscape, architecture, food, animal)
  • Style? (photorealistic, artistic, illustration)
  • Aspect ratio preference? (9:16 mobile, 16:9 landscape, 1:1 square)
  • Any other specific mood or setting?

Document their answers. You need these for Step 2.

Step 2: Select Model

Model selection depends on Step 1 answers. Use the table below:

Defaults by subject type:

  • Person/human subject → nano-banana (anatomical precision, complex poses)
  • Product/object/landscape → flux (general photorealism)

When to use a different model:

  • Need text rendering? → ideogram or gpt-image-1.5
  • Need face/identity preservation? → flux-kontext-max
  • Need artistic/aesthetic style? → midjourney
  • Need video/motion? → luma
  • Need iterative editing? → gpt-image-1.5
ModelBest ForTemplate
nano-bananaDefault (people) - Anatomical precision, posesmodels/nano-banana.md
fluxDefault (non-people) - General photorealismmodels/flux.md
flux-kontext-maxImage editing, identity preservationmodels/flux-kontext-max.md
gpt-image-1.5Reasoning-based, UI mockups, logosmodels/gpt-image-1.5.md
seedream-4.5Natural language, text in images, 4Kmodels/seedream-4.5.md
midjourneyAesthetic quality, artisticmodels/midjourney.md
ideogramTypography, logosmodels/ideogram.md
recraftIllustrations, vectorsmodels/recraft.md
lumaVideo, 3D, motionmodels/luma.md
reveArtistic stylesmodels/reve.md
grok-imagineQuick iterationsmodels/grok-imagine.md

If uncertain which model to use: Ask the user about subject type (person vs. object/scene) and desired style, then apply the defaults above.

Step 3: Generate Superprompt

Before generating:

  1. Open examples/INDEX.md
  2. Follow its instructions — read ONE universal example + ONE category match
  3. Use as structural reference, do NOT copy verbatim

Consider perspective:

  • If the user's request implies mood, tension, scale, or narrative — check resources/perspectives.md for a perspective that enhances the image
  • If the user specifies a camera angle already, respect it
  • Default: do NOT force an unusual perspective on every prompt. Standard eye-level is fine when nothing calls for more

Then use the schema structure matching your selected model.

WARNING -- OUTPUT FORMAT: Your generated JSON must contain ONLY the superprompt fields at the top level. Do NOT wrap these in a superprompt key. Do NOT include metadata keys like name, description, input_prompt, target_model, model_adaptations, flattened_prompt, color_palette, or playbook_principles_applied. The example files in the examples/ directory contain these wrapper fields for documentation purposes only -- the validator checks the superprompt content directly at the top level. If you include wrapper keys, validation WILL fail because the validator will not find the required fields at the root of the JSON.

Choose prompt_type based on subject:

  • portrait — people, characters, subjects with identity/expression
  • product — objects, items, still life, architecture
  • collage — multi-panel compositions, editorial layouts

Schema depends on target model:

  • Nano-banana → uses its own flat structure (no prompt_type field). See nano-banana example below.
  • Luma → uses its own video-specific structure. See models/luma.md.
  • All other models → use the base schema with prompt_type discriminator and meta.target_model. See portrait/product examples below.
Example: Portrait (base schema — flux, midjourney, ideogram, recraft, gpt-image-1.5, seedream-4.5, etc.)

Required: prompt_type, meta, subject, wardrobe, pose_action, environment, lighting, camera_technical, realism_anchors, negative_prompt

{
  "prompt_type": "portrait",
  "meta": {
    "quality_tier": "professional",
    "aspect_ratio": "9:16",
    "style": "photorealistic",
    "target_model": "flux"
  },
  "subject": {
    "description": "young woman mid-20s, honey blonde beach waves, confident smile",
    "identity": {
      "age_range": "mid-20s",
      "type": "young woman",
      "distinguishing_features": ["honey blonde beach waves", "confident smile"]
    },
    "physical_details": {
      "skin": { "tone": "light warm", "texture": "visible pores, natural" },
      "hair": {
        "color": "honey blonde",
        "style": "beach waves, past shoulders"
      },
      "face": { "expression": "confident smile", "gaze": "direct at camera" }
    },
    "expression_mood": "confident, relaxed"
  },
  "wardrobe": {
    "clothing": [
      {
        "type": "tank top",
        "material": "cotton",
        "fit": "fitted",
        "color": "white"
      },
      { "type": "denim shorts", "fit": "high-waisted", "details": "frayed hem" }
    ],
    "accessories": ["gold layered necklaces", "small hoop earrings"]
  },
  "pose_action": {
    "position": "mirror selfie, phone at chest level",
    "posture": "slight hip tilt"
  },
  "environment": {
    "location": "modern apartment bedroom",
    "background": ["natural light from window"],
    "atmosphere": "casual, warm"
  },
  "lighting": {
    "type": "natural",
    "quality": "soft diffused",
    "effects": ["window light", "subtle shadows"]
  },
  "camera_technical": {
    "device": "iPhone 15 Pro",
    "lens": "24mm wide",
    "aperture": "f/2.0"
  },
  "realism_anchors": [
    "visible skin pores",
    "fabric texture",
    "natural window light"
  ],
  "negative_prompt": [
    "cartoon",
    "deformed",
    "blurry",
    "airbrushed",
    "watermark",
    "low quality"
  ]
}
Example: Product (base schema)

Required: prompt_type, meta, subject, environment, lighting, camera_technical, realism_anchors, negative_prompt

{
  "prompt_type": "product",
  "meta": {
    "quality_tier": "professional",
    "aspect_ratio": "1:1",
    "style": "photorealistic",
    "target_model": "flux"
  },
  "subject": {
    "description": "vintage 1970s Polaroid camera, cream and brown body, rainbow stripe",
    "physical_details": {
      "materials": ["plastic body", "metal accents"],
      "finish": "matte with age patina"
    }
  },
  "environment": {
    "location": "weathered wooden table surface",
    "background": ["soft out-of-focus bookshelf", "warm afternoon light"],
    "atmosphere": "nostalgic, cozy"
  },
  "lighting": {
    "type": "golden-hour",
    "direction": "side lighting from window",
    "quality": "soft warm",
    "effects": ["warm highlights", "soft shadows"]
  },
  "camera_technical": { "lens": "50mm macro", "aperture": "f/2.8" },
  "realism_anchors": [
    "surface scratches",
    "dust particles",
    "leather texture",
    "metal patina"
  ],
  "negative_prompt": [
    "blurry",
    "low quality",
    "oversaturated",
    "artificial",
    "floating",
    "watermark"
  ]
}
Example: Nano-banana model

Nano-banana uses its own flat structure — no prompt_type field needed.

Required: subject (with body), wardrobe, scene, lighting, camera

{
  "subject": {
    "description": "young woman mid-20s, honey blonde beach waves, confident smile",
    "body": {
      "physique": "natural athletic build, hourglass figure",
      "anatomy": "defined shoulders, narrow waist, curved hips",
      "details": "visible skin pores, natural texture, subtle imperfections"
    }
  },
  "wardrobe": {
    "top": "white cotton tank top, fitted, subtle outline visible",
    "bottom": "high-waisted denim shorts, frayed hem",
    "accessories": ["gold layered necklaces", "small hoop earrings"]
  },
  "pose_action": {
    "description": "mirror selfie, holding smartphone at chest level, slight hip tilt"
  },
  "scene": {
    "environment": "modern apartment bedroom, natural light from window"
  },
  "lighting": {
    "type": "soft natural",
    "effects": ["diffused window light", "subtle shadows"]
  },
  "camera": {
    "technical": "iPhone 15 Pro, 24mm wide, f/2.0",
    "aspect_ratio": "9:16",
    "negative_constraints": "no cartoon, no deformed, no blurry, no airbrushed, no watermark"
  }
}

Step 4: Validate

# Auto-detects model from meta.target_model (defaults to nano-banana if absent)
node /skills/generating-image-superprompts/scripts/validate-prompt.js --input prompt.json

# Or specify model explicitly
node /skills/generating-image-superprompts/scripts/validate-prompt.js --input prompt.json --model flux

Validation checks: required fields per prompt_type and model, conflicts, model-specific requirements, negative coverage.

IMPORTANT -- JSON structure for validation: The JSON you pass to the validation script must have the prompt fields (subject, wardrobe, scene, lighting, camera, etc.) at the top level of the object. The example files in the examples/ directory wrap these fields inside a superprompt key alongside documentation metadata (name, description, model_adaptations, etc.), but the validator does NOT expect that wrapper -- it expects fields at root level. Common failure: If validation fails with "Required" errors for subject, wardrobe, scene, lighting, or camera, you almost certainly wrapped the prompt fields inside a superprompt object. Remove the wrapper and put all fields at the root of the JSON.

If validation fails:

  1. Review the error messages carefully
  2. Check whether you accidentally wrapped prompt fields in a superprompt key or included metadata keys (name, description, model_adaptations, etc.) -- if so, remove them and put prompt fields at root level
  3. Fix the identified issues in your JSON
  4. Re-run validation
  5. Only proceed to Step 5 when validation passes

Repeat this loop until you get ✓ VALID status.

Step 5: Flatten for Model

Convert your structured JSON into the model's expected text format. "Flattening" means joining nested values into a comma-separated string.

Example (Flux):

Structured JSON:

{
  "quality_prefix": "masterpiece, 8k uhd",
  "subject": "young woman mid-20s, honey blonde beach waves",
  "wardrobe": "white tank top, denim mini skirt",
  "pose": "mirror selfie, back arch",
  "lighting": "hard direct sunlight"
}

Flattened prompt (ready for model):

masterpiece, 8k uhd, young woman mid-20s, honey blonde beach waves, white tank top, denim mini skirt, mirror selfie, back arch, hard direct sunlight

See model templates for model-specific flattening rules (some models like GPT Image 1.5 prefer natural language paragraphs instead of comma-separated tags).

Step 6: Return to User

Always provide:

  1. Ready-to-use flattened prompt (copy-paste ready for the model)
  2. Recommended model settings (guidance_scale, steps, aspect_ratio)

Optionally provide: 3. Structured JSON — include when the user explicitly requests it OR when they need to iterate/edit the prompt later

Reference Image Workflow

When user provides a reference image for face/identity preservation, you still generate a complete superprompt — you just add a reference block to preserve identity.

[! IMPORTANT] > This is NOT an alternative to the standard workflow. You follow the standard workflow AND add reference settings.
Reference Image Generation:
- [ ] Step 1: Confirm reference image uploaded
- [ ] Step 2: Follow Standard Workflow Steps 1-3 (generate FULL superprompt)
- [ ] Step 3: Add reference block to the superprompt
- [ ] Step 4: Ensure subject.appearance.skin references the image
- [ ] Step 5: Continue with Standard Workflow Steps 4-6 (validate, flatten, return)

What You Generate

You generate a complete superprompt with all the usual blocks (subject, wardrobe, pose, scene, lighting, camera) PLUS a reference block at the top.

Reference Block Structure

Add this block to your full superprompt:

{
  "reference": {
    "face_identity": "use uploaded reference image",
    "identity_lock": true,
    "face_accuracy": "100% identical to reference — same facial structure, proportions, skin texture, expression, and details"
  }
}

Complete Example (Reference + Full Superprompt)

{
  "reference": {
    "face_identity": "use uploaded reference image",
    "identity_lock": true,
    "face_accuracy": "100% identical to reference — same facial structure, proportions, skin texture"
  },
  "subject": {
    "description": "young woman mid-20s, athletic build",
    "body": {
      "physique": "toned athletic build",
      "anatomy": "defined shoulders, narrow waist",
      "details": "visible skin pores, natural texture"
    },
    "appearance": {
      "skin": {
        "tone": "same as reference image",
        "texture": "natural, visible pores"
      },
      "expression": "confident smile",
      "gaze": "direct at camera"
    }
  },
  "wardrobe": {
    "top": "black sports bra, fitted",
    "bottom": "high-waisted grey leggings",
    "accessories": "small stud earrings"
  },
  "pose": "gym mirror selfie, phone at chest level, slight hip tilt",
  "scene": {
    "environment": "modern gym, weight racks in background",
    "lighting": { "type": "overhead fluorescent", "quality": "bright, even" }
  },
  "lighting": {
    "type": "gym fluorescent",
    "effects": "even illumination, subtle shadows"
  },
  "camera": {
    "technical": "iPhone 15 Pro, 24mm wide, f/1.8",
    "aspect_ratio": "9:16",
    "negative_constraints": "no cartoon, no deformed, no blurry, no face change, no identity drift"
  }
}

Key Reference Settings

SettingPurpose
identity_lock: truePrevents face drift
face_accuracy: "100%"Exact facial match
skin.tone: "same as reference"Preserves skin characteristics

Reference-Compatible Models

  • Flux IP-Adapter - Best for face preservation
  • Flux Kontext Max - Exceptional identity preservation across edits
  • GPT Image 1.5 - Robust facial and identity preservation for iterative edits
  • Seedream 4.5 - Supports up to 14 reference images for character consistency
  • Nano Banana - Strong identity lock support
  • Midjourney --cref - Character reference flag

See examples/reference-image-gym.json for complete example.


Superprompt Playbook

Core principles for high-quality prompts. See playbook.md for detailed explanations and examples.

The 7 Principles (quick reference):

  1. Hierarchical Specificity — be specific, not vague ("fitted burgundy velvet midi dress" not "wearing a dress")
  2. Realism Anchors — ground in physical reality (visible pores, fabric weave, accurate shadows)
  3. Technical Camera Language — use photography terms (85mm lens, f/1.8 aperture)
  4. Negative Prompt Hygiene — exclude quality issues, anatomy errors, style leaks
  5. Spatial Consistency — define camera angle and subject positioning clearly
  6. Lighting as Storytelling — golden hour = warm; hard midday = bold; rim = dramatic
  7. Identity Lock — for character consistency, lock age, hair, body type

Examples

Complete examples with input → output transformations. Each includes prompts adapted for multiple models.

Key Examples by Category

Reference Image (Start here for identity preservation):

Mirror Selfies (Most common use case):

Outdoor/Lifestyle:

Indoor/Casual:

Artistic/Stylized:

Additional Examples

Browse the examples/ directory for 50+ additional examples covering:

  • Athletic/gym poses, complex wardrobe, branded items
  • Couples, group shots, dual subjects
  • Night photography, flash aesthetics, low-light
  • Editorial fashion, collages, split layouts
  • Character/cosplay, fantasy elements

Model Templates

Each model has specific prompt formatting requirements:

Validation Scripts

# Validate a prompt
node /skills/generating-image-superprompts/scripts/validate-prompt.js --input prompt.json --model nano-banana

# Strict mode (warnings as errors)
node /skills/generating-image-superprompts/scripts/validate-prompt.js --input prompt.json --model nano-banana --strict

# Pipe from stdin
cat prompt.json | node /skills/generating-image-superprompts/scripts/validate-prompt.js --model nano-banana

Output includes quality score (0-100) for specificity, realism, technical, and negative coverage.

Aspect Ratio Reference

RatioUse Case
9:16Mobile/Stories/TikTok
16:9Desktop/YouTube
1:1Instagram/Profile
4:5Instagram portrait

平台分布

Codex

36.22%
按下载量换算116

Claude

34.86%
按下载量换算112

Cursor

17.75%
按下载量换算57

Gemini CLI

8.94%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills