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

> HTML version: https://runapi.ai/zh-TW/openclaw-gpt-image-2
> Site index for agents: https://runapi.ai/llms.txt

# OpenClaw x GPT Image 2

GPT Image 2 is OpenAI's newest image model, notable for near-perfect multilingual text rendering. Through RunAPI, both text-to-image and image editing endpoints share one key.

## 公開版本與端點

| 模型 ID | 版本 | 端點 | 起始價格 |
| --- | --- | --- | --- |
| `gpt-image-2` | gpt-image-2 | /api/v1/gpt_image_2/text_to_image, /api/v1/gpt_image_2/edit_image | $0.060 |

## 設定

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

```shell
export RUNAPI_API_KEY=your_api_key

curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-image-2",
  "prompt": "A cobalt vase on white marble."
}'
```


## 驗證


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


## 使用流程

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

## 常見問題

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

從版本表選擇公開模型 ID。每個 ID 可用的端點都列在對應資料列。

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

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


### 相關連結

- [OpenClaw](https://runapi.ai/zh-TW/openclaw)
- [GPT Image 2 - 模型目錄](https://runapi.ai/zh-TW/models/gpt-image-2)
- [gpt-image-2](https://runapi.ai/zh-TW/models/gpt-image-2/gpt-image-2)

---

## More from RunAPI

- [Home](https://runapi.ai/zh-TW/.md)
- [模型](https://runapi.ai/zh-TW/models.md)
- [AI 影片 API 比較](https://runapi.ai/zh-TW/ai-video-api-comparison.md)
- [OpenClaw 整合](https://runapi.ai/zh-TW/openclaw.md)
- [OpenClaw 最佳 API](https://runapi.ai/zh-TW/best-api-for-openclaw.md)
- [OpenClaw 圖片生成](https://runapi.ai/zh-TW/openclaw-image-generation.md)
- [Hermes Agent 整合](https://runapi.ai/zh-TW/hermes-agent.md)
- [價格](https://runapi.ai/zh-TW/pricing.md)
- [Claude API 價格](https://runapi.ai/zh-TW/claude-api-pricing.md)
- [ChatGPT API 價格](https://runapi.ai/zh-TW/chatgpt-api-pricing.md)
- [OpenAI API 價格](https://runapi.ai/zh-TW/openai-api-pricing.md)
- [Gemini API 價格](https://runapi.ai/zh-TW/gemini-api-pricing.md)
- [Claude Code 價格](https://runapi.ai/zh-TW/claude-code-pricing.md)
- [Claude Code API](https://runapi.ai/zh-TW/claude-code-api.md)
- [Claude Code 對比 Cursor](https://runapi.ai/zh-TW/claude-code-vs-cursor.md)
- [Claude Max 對比 API](https://runapi.ai/zh-TW/claude-max-vs-api.md)
- [Requesty 替代方案](https://runapi.ai/zh-TW/requesty-alternative.md)
- [文件](https://runapi.ai/zh-TW/docs/guides)
- [SDK](https://runapi.ai/zh-TW/sdk.md)
- [技能](https://runapi.ai/zh-TW/skills.md)
- [MCP Server](https://runapi.ai/zh-TW/mcp.md)
- [CLI](https://runapi.ai/zh-TW/cli.md)
- [意見回饋](https://runapi.makethisbetter.dev)
- [聯絡我們](mailto:support@runapi.ai)
- [服務條款](https://runapi.ai/zh-TW/terms.md)
- [隱私權](https://runapi.ai/zh-TW/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-TW",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/zh-TW/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-TW",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/zh-TWicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "SoftwareApplication",
    "name": "OpenClaw x GPT Image 2",
    "applicationCategory": "DeveloperApplication",
    "description": "透過 RunAPI 在 OpenClaw 中使用 GPT Image 2。比較目前的模型 ID、端點與價格，再依對應流程完成設定。",
    "url": "https://runapi.ai/zh-TW/openclaw-gpt-image-2"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@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-TW",
    "@type": "HowTo",
    "name": "在 OpenClaw 中使用 GPT Image 2",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "選擇模型 ID",
        "text": "選擇公開模型 ID，並查看其端點與目前起始價格。",
        "url": "https://runapi.ai/zh-TW/openclaw-gpt-image-2#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "設定 RunAPI",
        "text": "呼叫端點前設定 RUNAPI_API_KEY。",
        "url": "https://runapi.ai/zh-TW/openclaw-gpt-image-2#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "驗證結果",
        "text": "對非同步端點輪詢同一路徑，直到 Task 進入終態。",
        "url": "https://runapi.ai/zh-TW/openclaw-gpt-image-2#how-step-3"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "首頁",
        "item": "https://runapi.ai/zh-TW"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "OpenClaw",
        "item": "https://runapi.ai/zh-TW/openclaw"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "GPT Image 2",
        "item": "https://runapi.ai/zh-TW/openclaw-gpt-image-2"
      }
    ]
  }
]
```
