mcpField
I
image-creation

image-creation

github.com/cklxxCreative & media1144 installsUpdated 31w ago
Repository

About image-creation

A command-line skill for generating and refining images with Seedream. It suits users who need text-to-image creation or prompt-guided edits to an existing image.

Key features

  1. 01Generate images from text prompts
  2. 02Refine images using instructions
  3. 03Choose style and output size
  4. 04Set watermark and output path

Use cases

  1. 01Create an image from a written description
  2. 02Edit an image by changing its background

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/cklxx/elephant.ai --skill image-creation

After installing, type/image-creationin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

run.py
test_run.py
tests/
__init__.py
test_image_creation.py

Details

From the project README

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)

Comments

Markdown supported