agentCLAWHUBUnverified

Smart Photo Editor

AI-powered photo editing and restoration skill - smart object removal, background removal, old photo restoration, and basic edits. Skill: Smart Photo Editor Owner: guoxh Summary: AI-powered photo editing and restoration skill - smart object removal, background removal, old photo restoration, and basic edits. Tags: ai:1.0.0, editing:1.0.0, imagemagick:1.0.0, latest:1.5.2, object-removal:1.0.0, opencv:1.0.0, photo:1.0.0, restoration:1.0.0 Version history: v1.5.2 | 2026-07-24T09:21:21.128Z | auto No changes detected in this version. - Version numbe

OpenClaw

Rank

62

Safety

84

Downloads

1.5k

Updated

Oct 10, 2026

Version

1.5.2

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 10, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 10, 2026
Adoption signal
1.5K downloadsadoption · observed Oct 10, 2026
Latest release
1.5.2release · observed Jul 24, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s17dsvj6tbs3jy3xgjps2tqzn183jx3e:smart-photo-editor
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-guoxh-smart-photo-editor/snapshot"

Documentation

CLAWHUB

147,680 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: smart-photo-editor
license: MIT
description: |
  AI-powered photo editing and restoration skill - smart object removal, background removal, old photo restoration, and basic edits.

metadata:
  author: Team
  version: "1.5.1"
  category: ai/image-editing
  compatibility: Requires Node.js 18+ and network access to VolcEngine Ark API (with Seedream model enabled) for AI features.
---

# Smart Photo Editor Skill

AI-powered photo editing and restoration skill for OpenClaw. Unifies Seedream (AI edits), ImageMagick (basic edits), and OpenCV (programmatic fixes) into one intuitive workflow.

## Overview

All-in-one intelligent photo editing skill - automatically selects the best tool for each image processing task.

✨ **Key Advantages:**
- ✅ **Smart Tool Selection** - Automatically chooses Seedream / ImageMagick / OpenCV based on task
- ✅ **Unified Interface** - All operations use the same calling pattern
- ✅ **Bilingual Support** - Optimized prompts for both Chinese and English contexts
- ✅ **Automatic Fallback** - Switches to backup tools if primary tool fails
- ✅ **Large Image Auto-Handling** - Avoids "image too large" API errors

## Feature Availability

This skill provides two tiers of functionality:

### ✅ Works out of the box (no extra dependencies)

These features only require ImageMagick and/or OpenCV (both widely available on Linux/macOS):

- **Resize / Crop / Smart-crop** — dimension changes, aspect-ratio-preserving scaling
- **Color adjustment** — brightness, contrast, saturation, grayscale
- **Perspective correction** — 4-point skew/warp correction
- **Smart compression** — quality targeting, binary-search for target file size
- **HDR tonemapping** — log/bilateral/shadow/highlight recovery
- **Background removal (basic)** — solid-color background removal via ImageMagick
- **Geometric inpainting** — wire/line/rect removal with known coordinates (`inpaint.py`)

### 🔒 Requires Seedream skill (AI features)

These features require the `byted-ark-seedream-skill` (VolcEngine Ark Agent Plan, managed skill):

- **Object removal (natural language)** — remove objects described in text (people, vehicles, watermarks)
- **Old photo restoration** — AI scratch/dust/fading repair
- **Scene replacement (`replace-scene`)** — put subject into a new scene via multi-reference fusion
- **Background removal (AI)** — rembg-based, or Seedream-based for complex edges

> **Note:** The `byted-ark-seedream-skill` is an OpenClaw managed skill that requires a VolcEngine Ark account with the Seedream model enabled. Install with `openclaw skills install byted-ark-seedream-skill`.

---

## Trigger Conditions

Activates automatically when users mention keywords like:
- photo editing, edit image, retouch, smart photo edit
- remove object, delete object, erase, remove person, remove watermark, remove logo, 去除, 消除
- remove background, background removal, cutout, 抠图, 换背景
- restore, fix, old photo restoration, repair, 修复老照片, 老照片修复
- portrait retouching, portrait edit, s

README.md

# Smart Photo Editor - Quick Start Guide

AI-powered photo editing and restoration skill for OpenClaw.

## Quick Start

### ⭐ Recommended: Unified CLI (`edit.py`)
```bash
./scripts/edit.py --task remove-object --image photo.jpg \
  --prompt "Remove the power cable" --output out.jpg
```

### Remove Object from Photo
```
"Use smart-photo-editor to remove the power cable from this mountain photo"
```
→ Automatically uses Seedream AI for complex scenes

### Restore Old Photo
```
"Use smart-photo-editor to restore this old photo"
```
→ Removes scratches, enhances clarity, restores colors

### Remove Background
```
"Use smart-photo-editor to remove the background from this portrait"
```
→ Uses rembg (if installed) or falls back to ImageMagick

### Remove Diagonal/Angled Lines (OpenCV)
```bash
./scripts/inpaint.py input.jpg output.jpg --type line --x1 100 --y1 200 --x2 500 --y2 400 --thickness 3
```

### Remove Watermark/Logo Region (OpenCV)
```bash
./scripts/inpaint.py input.jpg output.jpg --type rect --x 50 --y 50 --w 400 --h 80 --feather 5
```

### Remove Multiple Spots/Lines (Batch Mode)
```bash
# Multiple spots in one command
./scripts/inpaint.py input.jpg output.jpg --type spots --spots "100,150,8;200,300,10;50,400,6"

# Multiple lines in one command
./scripts/inpaint.py input.jpg output.jpg --type lines --lines "0,100,800,100,3;100,200,500,400,5"

# Batch processing from JSON config
./scripts/inpaint.py input.jpg output.jpg --type batch --batch tasks.json
```

### Resize for API Compatibility
```bash
./scripts/inpaint.py input.jpg output.jpg --type resize --max-dim 2048
```

### Portrait Retouching
```bash
# All enhancements at once
./scripts/portrait.py input.jpg output.jpg --all

# Subtle skin smoothing + eye brightening
./scripts/portrait.py input.jpg output.jpg --smooth 2 --enhance-eyes

# Face brightness + contrast adjustment
./scripts/portrait.py input.jpg output.jpg --brightness 10 --contrast 15
```

### EXIF Utilities
```bash
./scripts/exif_utils.py read photo.jpg        # Read EXIF tags
./scripts/exif_utils.py strip photo.jpg -o out.jpg  # Remove EXIF
./scripts/exif_utils.py copy src.jpg dst.jpg  # Copy EXIF to another image
```

### Smart Auto-Crop
```bash
./scripts/smart_crop.py input.jpg output.jpg               # Auto-detect salient region
./scripts/smart_crop.py input.jpg output.jpg --aspect 16/9 # Crop to aspect ratio
./scripts/smart_crop.py input.jpg output.jpg --debug      # Generate debug overlay
```

### Additional OpenCV Operations (denoise / sharpen / adjust)
```bash
./scripts/inpaint.py input.jpg output.jpg --type denoise --strength 15
./scripts/inpaint.py input.jpg output.jpg --type sharpen --strength 1.5
./scripts/inpaint.py input.jpg output.jpg --type adjust --brightness 15 --contrast 10 --gamma 0.9
```

## Features

| Feature | Best Tool | Quality |
|---------|-----------|---------|
| Object removal | Seedream AI | Excellent |
| Old photo restoration | Seedream AI | Excellent |
| Background removal | rembg AI | Excellent

_meta.json

{
  "ownerId": "kn7b21fme4bx0xwpm700dj5ehh82zrgq",
  "slug": "smart-photo-editor",
  "version": "1.5.2",
  "publishedAt": 1784884881128
}

skill-card.md

## Description:

AI-powered photo editing and restoration skill - smart object removal, background removal, old photo restoration, and basic edits.

This skill is ready for commercial/non-commercial use.

## Publisher:

[guoxh](https://clawhub.ai/user/guoxh)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to select and run photo-editing workflows, including deterministic resizing, cropping, color adjustment, background removal, object removal, restoration, scene replacement, and portrait retouching.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Selected photos and metadata may be processed by external services for AI editing features.

Mitigation: Strip EXIF and location metadata before sensitive cloud AI edits, and use local deterministic tools when external processing is not acceptable.

Risk: Large reference images may be sent through a user-configured Cloudflare R2 worker when upload support is enabled.

Mitigation: Enable R2 upload only with a trusted worker and token, and review worker access controls before use.

Risk: Unpinned Python dependencies or optional image tools can change behavior across environments.

Mitigation: Pin dependencies in the deployment environment and test critical edits before batch use.

Risk: Image editing commands write output files and can overwrite important files if paths are chosen poorly.

Mitigation: Use distinct output paths and keep backups of source images before running destructive or batch operations.

## Reference(s):

- [Smart Photo Editor on ClawHub](https://clawhub.ai/guoxh/skills/smart-photo-editor)
- [VolcEngine Ark Seedream setup guide](https://www.volcengine.com/docs/82379/2375486)
- [Cloudflare R2 documentation](https://developers.cloudflare.com/r2/)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with inline shell commands, CLI arguments, and JSON examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce edited image files through local scripts and optional external AI or upload services when configured.]

## Skill Version(s):

1.5.2 (source: server release metadata; artifact metadata reports 1.5.1)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 16h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/guoxh/skills/smart-photo-editor",
      "sourceUrl": "https://clawhub.ai/guoxh/skills/smart-photo-editor",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T10:18:26.872Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-guoxh-smart-photo-editor/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-guoxh-smart-photo-editor/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-10T10:18:26.872Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.5K downloads",
      "href": "https://clawhub.ai/guoxh/smart-photo-editor",
      "sourceUrl": "https://clawhub.ai/guoxh/smart-photo-editor",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T10:18:26.872Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.5.2",
      "href": "https://clawhub.ai/guoxh/smart-photo-editor",
      "sourceUrl": "https://clawhub.ai/guoxh/smart-photo-editor",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-07-24T09:21:21.128Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-guoxh-smart-photo-editor/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-guoxh-smart-photo-editor/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.5.2",
      "description": "No changes detected in this version. - Version number updated to 1.5.2, but no file or documentation changes were made from the previous release.",
      "href": "https://clawhub.ai/guoxh/smart-photo-editor",
      "sourceUrl": "https://clawhub.ai/guoxh/smart-photo-editor",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-07-24T09:21:21.128Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to Smart Photo Editor and adjacent AI workflows.