nkrcrft

Recraft AI

設計創意v1.0.0
作者:nkrcrft更新於 2026-05-11recraft@clawhub_nkrcrft/recraft
圖片生成圖片編輯

據 AlphaMoat 統計,截至 2026-09,Recraft AI 累計下載 3,137 次、獲 3 個星標,在全部 5,078 個 AI 技能中排名第 3,631 位,在「設計創意」分類(512 個)中排名第 340 位。

累計安裝
182
累計下載
3137
星標
3
全站排名
#3,631
全站前 72% · 「設計創意」前 67%
平台累計安裝累計下載星標評論
ClawHub ↗9028333-
SkillHub ↗18231373—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

文件列出圖像生成、圖像轉圖像、背景替換、向量化、去背景、放大和變體生成。提示詞與選定的輸入圖像會提交給 Recraft;僅在接受該資料共享和令牌訪問時使用。

資料釋出於 2026-10-27

可以用來做什麼

  • 根據文字提示生成圖像
  • 編輯或轉換已有圖像
  • 移除或替換背景並生成向量圖

什麼時候用

  • 需要透過 Recraft API 生成或轉換圖像時
  • 確認可將提示詞和輸入圖像傳送給 Recraft 後

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

用這個提示生成圖像;執行前說明哪些提示詞和圖像會傳送給 Recraft。

月度資料趨勢

累計下載3137
1705247432432026-03 · 累計下載 18112026-05 · 累計下載 22662026-06 · 累計下載 24192026-07 · 累計下載 26622026-08 · 累計下載 28132026-09 · 累計下載 313726-0326-09
星標3
2332026-03 · 星標 22026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093137—3
2026-082813+5.7%3
2026-072662+10.0%3
2026-062419+6.8%3
2026-052266—3
2026-031811—2

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.5 KB · ClawHub v1.0.0
---
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"] },
展開全部(共 118 行)
        "primaryEnv": "RECRAFT_API_TOKEN",
        "install":
          [
            {
              "id": "uv-brew",
              "kind": "brew",
              "formula": "uv",
              "bins": ["uv"],
              "label": "Install uv (brew)",
            },
          ],
      },
  }
---

# Recraft

Use the bundled script to generate, vectorize, upscale, replace background, variate, remove background, and transform images via Recraft API.

## Setup

1. To access your API key, log in to Recraft and visit the page: https://www.recraft.ai/profile/api
2. Generate a token by hitting ‘Generate new key’ button (available only if your API units balance is above zero)
3. Set environment variable:
   ```bash
   export RECRAFT_API_TOKEN="your-api-token"
   ```

## Commands

### Generate Image

```bash
uv run {baseDir}/scripts/recraft.py generate --prompt "your image description" --style "Recraft V3 Raw" --filename "output.png" --size "16:9"
```

### Image to Image

```bash
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
```

### Replace Background

```bash
uv run {baseDir}/scripts/recraft.py replace-background --prompt "your background description" --style "Recraft V3 Raw" --input "/path/to/input.png" --filename "output.png"
```

### Vectorize Image

```bash
uv run {baseDir}/scripts/recraft.py vectorize --input "/path/to/input.png" --filename "output.svg"
```

### Remove Background

```bash
uv run {baseDir}/scripts/recraft.py remove-background --input "/path/to/input.png" --filename "output.png"
```

### Crisp Upscale

```bash
uv run {baseDir}/scripts/recraft.py crisp-upscale --input "/path/to/input.png" --filename "output.png"
```

### Creative Upscale

```bash
uv run {baseDir}/scripts/recraft.py creative-upscale --input "/path/to/input.png" --filename "output.png"
```

### Variate Image

```bash
uv run {baseDir}/scripts/recraft.py variate --input "/path/to/input.png" --filename "output.png" --size "16:9"
```

### Get User Information

```bash
uv run {baseDir}/scripts/recraft.py user-info
```

## Parameters

- `--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 similarity

## API Key

- `RECRAFT_API_TOKEN` env var
- Or set `skills."recraft".apiKey` / `skills."recraft".env.RECRAFT_API_TOKEN` in `~/.openclaw/openclaw.json`

## Notes

- Use timestamps in filenames: `yyyy-mm-dd-hh-mm-ss-name.png`.
- The script prints a `MEDIA:` line for OpenClaw to auto-attach on supported chat providers.
- Do not read the image back; report the saved path only.
- Vector art and Icon styles output SVG format.
- Rate limits: 100 requests per minute; 5 requests per second.

「設計創意」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。