image-creation

v2026.09.25

When the user wants to create or edit images → generate with Seedream (text-to-image + image-to-image).

GitHub
安装命令
npx skhub add cklxx/image-creation
Markdown
SKILL.md

image-creation

Generate images via Seedream.

Required Env

  • ARK_API_KEY (required)
  • SEEDREAM_TEXT_ENDPOINT_ID (optional; fallback: SEEDREAM_TEXT_MODEL -> built-in default model)
  • SEEDREAM_I2I_ENDPOINT_ID (required for refine)

Constraints

  • Backend minimum pixels: 1920*1920. Smaller inputs (for example 1024x1024) are auto-upscaled.
  • success=true only when the output file is actually written and non-empty.
  • Backend response must contain b64_json or url; otherwise the call fails.
  • Default output path is /tmp unless output is provided.
  • watermark defaults to false (no "AI generated" watermark). Set to true only when you explicitly need watermark.

Usage

# Text to image
python3 skills/image-creation/run.py generate --prompt 'white cat in moonlight' --style realistic --watermark false

# Image to image
python3 skills/image-creation/run.py refine --image_path /tmp/cat.png --prompt 'add starry sky background' --watermark false

Parameters

generate

nametyperequirednotes
promptstringyesimage description
stylestringnostyle tag (default: realistic)
sizestringnoWIDTHxHEIGHT, default 1920x1920
watermarkboolnodefault false; whether to enable API watermark
outputstringnooutput file path (default /tmp/seedream_<ts>.png)

refine

nametyperequirednotes
image_pathstringyesinput image path
promptstringyesrefinement instruction
watermarkboolnodefault false; whether to enable API watermark
outputstringnooutput path (default /tmp/seedream_refined_<ts>.png)
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.25

发布时间

2026年9月25日

分类

未分类

许可证

MIT

源路径

skills/image-creation

默认分支

main

最新提交

bc94628

Tree SHA

f9fa2e7