image-edit

Edit images and generate variations using the z-ai-web-sdk.

2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/marktantongco/promptc-os --skill image-edit-marktantongco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-edit
Source: https://github.com/marktantongco/promptc-os/tree/main/skills/image-edit
Command: npx skills add https://github.com/marktantongco/promptc-os --skill image-edit-marktantongco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk, and includes scripts (resource) components.

What problem does it solve?

Editing and transforming images with AI often requires multiple tools and manual steps. This skill provides a unified workflow to edit existing images, generate variations, apply style transfers, and export results using the z-ai-web-dev-sdk.

Core Features & Use Cases

  • Image editing: modify colors, backgrounds, objects, and styles directly from prompts.
  • Variations & batch edits: create multiple image variants from a single source for design exploration.
  • CLI & SDK integration: operate from CLI or code, suitable for batch automation and backend services.

Quick Start

Edit an image by supplying a source image and a descriptive prompt, choose a desired size, and save the edited image to disk.

Frequently Asked Questions about image-edit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate image variations and apply style transfers using AI?

AI image variations and style transfers are generated by supplying a source image and a descriptive prompt to the z-ai-web-dev-sdk. It modifies colors, backgrounds, objects, and styles directly, returning base64-encoded images for immediate use in design exploration.

Can I batch edit images and automate processing through a CLI tool?

Yes, batch editing images and automating backend processing is supported through the included CLI tool and SDK integration. You can operate directly from the command line or code to automate repetitive image processing tasks for marketing assets.

What is the best way to change backgrounds and replace elements in product images?

Changing backgrounds and replacing elements in product images is handled by submitting the source file and a prompt to the z-ai-web-dev-sdk. This approach processes background changes and element replacements directly, outputting base64-encoded images for product design.

Does this image editing workflow run entirely on the backend?

Yes, the image editing workflow runs completely on the backend using the z-ai-web-dev-sdk. It processes style transfers and element replacements server-side, returning base64-encoded images to integrate directly into your applications or batch services.

How do I export and save edited base64 images to disk?

Exporting and saving edited base64 images to disk is done by choosing a desired size during generation and writing the returned base64-encoded image data to a local file. This allows immediate storage of batch edits and creative variations.