Midjourney · 實用工具

Hermes Agent x Midjourney

Midjourney 嘅圖像同影片生成以非同步方式執行,透過一把 RunAPI 金鑰回傳一致嘅任務狀態 response;prompt 工具(圖像轉 prompt、縮短 prompt、查找 seed)則同步回傳結果。

3 variants 由 $0.05 / 次請求 可商用

Prerequisite: npx runapi mcp install

Prompt

Prompt 模型

任務合適時使用 midjourney-edit-image:以單張來源圖片進行提示詞引導編輯。

You have access to RunAPI task tools for Midjourney.

Available Midjourney models:
- midjourney-edit-image: 以單張來源圖片進行提示詞引導編輯
  endpoints: /api/v1/midjourney/edit_image
  request fields: model, prompt, source_image_url
- midjourney-image-to-video: 將來源圖片製作成影片,可選動態描述及結尾畫面
  endpoints: /api/v1/midjourney/image_to_video, /api/v1/midjourney/extend_video
  request fields: model, prompt, source_image_url
- midjourney-v8.1: V8.1 文生圖,支援長寬比控制及可選提示詞翻譯
  endpoints: /api/v1/midjourney/text_to_image
  request fields: model, prompt

Use the model ID and endpoint that match the user's request.
Example prompt: 製作一張鈷藍色陶瓷花瓶放喺白色大理石上嘅電影感產品圖,再用慢速環迴運鏡將佢製作成動畫。
/api/v1/midjourney/edit_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/midjourney/edit_image,並儲存回傳的 Task ID。
GET /api/v1/midjourney/edit_image/<task-id>,直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。
/api/v1/midjourney/image_to_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/midjourney/image_to_video,並儲存回傳的 Task ID。
GET /api/v1/midjourney/image_to_video/<task-id>,直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。
/api/v1/midjourney/extend_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/midjourney/extend_video,並儲存回傳的 Task ID。
GET /api/v1/midjourney/extend_video/<task-id>,直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。
/api/v1/midjourney/text_to_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/midjourney/text_to_image,並儲存回傳的 Task ID。
GET /api/v1/midjourney/text_to_image/<task-id>,直到狀態為 completed 或 failed。
確認 completed 回應包含 API 參考中記載的端點專屬輸出。

公開版本與端點

模型 ID 端點 起始價格 模型目錄
midjourney-edit-image
/api/v1/midjourney/edit_image
$0.06 / 次請求 模型詳情
midjourney-image-to-video
/api/v1/midjourney/image_to_video /api/v1/midjourney/extend_video
$0.47 / 次請求 模型詳情
midjourney-v8.1
/api/v1/midjourney/text_to_image
$0.05 / 次請求 模型詳情

驗證

輪詢,直到 Task 進入終態

選擇 <model-id> 後產生驗證命令。

設定

指南端點: <endpoint>

選擇 <model-id> 後,依端點的公開輸入契約產生請求。

其他操作

這些操作不使用模型 ID。

  • /api/v1/midjourney/shorten_prompt
  • /api/v1/midjourney/image_to_prompt
  • /api/v1/midjourney/get_seed
使用流程

三步開始使用

  1. 選擇模型 ID

    選擇公開模型 ID,並查看其端點與目前起始價格。

  2. 設定 RunAPI

    呼叫端點前設定 RUNAPI_API_KEY。

  3. 驗證結果

    對非同步端點輪詢同一路徑,直到 Task 進入終態。

使用 Hermes Agent + Midjourney 可以建立甚麼

  • 創意概念圖

    直接在 Hermes Agent 工作流程中生成電影感概念圖、情緒板和風格探索圖。

  • 營銷圖片多版本

    根據文字需求製作精緻的活動主視覺、縮圖、商品情境和社交素材。

  • 圖片轉影片動態測試

    把選定的圖片依動態指引做成短影片,再交給後續的剪輯或發布步驟。

為甚麼透過 RunAPI + Hermes Agent 使用 Midjourney

  • 3 個變體,一個 API 金鑰

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

  • 清晰的用量價格

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

  • 自動化工作流程

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

Hermes Agent + Midjourney 常見問題

可以透過 RunAPI 在 Hermes Agent 中使用 Midjourney 嗎?

可以。Hermes Agent 可以透過其 RunAPI 供應商調用本頁列出的 RunAPI Midjourney 端點,完成圖片生成、圖片編輯和動畫任務。

在 Agent 中使用 Midjourney 需要 Discord 嗎?

不需要。RunAPI 將 Midjourney 提供為 API 端點,支援任務 ID、輪詢、callback 和 SDK。Agent 傳送 HTTP 請求即可取得媒體 URL。

Midjourney 能生成影片嗎?

可以。圖片轉影片端點可以把來源圖做成短影片,並可選擇用提示詞引導動態或鏡頭方向。

應該使用哪個模型 ID?

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

本指南會設定聊天模型嗎?

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

透過 Hermes Agent 開始使用 Midjourney

正在與團隊一起建立?

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

聯絡我們