← 返回 Skills 市场
341
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install creatok-generate-image
功能描述
This skill should be used when the user asks to generate an image, create an AI image, produce a product image, generate a visual from a prompt, or check and...
使用说明 (SKILL.md)
generate-image
Constraints
- The model's final user-facing response should match the user's input language, default English.
- Must request user confirmation before triggering any paid/high-cost image generation call.
- After confirmed, must call CreatOK Open Skills proxy and wait until completion.
- Avoid technical wording in the user-facing reply unless the user explicitly needs details for debugging.
Model Selection Rules
The skill must read model list, defaults, and hard limits from the CreatOK capabilities endpoint at runtime instead of hardcoding them locally.
Keep the local client thin:
- use the returned default model unless the user explicitly chooses another supported model
- validate only hard execution constraints such as resolution, aspect ratio, count, and reference-image cap
- keep user-facing model explanation minimal and avoid depending on provider, family, or hint-style metadata
Inputs to clarify (ask if missing)
- ask only for what is necessary to generate a good image
- if resolution or aspect ratio is not specified, use the model defaults returned by the capabilities endpoint
- if the prompt is vague, offer to refine it before confirming generation
- reference images are optional — ask only if the user implies style transfer or subject reference
- when reference images are used, upload the local image file first and submit the returned uploaded reference with the generation task
Workflow
- Confirmation gate (mandatory)
- Summarize:
- model
- resolution
- number of images (
n) - aspect ratio if specified
- estimated cost/credits if available
- Ask for a simple confirmation before submitting.
- Do not submit the generation task until user says yes.
- Submit image generation
- Call CreatOK:
POST /api/open/skills/image-generation
- Poll status until completion
- Call CreatOK:
GET /api/open/skills/tasks/status?task_id=...&task_type=image_generation
- Persist artifacts + respond
- Write:
outputs/result.jsonwithtask_id/status/images/rawoutputs/result.md
- Persist the
task_idimmediately after submission so the user can recover later. - Return the final image URLs verbatim.
Existing Task Recovery
- If the user already has a
task_id, continue from that task instead of starting a new one. - In recovery mode, do not ask the user to restate the prompt if the task id is already available.
- The model can either check status once or keep polling if the user wants to wait.
- If the task succeeded, return the final image URLs verbatim.
- If the task is still queued or running, explain clearly and offer to keep checking.
- If the task failed, explain the failure and suggest next steps.
Artifacts
All artifacts under generate-image/.artifacts/\x3Crun_id>/....
Thin Client Boundary
- This skill submits generation jobs, polls status, and persists fixed-format outputs.
- The model should not make the user restate their idea if the direction is already clear from the conversation.
安全使用建议
This skill appears to be a legitimate CreatOK image-generation client. Before installing: 1) Only the CreatOK API key is required — ensure you trust creatok.ai and that the API key has appropriate scope; rotate the key if compromised. 2) The skill will upload any local reference image files you explicitly provide, so do not pass sensitive local file paths. 3) Artifacts (result.json/result.md, images info, task_id) are stored under .artifacts inside the skill directory — review or clean those files if they contain data you don’t want retained. 4) The skill prompts for confirmation before submitting a generation (or can be run with a yes flag); watch for estimated cost notices and confirm before incurring charges. 5) Requires the node binary and network access to https://www.creatok.ai. If you need more assurance, verify the CREATOK_API_KEY usage with CreatOK support or inspect network traffic in a controlled environment.
功能分析
Type: OpenClaw Skill
Name: creatok-generate-image
Version: 0.1.3
The skill bundle is a standard implementation for image generation using the CreatOK API. It follows security best practices by implementing a mandatory confirmation gate in SKILL.md before performing high-cost API calls and limits network communication to the official 'creatok.ai' domain. The code in lib/creatok-client.js and lib/generate-image.js is transparent, well-structured, and lacks any signs of data exfiltration, obfuscation, or unauthorized file system access beyond the designated artifacts directory.
能力标签
能力评估
Purpose & Capability
The name/description claim image generation via CreatOK; the code implements calls only to CreatOK endpoints (capabilities, image submission, uploads, status) and requires only node and CREATOK_API_KEY — these are proportional to the stated purpose.
Instruction Scope
SKILL.md and the code limit behavior to prompting for confirmation, submitting generation tasks, polling status, uploading optional reference images, and writing artifacts. The code will read local files only when reference image file paths are explicitly provided and will persist outputs under the skill's .artifacts directory — this matches the documented workflow.
Install Mechanism
No install spec is provided (instruction + code only). No remote download or installer runs; only requires the node binary to execute the included scripts, which is low install risk.
Credentials
Only one credential is declared (CREATOK_API_KEY), which is the expected credential for calling CreatOK APIs. No other secrets, keys, or unrelated environment variables are requested.
Persistence & Privilege
always is false and the skill does not modify other skills or system-wide configs. It persists task_id and outputs under the skill-specific .artifacts/<run_id>/ path only, which is normal for this functionality.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install creatok-generate-image - 安装完成后,直接呼叫该 Skill 的名称或使用
/creatok-generate-image触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Patch release: capabilities-driven defaults, contract validation, and retry guidance for outdated skills.
v0.1.2
Patch release: bump from 0.1.1 to 0.1.2 only.
v1.0.0
- License updated from Internal to Open Source.
- Reference image support clarified: now includes uploading local images before submitting as a reference for generation (specified in SKILL.md).
- No functional or API-breaking changes; primarily documentation and workflow clarification.
v0.1.1
Add multilingual trigger keywords
v0.1.0
Initial release of creatok-generate-image skill.
- Enables users to generate images via CreatOK's image generation API.
- Supports multiple high-quality models: Seedream 5.0 Lite, Nano Banana Pro, and Nano Banana 2, with model recommendations based on use case.
- Confirms image generation details with the user before submitting paid or high-cost tasks.
- Allows recovery and progress checking of existing image generation tasks by task ID.
- Returns final image URLs and persists task artifacts for future reference.
元数据
常见问题
Creatok Generate Image 是什么?
This skill should be used when the user asks to generate an image, create an AI image, produce a product image, generate a visual from a prompt, or check and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 341 次。
如何安装 Creatok Generate Image?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install creatok-generate-image」即可一键安装,无需额外配置。
Creatok Generate Image 是免费的吗?
是的,Creatok Generate Image 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Creatok Generate Image 支持哪些平台?
Creatok Generate Image 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Creatok Generate Image?
由 Newton(@newt0n)开发并维护,当前版本 v0.1.3。
推荐 Skills