OPENCLAW + RECRAFT

OpenClaw で Recraft を使う。

Recraft は、アーティファクトなしで細部を復元する鮮明なニューラル画像高画質化と、髪の毛や透明なエッジを保持する精密な背景除去を提供します。OpenClaw agent は、チャットで使うのと同じ RunAPI キーで両方のエンドポイントを呼び出します——ソース画像 URL を送信し、高画質化または背景除去を選び、処理結果をポーリングします。

1つの APIキー · 高画質化 + 背景除去 · 非同期タスクポーリング
RunAPI を使って Recraft crisp upscale で画像を高画質化します。

要件:
- 認証には RUNAPI_API_KEY 環境変数を使用します。
- https://runapi.ai/api/v1/recraft/upscale_image の RunAPI upscale_image エンドポイントを呼び出します。
- model を "recraft-crisp-upscale" に設定します。
- source_image_url にソース画像 URL を渡します。
- レスポンスは task_id を返します。タスクが完了するまでタスクステータスエンドポイントをポーリングし、結果から高画質化された画像 URL を取得します。
- 背景除去の場合は、代わりに /api/v1/recraft/remove_background を model "recraft-remove-background" で呼び出します。
curl -X POST https://runapi.ai/api/v1/recraft/upscale_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "recraft-crisp-upscale",
    "source_image_url": "https://example.com/product-photo.jpg"
  }'
{
  "task_id": "tsk_abc123",
  "status": "pending",
  "model": "recraft-crisp-upscale"
}
curlコマンドをコピーしてテスト recraft
仕組み

OpenClaw で Recraft を使う3ステップ

1

Configure RunAPI

If you have not set up RunAPI in OpenClaw yet, follow the OpenClaw setup guide. Set the RUNAPI_API_KEY environment variable and add RunAPI as an OpenAI-compatible provider with baseUrl https://runapi.ai/v1.

export RUNAPI_API_KEY=runapi_xxx
2

Call Recraft upscale or remove background

Send a POST request to the upscale_image endpoint with model set to recraft-crisp-upscale and provide the source_image_url. For background removal, POST to the remove_background endpoint with model recraft-remove-background instead. Both require only source_image_url.

POST /api/v1/recraft/upscale_image
3

Poll for the result

Both endpoints return a task_id with status pending. Poll the task status endpoint until the status changes to completed, then retrieve the processed image URL from the response. RunAPI SDKs and the CLI handle polling automatically.

GET /api/v1/recraft/upscale_image/tsk_abc123
パラメータ

Recraft API パラメータ

パラメータ 説明
model string Required. recraft-crisp-upscale for upscaling, recraft-remove-background for background removal.
source_image_url string Required. URL of the source image to process.
callback_url string Optional. Webhook URL for async completion notification.

OpenClaw上のRecraftとは?

Recraft はRunAPIで2種類の後処理機能を提供します——細部を復元するクリアなニューラルアップスケーリングと、髪の毛や透明な端を綺麗に処理する背景除去です。OpenClaw agentは同じRunAPIキーで両方のエンドポイントを呼び出します。

Recraftの活用例

デザインアセットのニューラルアップスケーリング

商品画像・ロゴ・デザインアセットをアップスケールして細部を復元し、Topazより低コストで行います——価格に敏感なポストプロダクションワークフローに適しています。

EC商品の背景除去

ECサイトの白背景リストや合成アプリケーション向けに商品写真の背景を除去します。Recraftは髪の毛・透明な素材・小さな物体を含む微妙な端を処理します。

画像後処理のバッチ処理

OpenClaw agentワークフローで生成ステップにRecraftを連結し、大量の商品画像のアップスケーリングと背景除去を自動化します。

FAQ

Recraft + OpenClaw のよくある質問

OpenClaw の基本設定

まだ設定していませんか?OpenClaw の RunAPI セットアップガイドから始めましょう。

OpenClaw セットアップガイド →

Recraft モデルカタログ

すべての Recraft バリアント、価格、API ドキュメントを確認する。

Recraft モデル →

今すぐ OpenClaw で Recraft を試す。

無料の RunAPI キーを取得し、プロンプトを OpenClaw に貼り付けて、Recraft で画像の高画質化と背景除去を始めましょう。