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

image-creator-external外部图像创建者

Agent Skill

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

总安装

297

周安装

12

GitHub Stars

1

下载量

93
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yige666s/image-creator-external --skill image-creator-external

简介

image-creator-external 用于辅助图像生成、编辑和视觉素材处理。

  • 适合根据文本生成图片或调用图像模型工具。
  • 使用时需确认输入图片、版权来源和输出格式。
  • 涉及人物或品牌素材时,应额外核对授权和合规边界。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Image Creator

Generate images using ShortArt backend API, supporting text-to-image and image-to-image.

Authentication Setup (Required for First Use)

image-creator requires a ShortArt API Key. There are two ways to configure it:

Method 1: OpenClaw Config (Recommended)

Add it to ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "image-creator-external": {
        "env": { "SHORTART_API_KEY": "paste_your_api_key_here" }
      }
    }
  }
}

Method 2: Shell Environment Variable

Add to ~/.zshrc (or ~/.bashrc for bash):

export SHORTART_API_KEY="paste_your_api_key_here"

Then reload: source ~/.zshrc

You can obtain the API Key from the ShortArt console. Note for LLM: When executing scripts, if API key is not found, try running with source ~/.zshrc && python3 scripts/impl.py... to load environment variables from shell config.

Parameter Quick Reference

ParameterOptionsDefault
--modelseedream4.5 \nano-banana-pro \nano-banana-2nano-banana-pro
--count1-41
--resolution1k \2k \4k (nano-banana-2 also supports 0.5k)2k
--aspect-ratio1:1 \16:9 \9:16 \1:1

Execution Method

IMPORTANT: Always prefix commands with source ~/.zshrc && to load environment variables.

Generate images by calling scripts/impl.py:

source ~/.zshrc && python3 scripts/impl.py "<prompt>" \
  --model {ModelName} \
  --count {Count} \
  --resolution {Resolution} \
  --aspect-ratio {AspectRatio}

Image-to-image (with reference image):

# Use existing OSS path
source ~/.zshrc && python3 scripts/impl.py "<prompt>" --image "images/20260121/.../filename.jpg"

# Upload local image
source ~/.zshrc && python3 scripts/impl.py "<prompt>" --upload /path/to/local/image.jpg

Return Result

After generation completes, the script returns:

{
  "status": "success",
  "project_id": "{projectId}",
  "credit": "{credit}",
  "sub_credit": "{subCredit}",
  "consumed_credit": "{consumedCredit}",
  "images": [
    {
      "id": "{imageId}",
      "path": "images/20260314/xxx/filename.jpg",
      "url": "https://file.shortart.ai/images/20260314/xxx/filename.jpg",
      "width": 1024,
      "height": 1024
    }
  ],
  "domain": "https://file.shortart.ai"
}

Workflow

  1. Understand Requirements — Confirm subject, style, dimensions, quantity
  2. Optimize Prompt — Refer to references/prompt-guide.md to expand description
  3. Select Parameters — Choose model / resolution / aspectRatio based on use case
  4. Submit Task — Run scripts/impl.py to submit the generation task: source ~/.zshrc && python3 scripts/impl.py "<prompt>" --model {model} --count {count} This returns immediately with project_id
  5. Ask User to Wait — After task submission, ask user: "Task submitted successfully (project_id: xxx). Do you want to wait for the generation to complete?"
  6. Poll for Completion (if user agrees) — Run polling command: source ~/.zshrc && python3 scripts/impl.py --poll {project_id} --model {model} --count {count} --resolution {resolution}
  7. Handle Result — Based on the result status:

- Success: Ask user if they want to download images - Timeout/Failed: Ask user if they want to retry

  1. Download Images (if user agrees) — Run download command with the full JSON result: source ~/.zshrc && python3 scripts/impl.py --download '{json_result}' Images will be saved to ~/Downloads/ with filenames like shortart_20260315_143022_1.jpg
  2. Inform User — Tell user the local file paths where images were saved

IMPORTANT: Never expose OSS URLs directly to users. Always download images locally first.

Polling Parameters

The script estimates completion time based on:

  • nano-banana-pro: ~40s, polls every 5-6s
  • nano-banana-2: ~43s, polls every 6s
  • seedream4.5: ~74s, polls every 8s
  • Timeout: 2-5 minutes depending on parameters

Reference Files

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

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

平台分布

Codex

36.65%
按下载量换算34

Claude

31.2%
按下载量换算29

Cursor

17%
按下载量换算16

Gemini CLI

8.33%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills