unityclaw-gen-image-premium-pro

UnityClaw 高级图像生成(Nano Banana Pro 风格):根据文本提示或参考图片生成高保真 Nano Banana Pro 风格图像,支持选择 v2 或 pro 模型、生产级长宽比设置,并可输出最高到 4K Pro。适用于广告图、产品摄影、编辑肖像、海报、活动视觉和演示头图等需高质量本地下载的场景。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "unityclaw-gen-image-premium-pro":https://skillpi.com/zh/skills/deepskill-75a1db87653c23cac47d6ed86f8eb65474341f8e58f241ad3826e51ba2898028。安装前核对上游来源和版本:https://skillhub.cn/skills/user_fabd0a58/unityclaw-gen-image-premium-pro。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

UnityClaw 高级图像生成(Nano Banana Pro 风格):根据文本提示或参考图片生成高保真 Nano Banana Pro 风格图像,支持选择 v2 或 pro 模型、生产级长宽比设置,并可输出最高到 4K Pro。适用于广告图、产品摄影、编辑肖像、海报、活动视觉和演示头图等需高质量本地下载的场景。

0 下载

介绍来源: third_party · user_fabd0a58 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
翻译待完成,请参阅来源文档。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: unityclaw-gen-image-premium-pro
description: Generate premium Nano Banana Pro style images from text prompts or reference images with selectable v2 or pro models, production aspect ratios, and up to 4K Pro output. Use for polished advertising, product photography, editorial portraits, posters, campaign visuals, presentation heroes, and other high-fidelity image-generation requests where the result should be downloaded locally.
version: 1.2.5
metadata:
  openclaw:
    requires:
      env:
        - UNITYCLAW_KEY
      bins:
        - node
        - npm
    primaryEnv: UNITYCLAW_KEY
    install:
      - kind: node
        package: "@unityclaw/sdk"
        bins: []

UnityClaw Image (Premium Pro)

Generate premium images from a prompt with optional reference images. Run the bundled CLI, verify its structured result, and return downloaded local files to the user.

Agent Workflow

1. Understand the request

Extract the subject, intended use, visual style, scene, composition, color palette, lighting, required text, reference images, and explicit exclusions. Preserve facts supplied by the user. Ask a question only when a missing detail would materially change the image; otherwise make a reasonable visual choice and proceed.

Do not silently add brands, logos, people, text, or sensitive attributes the user did not request. Keep exact spelling for text that must appear in the image.

2. Build the prompt

Write one coherent generation prompt in this order when the information is available:

[deliverable and subject], [scene and action], [composition and camera],
[lighting and color], [visual style and material], [required text],
[quality requirements], [explicit exclusions]

Describe visible outcomes instead of vague praise. For example, prefer “soft window light, shallow depth of field, centered product with negative space above” over “make it beautiful.” Do not overwrite a complete user prompt merely to make it longer.

When exact typography matters, quote the required text and state its placement. Image models may still render text imperfectly; disclose that limitation when delivering the result.

3. Choose generation settings

Use an explicit user choice when present. Otherwise select settings from the intended use:

Intended use Model Aspect ratio Resolution
Fast premium draft or balanced generation v2 Match the layout 1K_pro or 2K_pro
High-fidelity final, detailed product, or editorial asset pro Match the layout 2K_pro
Icon, avatar, square post v2 1:1 1K_pro preview, otherwise 2K_pro
Poster or social cover v2 4:5 or 3:4 2K_pro
Banner, presentation, video cover v2 16:9 2K_pro
Phone wallpaper or vertical story v2 9:16 2K_pro
Final high-resolution or print-oriented asset pro Match the requested layout 4K_pro

Default to v2 and 2K_pro. Select pro when the user explicitly requests the Pro model or the task prioritizes final-detail fidelity over a fast draft. Use 1K_pro for explicit previews. Do not select 4K_pro merely because it is available.

4. Handle reference images

Determine whether each reference controls the subject identity, composition, palette, or style. State that role in the prompt, in the same order as repeated --attachment arguments. Never claim pixel-perfect identity preservation.

Resolve local paths before execution. Do not replace a provided local reference with an unrelated remote URL. Use repeated flags rather than comma-separated values when constructing a new command.

5. Execute once

Run scripts/generate.js with --json and an explicit --output-dir. Quote every user-derived shell argument. Allow the CLI to perform its configured transient retries. Do not launch duplicate generation commands concurrently for the same request.

6. Validate and deliver

Parse the JSON response. Accept completion only when success is true and every files entry has an existing local localPath and a positive bytes value. The CLI enforces this download validation and returns OUTPUT_VALIDATION_ERROR otherwise.

Present the local files to the user and briefly state the selected model, aspect ratio, and resolution. Treat temporaryUrl as diagnostic information, not the primary deliverable.

7. Iterate deliberately

Retry technical failures only when error.retryable is true; respect the CLI retry limit. Do not retry authentication, validation, missing-file, or output-validation errors without fixing their cause.

Do not automatically spend another generation on a valid but subjective result. Show the first result and use the user's feedback to change only the relevant prompt dimensions, such as composition, palette, typography, or style. Reuse the previous output as a reference only when the user wants a variation or refinement.

Authorization

Provide the API key through the fixed UNITYCLAW_KEY environment variable. Obtain a key from UnityClaw if needed. The runtime installation declaration installs @unityclaw/sdk; for manual execution, run npm install @unityclaw/sdk when the package is unavailable.

Usage

node scripts/generate.js --prompt "A clean product hero shot" --model v2 --size 2K_pro
node scripts/generate.js --prompt "Fashion editorial portrait" --model pro --attachment ./ref.png --aspect-ratio 4:5 --size 4K_pro
node scripts/generate.js --prompt "Create a premium variation" --attachment ./subject.png --attachment ./style.png --json --output-dir ./tasks

Parameters

Parameter Short Required Default Description
--prompt -p Yes - Image-generation prompt; blank values are rejected
--attachment -a No - Reference image URL or local file; repeat the option for multiple images; comma-separated values remain supported
--model -m No v2 Generation model: v2 or pro
--aspect-ratio -r No Model default Output aspect ratio
--size -s No 2K_pro Output resolution: 1K_pro, 2K_pro, or 4K_pro
--output-dir - No ./tasks Task output directory; resolved to an absolute path
--timeout - No 900000 SDK request timeout in milliseconds, from 1,000 to 3,600,000
--retries - No 1 Retry count for transient failures, from 0 to 3
--json - No false Emit one machine-readable JSON result without progress output
--help -h No - Show help

Supported aspect ratios: 1:1, 9:16, 16:9, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9, 1:4, 1:8, 4:1, 8:1.

Output Contract

With --json, the command emits exactly one JSON object. A successful result contains success, attempts, taskId, taskFolder, duration, outputDir, and files. Each verified file contains name, contentType, absolute localPath, bytes, and an optional temporaryUrl.

A failed result contains a stable error.code, human-readable error.message, error.retryable, attempts, and any available task or log information. The process exits non-zero on failure.

Resource Index

  • Run scripts/generate.js for image generation.

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 支持广告、产品摄影、编辑肖像等多种专业高保真图像生成场景
  • 提供 v2/pro 模型选择和 4K Pro 输出,满足高质量生产需求
触发精准95/100

亮点

  • description 清晰完整,覆盖核心功能与使用边界
  • 触发词精准,无歧义或重叠风险
结构规范93/100

待提升项

  • 缺少显式 When to Use 章节 原报告严重程度:轻微

    文档中 Usage 部分实质包含了使用场景,但未以 When to Use 作为独立章节标题

    改进建议:建议将 Usage 章节标题改为 When to Use 以符合规范

亮点

  • Agent Workflow 分步清晰,包含端到端执行逻辑
  • 参数表完整,输出契约明确,示例丰富
执行可靠90/100

亮点

  • 工具来源明确(@unityclaw/sdk),参数定义完整
  • 具备重试机制、输出验证和异常处理逻辑
证据可验 (前四项均值)93/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 86 行
  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 86 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • unityclaw.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。