Install
openclaw skills install imagegenGenerate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.
openclaw skills install imagegenUse this skill when the user needs a bitmap image rather than repo-native code, SVG, HTML, CSS, canvas, or an existing vector/icon system.
This public ClawHub release is instruction-only. It does not bundle executable API helpers, dependencies, or generated assets. In Codex sessions, use the available built-in image generation or image editing tool. In other agent hosts, use the host's approved image-generation capability and keep the same prompting and verification standards.
generate for a new image, edit for changing an existing
image while preserving parts of it.For simple opaque subjects, request a flat removable chroma-key background and remove it locally with an approved project or host helper if available.
Prompt the source image like this:
Create the requested subject on a perfectly flat solid #00ff00 chroma-key background for background removal.
The background must be one uniform color with no shadows, gradients, texture, reflections, floor plane, or lighting variation.
Keep the subject fully separated from the background with crisp edges and generous padding.
Do not use #00ff00 anywhere in the subject.
No cast shadow, no contact shadow, no reflection, no watermark, and no text unless explicitly requested.
Use a different key color when green appears in the subject. If the subject has hair, smoke, glass, translucent material, soft shadow, reflection, or colors that conflict with practical key colors, explain that true native transparency or manual editing may be required before proceeding.
Use only the lines that help the request:
Use case: <taxonomy slug>
Asset type: <where the image will be used>
Primary request: <user's main prompt>
Input images: <Image 1: role; Image 2: role>
Scene/backdrop: <environment>
Subject: <main subject>
Style/medium: <photo, illustration, 3D render, diagram, etc.>
Composition/framing: <wide, close, top-down, centered, negative space>
Lighting/mood: <lighting and mood>
Color palette: <palette notes>
Materials/textures: <surface details>
Text (verbatim): "<exact text>"
Constraints: <must keep or must avoid>
Avoid: <negative constraints>
Generation:
photorealistic-naturalproduct-mockupui-mockupinfographic-diagramscientific-educationalads-marketingproductivity-visuallogo-brandillustration-storystylized-concepthistorical-sceneEditing:
text-localizationidentity-preserveprecise-object-editlighting-weatherbackground-extractionstyle-transfercompositingsketch-to-renderreferences/prompting.md: shared prompting principles.references/sample-prompts.md: copy/paste prompt recipes by asset type.