---
title: OpenClaw x KIE 使用指南 | RunAPI
description: 透過 RunAPI 在 OpenClaw 中使用 KIE。比較目前的模型 ID、端點與價格，再依相應流程完成設定。
url: https://runapi.ai/zh-HK/openclaw-kie.md
canonical: https://runapi.ai/zh-HK/openclaw-kie
locale: zh-HK
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
alternates:
  en: https://runapi.ai/openclaw-kie
  zh-CN: https://runapi.ai/zh-CN/openclaw-kie
  es: https://runapi.ai/es/openclaw-kie
  ja: https://runapi.ai/ja/openclaw-kie
  de: https://runapi.ai/de/openclaw-kie
  fr: https://runapi.ai/fr/openclaw-kie
  pt-BR: https://runapi.ai/pt-BR/openclaw-kie
  ko: https://runapi.ai/ko/openclaw-kie
  it: https://runapi.ai/it/openclaw-kie
  nl: https://runapi.ai/nl/openclaw-kie
  pl: https://runapi.ai/pl/openclaw-kie
  tr: https://runapi.ai/tr/openclaw-kie
  zh-TW: https://runapi.ai/zh-TW/openclaw-kie
  zh-HK: https://runapi.ai/zh-HK/openclaw-kie
  ar: https://runapi.ai/ar/openclaw-kie
  x-default: https://runapi.ai/openclaw-kie
model_line: kie
---

> HTML version: https://runapi.ai/zh-HK/openclaw-kie
> Site index for agents: https://runapi.ai/llms.txt


<!-- agent-model-guide-section: breadcrumb_hero owner=API-1798 state=ready -->

[OpenClaw](https://runapi.ai/zh-HK/openclaw.md) / [KIE](https://runapi.ai/zh-HK/models/kie.md)

# OpenClaw x KIE

KIE API 讓你使用 KIE 系列中的 實用工具 模型。透過 RunAPI 使用時，可享有統一 API、共用計費，以及把實作脈絡帶入 app workspace 的 model skill。

- [取得 API Key](https://runapi.ai/zh-HK/login)
- [查看 OpenClaw 文件](https://runapi.ai/zh-HK/docs/guides)

<!-- agent-model-guide-section: key_facts owner=API-1800 state=ready -->
2 variants · 由 $0.01 / 次請求 · 可商用


<!-- agent-model-guide-section: prompt_terminal owner=API-1808 state=ready -->
## Prompt

Prerequisite: `npx runapi mcp install`

```text
You have access to RunAPI task tools for KIE.

Available KIE models:
- kie-upscale-image: 最高 8 倍圖片放大，受輸出像素上限限制
  endpoints: /api/v1/kie/upscale_image
  request fields: model, source_image_url, upscale_factor
- kie-upscale-video: 影片提升至 1080P、2K 或 4K
  endpoints: /api/v1/kie/upscale_video
  request fields: model, source_video_url, resolution

Use the model ID and endpoint that match the user's request.
Example prompt: 生成一張 4K 產品主圖，主體為啞黑色水樽，擺放在米色石面上，柔和側光。
/api/v1/kie/upscale_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kie/upscale_image，並儲存回傳的 Task ID。
GET /api/v1/kie/upscale_image/<task-id>，直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。
/api/v1/kie/upscale_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kie/upscale_video，並儲存回傳的 Task ID。
GET /api/v1/kie/upscale_video/<task-id>，直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。
```





<!-- agent-model-guide-section: prompt_model_tabs owner=API-1812 state=ready -->
## Prompt 模型

透過本指南使用 RunAPI 與 KIE。

可用的 KIE 模型：

- `kie-upscale-image`: 最高 8 倍圖片放大，受輸出像素上限限制
- `kie-upscale-video`: 影片提升至 1080P、2K 或 4K
任務合適時使用 kie-upscale-image：最高 8 倍圖片放大，受輸出像素上限限制。



<!-- agent-model-guide-section: versions_endpoints owner=API-1817 state=runtime_fallback -->

## 公開版本與端點

| 模型 ID | 版本 | 端點 | 起始價格 |
| --- | --- | --- | --- |
| `kie-upscale-image` | 最高 8 倍圖片放大，受輸出像素上限限制 | /api/v1/kie/upscale_image | $0.01 / 次請求 |
| `kie-upscale-video` | 影片提升至 1080P、2K 或 4K | /api/v1/kie/upscale_video | $0.01 / 秒 |


<!-- agent-model-guide-section: verify_code_block owner=API-1824 state=runtime_fallback -->

## 驗證

輪詢，直到 Task 進入終態

POST <endpoint>，並儲存回傳的 Task ID。
GET <endpoint>/<task-id>，直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。



## 設定

設定 `RUNAPI_API_KEY`，再向 `<endpoint>` 傳送包含 `<model-id>` 的請求。只有端點回傳非同步 Task 時才需輪詢。

```shell
export RUNAPI_API_KEY=your_api_key

curl -X POST https://runapi.ai<endpoint> \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json
```


<!-- agent-model-guide-section: three_step_flow owner=API-1830 state=ready -->

## 三步開始使用

1. **選擇模型 ID.** 選擇公開模型 ID，並查看其端點與目前起始價格。
2. **設定 RunAPI.** 呼叫端點前設定 RUNAPI_API_KEY。
3. **驗證結果.** 對非同步端點輪詢同一路徑，直到 Task 進入終態。



<!-- agent-model-guide-section: use_case_cards owner=API-1837 state=ready -->

## 使用 OpenClaw + KIE 可以建立甚麼

**供程式使用的結構化結果**

取得機器可讀的輸出而非聊天文字，讓應用程式可以直接儲存、比較或據此執行操作。

**處理你自己的資料**

將文件、圖片或記錄交給模型處理，並把結果與來源資料一併保存，供後續步驟使用。

**大批量處理**

使用同一個 RunAPI 金鑰批量提交輸入，並透過程式收集結果。



<!-- agent-model-guide-section: benefit_cards owner=API-1844 state=ready -->

## 為甚麼透過 RunAPI + OpenClaw 使用 KIE

**2 個變體，一個 API 金鑰**

透過一個 RunAPI 連線選擇可用的模型變體，無需更改現有整合。

**清晰的用量價格**

發送請求前查看目錄中的目前價格，無需訂閱或最低消費。

**自動化工作流程**

透過一致的工作流程提交工作、查詢狀態並收集非同步結果，無需編寫手動輪詢程式碼。




<!-- agent-model-guide-section: faq owner=API-1851 state=ready -->

## OpenClaw + KIE 常見問題

### 兩種放大模型有甚麼分別？

圖片模型支援 1、2、4 或 8 倍放大；影片模型可輸出 1080P、2K 或 4K。

### 應該使用哪個模型 ID？

從版本表選擇公開模型 ID。每個 ID 可用的端點均列於相應資料列。

### 本指南會設定聊天模型嗎？

不會。此 Model Line 使用頁面所示的端點流程，不會被描述為 Agent 聊天模型。




<!-- agent-model-guide-section: related_guides owner=API-1859 state=ready -->

## 更多 OpenClaw 指南

- [OpenClaw x Claude](https://runapi.ai/zh-HK/openclaw-claude.md) - Anthropic · 文字 · 由 $0.08 / 百萬 tokens
- [OpenClaw x DeepSeek](https://runapi.ai/zh-HK/openclaw-deepseek.md) - DeepSeek · 文字 · 由 $0.24 / 百萬 tokens
- [OpenClaw x Embedding](https://runapi.ai/zh-HK/openclaw-embedding.md) - OpenAI · 文字 · 由 $0.02 / 百萬 tokens
- [OpenClaw x Fish Audio](https://runapi.ai/zh-HK/openclaw-fish-audio.md) - Fish Audio · 音訊與音樂 · 由 $0.02 / 1K UTF-8 位元組


<!-- agent-model-guide-section: final_cta owner=API-1866 state=ready -->

## 透過 OpenClaw 開始使用 KIE

- [取得 API Key](https://runapi.ai/zh-HK/login)
- [閱讀快速開始](https://runapi.ai/zh-HK/docs/guides)


<!-- agent-model-guide-section: team_contact_cta owner=API-1873 state=ready -->
## 正在與團隊一起建立？

我們可以協助企業設定、整合和技術問題。

[聯絡我們](https://runapi.ai/zh-HK/contact.md)




<!-- agent-model-guide-section: footer owner=API-1880 state=shared -->


---

## More from RunAPI

- [Home](https://runapi.ai/zh-HK/.md)
### 產品
- [模型目錄](https://runapi.ai/zh-HK/models.md)
- [收費](https://runapi.ai/zh-HK/pricing.md)
- [服務商](https://runapi.ai/zh-HK/models#all-models)
- [Prompt 素材庫](https://runapi.ai/zh-HK/prompts.md)
### 開發者
- [文件](https://runapi.ai/zh-HK/docs/guides)
- [SDK](https://runapi.ai/zh-HK/sdk.md)
- [CLI](https://runapi.ai/zh-HK/cli.md)
- [MCP Server](https://runapi.ai/zh-HK/mcp.md)
- [x402](https://runapi.ai/zh-HK/x402.md)
### 指南
- [Claude Code 與 Cursor](https://runapi.ai/zh-HK/claude-code-vs-cursor.md)
- [Cursor API 設定](https://runapi.ai/zh-HK/cursor-api-setup.md)
- [RunAPI 與 OpenRouter](https://runapi.ai/zh-HK/openrouter-alternative.md)
### 公司
- [企業版](https://runapi.ai/zh-HK/contact.md)
- [邀請返利](https://runapi.ai/zh-HK/referral-program.md)
- [聯絡](https://runapi.ai/zh-HK/contact.md)
### 法律
- [條款](https://runapi.ai/zh-HK/terms.md)
- [私隱](https://runapi.ai/zh-HK/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai


## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/zh-HK/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "SoftwareApplication",
    "name": "OpenClaw x KIE",
    "applicationCategory": "DeveloperApplication",
    "description": "透過 RunAPI 在 OpenClaw 中使用 KIE。比較目前的模型 ID、端點與價格，再依相應流程完成設定。",
    "url": "https://runapi.ai/zh-HK/openclaw-kie"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "兩種放大模型有甚麼分別？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "圖片模型支援 1、2、4 或 8 倍放大；影片模型可輸出 1080P、2K 或 4K。"
        }
      },
      {
        "@type": "Question",
        "name": "應該使用哪個模型 ID？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "從版本表選擇公開模型 ID。每個 ID 可用的端點均列於相應資料列。"
        }
      },
      {
        "@type": "Question",
        "name": "本指南會設定聊天模型嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "不會。此 Model Line 使用頁面所示的端點流程，不會被描述為 Agent 聊天模型。"
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "HowTo",
    "name": "在 OpenClaw 中使用 KIE",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "選擇模型 ID",
        "text": "選擇公開模型 ID，並查看其端點與目前起始價格。",
        "url": "https://runapi.ai/zh-HK/openclaw-kie#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "設定 RunAPI",
        "text": "呼叫端點前設定 RUNAPI_API_KEY。",
        "url": "https://runapi.ai/zh-HK/openclaw-kie#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "驗證結果",
        "text": "對非同步端點輪詢同一路徑，直到 Task 進入終態。",
        "url": "https://runapi.ai/zh-HK/openclaw-kie#how-step-3"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "主頁",
        "item": "https://runapi.ai/zh-HK"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "OpenClaw",
        "item": "https://runapi.ai/zh-HK/openclaw"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "KIE",
        "item": "https://runapi.ai/zh-HK/openclaw-kie"
      }
    ]
  }
]
```
