当前位置: 首页 > Skill >

AI 旗舰图片大师

AI 旗舰图片大师

AI 旗舰图片大师

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.

1.0.0 2026.11.27 226
获取Skill文件查看使用说明
作 者:叶澄 许可证: 更新时间:2026.11.27
本文目录展开

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.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,018
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,013
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,013
Skill 文件
  • SKILL.md
    • UnityClaw Image (Premium Pro)
    • Agent Workflow
      • 1. Understand the request
      • 2. Build the prompt
      • 3. Choose generation settings
      • 4. Handle reference images
      • 5. Execute once
      • 6. Validate and deliver
      • 7. Iterate deliberately
    • Authorization
    • Usage
    • Parameters
    • Output Contract
    • Resource Index
  • 项目或源文件

相关 Skill

更多
Product Photography Product Photography AI产品摄影,涵盖工作室灯光、生活场景拍摄及包装图规范,包括拍摄角度、背景、阴影类型、主图和电商应用等
nano-banana-pro-openrouter nano-banana-pro-openrouter 使用 Nano Banana Pro(Gemini 3 Pro Image)通过 OpenRouter 生成/编辑图像,适用于图像创建、修改及编辑请求,支持文本生成图像和图像生成图像。
Nano Banana Image Creator Nano Banana Image Creator 使用 Nano Banana Pro API 通过文本提示词生成或编辑图片,支持从草稿到最终分辨率 1K/2K/4K,以及输入图片编辑。
Nano Banana Pro via cheaper grsai.com Nano Banana Pro via cheaper grsai.com 通过 grsai.com API 使用 Nano Banana Pro 生成/编辑图像,适用于图片创建和修改请求,支持文字到图像、图像到图像,可输出 1K/2K 等分辨率。
Poster Maker Poster Maker AI海报大师,提供风格复刻、创意生成、直播预告三种模式,含原图还原方法及生成脚本,支持Nano Banana Pro与Ofox/OpenRouter。