模型定價企業
500+ AI 模型 API,全部整合在一個 API 中。就在 CometAPI
模型 API
開發者
快速入門說明文件API 儀表板
公司
關於我們企業
資源
AI模型部落格更新日誌支援
服務條款隱私政策
© 2026 CometAPI · All rights reserved
Home/Models/Midjourney/mj_fast_inpaint
M

mj_fast_inpaint

每次請求:$0.056
商業用途
概覽
功能
定價
API

Technical Specifications of mj-fast-inpaint

SpecificationDetails
Model IDmj-fast-inpaint
Model familyMidjourney inpainting / regional image editing workflow.
Primary functionEdit selected regions of an existing image while preserving the rest of the composition.
Input typeTypically an existing generated image or prior task reference, plus region-selection data and updated prompt instructions.
Output typeA revised image with only the masked or selected area regenerated.
Workflow typeSecondary editing step rather than first-pass generation. It is generally used after an image has already been created or upscaled.
Speed tierFast inpaint variant intended for quicker turnaround than standard editing flows, as indicated by the fast model designation. This is an inference from the model name and platform labeling. (cometapi.com)
Commercial useListed as supporting commercial use on CometAPI’s model page. (cometapi.com)
Pricing on CometAPICometAPI lists mj-fast-inpaint at $0.056 per request. (cometapi.com)

What is mj-fast-inpaint?

mj-fast-inpaint is a Midjourney-oriented image editing model endpoint exposed through CometAPI for inpainting workflows. In practice, it is used when you already have an image and want to change only a specific part of it—such as replacing an object, fixing a face detail, changing clothing, or altering a background element—without regenerating the whole image from scratch. (cometapi.com)

Across Midjourney API documentation from multiple providers, inpainting is described as the API equivalent of editing a selected region of an upscaled image, often corresponding to the “Vary (Region)” style workflow. That means the model keeps the surrounding composition largely intact while re-rendering only the user-selected area according to the new prompt or edit instructions.

For developers, mj-fast-inpaint is useful when building AI design tools, creative editors, asset iteration pipelines, and post-generation correction flows. Instead of asking users to regenerate entire images repeatedly, you can offer targeted edits that are faster, more controllable, and usually more cost-efficient for refinement tasks. This characterization is based on the documented behavior of Midjourney inpainting endpoints and the positioning of mj-fast-inpaint as a dedicated inpaint model on CometAPI. (cometapi.com)

Main features of mj-fast-inpaint

  • Region-specific editing: Regenerates only a selected or masked portion of an image, leaving the rest of the composition unchanged as much as possible.
  • Prompt-guided modifications: Lets you describe what should appear in the edited area, enabling controlled replacements, additions, or removals.
  • Built for refinement workflows: Works as a follow-up editing step after initial image creation or upscaling, making it well suited for iterative creative pipelines.
  • Fast-turnaround variant: The fast designation indicates a speed-focused inpainting option for teams that prioritize quick edits and rapid iteration. This is an inference from the model naming and marketplace labeling. (cometapi.com)
  • API-friendly automation: Can be integrated into applications that need programmatic image correction, personalization, or asset versioning rather than manual editing only.
  • Commercial project support: CometAPI explicitly marks the model as available for commercial use, which is relevant for production deployments. (cometapi.com)

How to access and integrate mj-fast-inpaint

Step 1: Sign Up for API Key

Sign up on CometAPI and generate your API key from the dashboard. CometAPI provides a unified API gateway, so you can access mj-fast-inpaint using the same authentication pattern you use for other models on the platform. Store the API key securely and load it from environment variables in production environments. (cometapi.com)

Step 2: Send Requests to mj-fast-inpaint API

Use CometAPI's Midjourney-compatible endpoint at POST /mj/submit/edits.

curl https://api.cometapi.com/mj/submit/edits \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "prompt": "a futuristic cityscape at sunset --v 6.1",
    "botType": "MID_JOURNEY",
    "accountFilter": {
      "modes": ["FAST"]
    }
  }'

Step 3: Retrieve and Verify Results

The API returns a task object with a task ID. Poll GET /mj/task/{task_id}/fetch to check generation status and retrieve the output image URL when the task reaches a terminal state.

mj_fast_inpaint 的功能

探索 mj_fast_inpaint 的核心功能,專為提升效能和可用性而設計。了解這些功能如何為您的專案帶來效益並改善使用者體驗。

mj_fast_inpaint 的定價

探索 mj_fast_inpaint 的競爭性定價,專為滿足各種預算和使用需求而設計。我們靈活的方案確保您只需為實際使用量付費,讓您能夠隨著需求增長輕鬆擴展。了解 mj_fast_inpaint 如何在保持成本可控的同時提升您的專案效果。
彗星價格 (USD / M Tokens)官方價格 (USD / M Tokens)折扣
每次請求:$0.056
每次請求:$0.07
-20%

mj_fast_inpaint 的範例程式碼和 API

存取完整的範例程式碼和 API 資源,以簡化您的 mj_fast_inpaint 整合流程。我們詳盡的文件提供逐步指引,協助您在專案中充分發揮 mj_fast_inpaint 的潛力。

更多模型

G

Nano Banana 2

輸入:$0.4/M
輸出:$2.4/M
核心能力概覽:解析度:最高可達 4K(4096×4096),與 Pro 相當。參考圖片一致性:最多支援 14 張參考圖片(10 個物件 + 4 個角色),維持風格與角色一致性。極端寬高比:新增 1:4、4:1、1:8、8:1 比例,適合長圖、海報與橫幅。文字渲染:進階文字生成,適用於資訊圖表與行銷海報版面。搜尋強化:整合 Google Search + Image Search。Grounding:內建思考過程;在生成前會先對複雜提示進行推理。
D

Doubao-Seedance-2-0

每秒:$0.08
Seedance 2.0 是 ByteDance 的新一代多模態影片基礎模型,聚焦於電影級、多鏡頭敘事的影片生成。有別於單鏡頭的文本轉影片示範,Seedance 2.0 著重於基於參考的控制(圖像、短片、音訊)、跨鏡頭的角色與風格一致性,以及原生的聲畫同步——旨在使 AI 影片可用於專業創作與預視化工作流程。
C

Claude Opus 4.7

輸入:$3/M
輸出:$15/M
用於智能體與程式設計的最智能模型
A

Claude Sonnet 4.6

輸入:$2.4/M
輸出:$12/M
Claude Sonnet 4.6 是我們迄今為止最強大的 Sonnet 模型。它對模型在程式設計、電腦操作、長上下文推理、代理規劃、知識工作與設計等方面的能力進行了全面升級。Sonnet 4.6 亦提供 1M 詞元的上下文視窗,目前處於 Beta 階段。
O

GPT-5.4 nano

輸入:$0.16/M
輸出:$1/M
GPT-5.4 nano 專為速度與成本最為關鍵的任務而設計,例如分類、資料擷取、排序與子智能體。
O

GPT-5.4 mini

輸入:$0.6/M
輸出:$3.6/M
GPT-5.4 mini 將 GPT-5.4 的優勢帶入一個更快速、更高效、專為大量工作負載設計的模型。