← Back to Skills Marketplace
newt0n

Creatok Generate Image

by Newton · GitHub ↗ · v0.1.3 · MIT-0
cross-platform ⚠ suspicious
341
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install creatok-generate-image
Description
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...
README (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

  1. 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.
  1. Submit image generation
  • Call CreatOK: POST /api/open/skills/image-generation
  1. Poll status until completion
  • Call CreatOK: GET /api/open/skills/tasks/status?task_id=...&task_type=image_generation
  1. Persist artifacts + respond
  • Write:
    • outputs/result.json with task_id/status/images/raw
    • outputs/result.md
  • Persist the task_id immediately 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.
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install creatok-generate-image
  3. After installation, invoke the skill by name or use /creatok-generate-image
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug creatok-generate-image
Version 0.1.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 341 downloads so far.

How do I install Creatok Generate Image?

Run "/install creatok-generate-image" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Creatok Generate Image free?

Yes, Creatok Generate Image is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Creatok Generate Image support?

Creatok Generate Image is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Creatok Generate Image?

It is built and maintained by Newton (@newt0n); the current version is v0.1.3.

💬 Comments