Generate, vectorize, upscale, replace background, variate, remove background, and transform images via Recraft API.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install recraft或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install recraft⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/recraft/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: recraft description: Generate, vectorize, upscale, replace background, variate, remove background, and transform images via Recraft API. homepage: https://www.recraft.ai/ metadata: { "openclaw": { "emoji": "🎨", "requires": { "bins": ["uv"], "env": ["RECRAFT_API_TOKEN"] }, "primaryEnv": "RECRAFT_API_TOKEN", "install": [ { "id": "uv-brew", "kind": "brew", "formula": "uv", "bins": ["uv"], "label": "Install uv (brew)", }, ], }, } ---
Use the bundled script to generate, vectorize, upscale, replace background, variate, remove background, and transform images via Recraft API.
```bash export RECRAFT_API_TOKEN="your-api-token" ```
uv run {baseDir}/scripts/recraft.py generate --prompt "your image description" --style "Recraft V3 Raw" --filename "output.png" --size "16:9"
uv run {baseDir}/scripts/recraft.py image-to-image --prompt "your image description" --style "Recraft V3 Raw" --input "/path/to/input.png" --filename "output.png" --strength 0.5
uv run {baseDir}/scripts/recraft.py replace-background --prompt "your background description" --style "Recraft V3 Raw" --input "/path/to/input.png" --filename "output.png"
uv run {baseDir}/scripts/recraft.py vectorize --input "/path/to/input.png" --filename "output.svg"
uv run {baseDir}/scripts/recraft.py remove-background --input "/path/to/input.png" --filename "output.png"
uv run {baseDir}/scripts/recraft.py crisp-upscale --input "/path/to/input.png" --filename "output.png"
uv run {baseDir}/scripts/recraft.py creative-upscale --input "/path/to/input.png" --filename "output.png"
uv run {baseDir}/scripts/recraft.py variate --input "/path/to/input.png" --filename "output.png" --size "16:9"
uv run {baseDir}/scripts/recraft.py user-info
--prompt, -p: Text description for image generation or editing, max 1000 characters--input, -i: Input image path (for editing/transformation commands)--filename, -f: Output filename--style, -s: Visual style (default: Recraft V3 Raw) - Recraft V3 Raw, Photorealism, Illustration, Vector art, Icon
--size: Output size as aspect ratio (default: 1:1) - 1:1, 2:1, 1:2, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 6:10, 14:10, 10:14, 16:9, 9:16
--strength: Transformation strength for image-to-image (0.0-1.0, default: 0.5), where 0 means almost identical, and 1 means minimal similarityRECRAFT_API_TOKEN env varskills."recraft".apiKey / skills."recraft".env.RECRAFT_API_TOKEN in ~/.openclaw/openclaw.jsonyyyy-mm-dd-hh-mm-ss-name.png.MEDIA: line for OpenClaw to auto-attach on supported chat providers.安装 Recraft AI 后,可以对 AI 说这些话来触发它
Help me get started with Recraft AI
Explains what Recraft AI does, walks through the setup, and runs a quick demo based on your current project
Use Recraft AI to generate, vectorize, upscale, replace background, variate, remove b...
Invokes Recraft AI with the right parameters and returns the result directly in the conversation
What can I do with Recraft AI in my developer & devops workflow?
Lists the top use cases for Recraft AI, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/recraft/ 目录(个人级,所有项目可用),或 .claude/skills/recraft/(项目级)。重启 AI 客户端后,用 /recraft 主动调用,或让 AI 根据上下文自动发现并使用。
Recraft AI 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Recraft AI 可免费安装使用。请查阅仓库了解许可证信息。
Generate, vectorize, upscale, replace background, variate, remove background, and transform images via Recraft API.
Recraft AI 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Recraft AI
Identifies repetitive steps in your workflow and sets up Recraft AI to handle them automatically