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

> HTML version: https://runapi.ai/zh-HK/hermes-qwen-image
> Site index for agents: https://runapi.ai/llms.txt


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

[Hermes Agent](https://runapi.ai/zh-HK/hermes-agent.md) / [Qwen Image](https://runapi.ai/zh-HK/models/qwen-image.md)

# Hermes Agent x Qwen Image

Qwen Image 係阿里巴巴最初一代圖像模型系列，與較新嘅 Qwen 2 世代不同。透過 RunAPI，生成、重混同編輯端點會使用各自嘅模型 ID，並採用一致嘅任務協議。

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

<!-- agent-model-guide-section: key_facts owner=API-1800 state=ready -->
3 variants · 由 $0.04 / 百萬像素 · 可商用


<!-- 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 Qwen Image.

Available Qwen Image models:
- qwen-image-edit-image: 精準文字指令編輯，具備出色語意控制能力
  endpoints: /api/v1/qwen_image/edit_image
  request fields: model, prompt, source_image_url
- qwen-image-remix-image: 提示詞引導嘅來源圖像重混，可調整原圖保留程度
  endpoints: /api/v1/qwen_image/remix_image
  request fields: model, prompt, source_image_url
- qwen-image-text-to-image: 高質素寫實文生圖，文字渲染能力出色
  endpoints: /api/v1/qwen_image/text_to_image
  request fields: model, prompt

Use the model ID and endpoint that match the user's request.
Example prompt: 製作一張黃昏杭州嘅電影感旅遊海報，湖面倒映清晰嘅中英雙語標題文字。
/api/v1/qwen_image/edit_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/qwen_image/edit_image，並儲存回傳的 Task ID。
GET /api/v1/qwen_image/edit_image/<task-id>，直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。
/api/v1/qwen_image/remix_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/qwen_image/remix_image，並儲存回傳的 Task ID。
GET /api/v1/qwen_image/remix_image/<task-id>，直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。
/api/v1/qwen_image/text_to_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/qwen_image/text_to_image，並儲存回傳的 Task ID。
GET /api/v1/qwen_image/text_to_image/<task-id>，直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。
```





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

透過本指南使用 RunAPI 與 Qwen Image。

可用的 Qwen Image 模型：

- `qwen-image-edit-image`: 精準文字指令編輯，具備出色語意控制能力
- `qwen-image-remix-image`: 提示詞引導嘅來源圖像重混，可調整原圖保留程度
- `qwen-image-text-to-image`: 高質素寫實文生圖，文字渲染能力出色
任務合適時使用 qwen-image-edit-image：精準文字指令編輯，具備出色語意控制能力。



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

## 公開版本與端點

| 模型 ID | 版本 | 端點 | 起始價格 |
| --- | --- | --- | --- |
| `qwen-image-edit-image` | 精準文字指令編輯，具備出色語意控制能力 | /api/v1/qwen_image/edit_image | $0.06 / 百萬像素 |
| `qwen-image-remix-image` | 提示詞引導嘅來源圖像重混，可調整原圖保留程度 | /api/v1/qwen_image/remix_image | $0.04 / 百萬像素 |
| `qwen-image-text-to-image` | 高質素寫實文生圖，文字渲染能力出色 | /api/v1/qwen_image/text_to_image | $0.04 / 百萬像素 |


<!-- 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 -->

## 使用 Hermes Agent + Qwen Image 可以建立甚麼

**營銷與產品圖片**

根據文字需求生成營銷活動圖片、產品圖和社交媒體素材。

**批量素材變體**

一次運行生成同一創意的多個版本，比較風格、版面和尺寸。

**編輯與局部重繪**

當模型提供編輯端點時，描述對背景、物件或細節的修改即可調整現有圖片。



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

## 為甚麼透過 RunAPI + Hermes Agent 使用 Qwen Image

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

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

**清晰的用量價格**

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

**自動化工作流程**

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




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

## Hermes Agent + Qwen Image 常見問題

### Qwen Image 可以做啲咩？

可以用提示詞建立圖像、按提示詞引導重混來源圖像以產生新結果，亦可以按文字指令編輯現有圖像。

### Qwen Image 同 Qwen 2 有咩分別？

兩者屬於不同世代嘅模型，亦使用不同嘅 RunAPI 模型 ID。如需使用最初一代 Qwen Image 嘅生成、重混或編輯流程，請選擇 Qwen Image，以免同 Qwen 2 混淆。

### Qwen Image 可以喺圖像入面生成文字嗎？

可以。出色嘅文字渲染能力係 Qwen Image 系列嘅核心優勢之一，包括中文同英文文字。

### 重混同編輯有咩分別？

重混會按新提示詞重新演繹來源圖像；編輯就會用更精準嘅指令修改選定內容，同時保留構圖嘅其餘部分。

### Qwen Image 支援語意圖像編輯嗎？

支援。編輯模型會遵循自然語言指令加入、移除或更改視覺元素，同時保留相關場景脈絡。

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

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

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

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




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

## 更多 Hermes Agent 指南

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


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

## 透過 Hermes Agent 開始使用 Qwen Image

- [取得 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)
### 開發者
- [文件](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/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/zh-HKicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "SoftwareApplication",
    "name": "Hermes Agent x Qwen Image",
    "applicationCategory": "DeveloperApplication",
    "description": "透過 RunAPI 在 Hermes Agent 中使用 Qwen Image。比較目前的模型 ID、端點與價格，再依相應流程完成設定。",
    "url": "https://runapi.ai/zh-HK/hermes-qwen-image"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "Qwen Image 可以做啲咩？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以用提示詞建立圖像、按提示詞引導重混來源圖像以產生新結果，亦可以按文字指令編輯現有圖像。"
        }
      },
      {
        "@type": "Question",
        "name": "Qwen Image 同 Qwen 2 有咩分別？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "兩者屬於不同世代嘅模型，亦使用不同嘅 RunAPI 模型 ID。如需使用最初一代 Qwen Image 嘅生成、重混或編輯流程，請選擇 Qwen Image，以免同 Qwen 2 混淆。"
        }
      },
      {
        "@type": "Question",
        "name": "Qwen Image 可以喺圖像入面生成文字嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以。出色嘅文字渲染能力係 Qwen Image 系列嘅核心優勢之一，包括中文同英文文字。"
        }
      },
      {
        "@type": "Question",
        "name": "重混同編輯有咩分別？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "重混會按新提示詞重新演繹來源圖像；編輯就會用更精準嘅指令修改選定內容，同時保留構圖嘅其餘部分。"
        }
      },
      {
        "@type": "Question",
        "name": "Qwen Image 支援語意圖像編輯嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "支援。編輯模型會遵循自然語言指令加入、移除或更改視覺元素，同時保留相關場景脈絡。"
        }
      },
      {
        "@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": "在 Hermes Agent 中使用 Qwen Image",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "選擇模型 ID",
        "text": "選擇公開模型 ID，並查看其端點與目前起始價格。",
        "url": "https://runapi.ai/zh-HK/hermes-qwen-image#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "設定 RunAPI",
        "text": "呼叫端點前設定 RUNAPI_API_KEY。",
        "url": "https://runapi.ai/zh-HK/hermes-qwen-image#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "驗證結果",
        "text": "對非同步端點輪詢同一路徑，直到 Task 進入終態。",
        "url": "https://runapi.ai/zh-HK/hermes-qwen-image#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": "Hermes Agent",
        "item": "https://runapi.ai/zh-HK/hermes-agent"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Qwen Image",
        "item": "https://runapi.ai/zh-HK/hermes-qwen-image"
      }
    ]
  }
]
```
