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

superimage-generator超像生成器

Agent Skill

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

总安装

917

周安装

39

GitHub Stars

28

下载量

321
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

简介

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

  • 它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。
  • 可通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

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 subjectnano-banana (anatomical precision, complex poses)
  • Product/object/landscapeflux (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

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

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