a3273283/sih-ai-photo-editor/SKILL.md
AI图片编辑工具,支持自然语言驱动的换装、换背景、换脸、风格转换(动漫/粘土/油画等)、美颜修图。当用户需要AI图片处理、人像编辑、背景替换、风格迁移、服装更换、脸部融合时使用此skill。支持用户通过描述性prompt(如"把衣服换成bikini"、"背景换成海边"、"转换成动漫风格")进行图片编辑。
npx skillsauth add openclaw/skills sih-ai-photo-changerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
让图片听你的话 —— 用自然语言描述,AI自动完成编辑
用户上传图片 → 用一句话描述想要的改变 → AI处理 → 自动下载并预览
# 示例调用
from scripts.sih_api import SihClient
client = SihClient(api_key="your-api-key")
result = client.edit_image(
image_url="https://example.com/photo.jpg",
prompt="把衣服换成红色连衣裙,背景换成海边"
)
# 自动下载到 Desktop/Sih_Ai_Results/
# 自动在Finder中显示
# 自动在预览中打开
处理完成后,图片会自动:
~/Desktop/Sih_Ai_Results/ 文件夹无需手动下载或二次处理,直接查看效果!
from scripts.sih_api import SihClient
from scripts.quota_checker import QuotaChecker
# 使用Sih.Ai的API(需要用户提供API Key)
client = SihClient(api_key="sk-xxxxx")
# 或使用统一服务(需要用户ID和配额验证)
quota = QuotaChecker(user_id="user123")
if not quota.has_balance():
print("余额不足,请充值:https://sih.ai/topup?user=user123")
# URL格式
client.edit_image(
image_url="https://example.com/photo.jpg",
prompt="换服装成bikini"
)
# Base64格式
client.edit_image(
image_base64="data:image/jpeg;base64,/9j/4AAQ...",
prompt="背景换成海边"
)
# 本地文件(会自动转Base64)
client.edit_image(
image_path="/path/to/photo.jpg",
prompt="动漫化"
)
client.edit_image(
image_url="...",
prompt="换服装成bikini",
model="sihai-image-27", # 可选:模型选择
size="1024x1024" # 可选:输出尺寸
)
"把衣服换成红色bikini,背景换成海边沙滩"
"换装成白色婚纱,背景改成教堂"
"转换成动漫风格,背景改成樱花树下"
"脸换成Angelababy,保持原姿势"
"去掉背景,只保留人物"
"P一下" # 太模糊,AI不知道具体要做什么
"好看一点" # 主观描述不够具体
"修一修" # 需要明确具体修改内容
client = SihClient(api_key="user_provided_key")
# 直接调用,计费由用户自己在Sih.Ai后台处理
from scripts.quota_checker import QuotaChecker
quota = QuotaChecker(user_id="user123")
# 检查余额
if not quota.check_balance():
# 返回充值链接
quota.show_topup_url()
# https://sih.ai/topup?user=user123&return=xxx
else:
# 扣除配额并处理
quota.deduct(credits=10)
result = client.edit_image(...)
优先使用此skill当用户提到:
人像:换装、换脸、换发型、化妆、美颜、瘦身、增高
背景:换背景、去背景、虚化、替换场景
风格:动漫、油画、水彩、素描、粘土、赛博朋克、复古
操作:修图、P图、美化、精修、处理、转换、生成
POST https://api.vwu.ai/v1/images/generations/
Authorization: Bearer sk-xxxxx
{
"image": ["https://example.com/photo.jpg"],
"prompt": "把衣服换成bikini",
"model": "sihai-image-27"
}
{
"model": "sihai-image-27",
"created": 1773386658,
"data": [
{
"url": "https://...",
"size": "2048x2048"
}
],
"usage": {
"generated_images": 1,
"output_tokens": 16384,
"total_tokens": 16384
}
}
references/api_guide.mdassets/examples/prompts.txtSih.Ai官网: https://sih.ai
充值中心: https://sih.ai/topup
技术支持: [email protected]
tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。