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

mj_turbo_inpaint

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

Technical Specifications of mj-turbo-inpaint

SpecificationDetails
Model IDmj-turbo-inpaint
Model familyMidjourney-style image editing / inpainting workflow
Primary capabilityImage inpainting and localized image editing using masked regions
Input modalitiesImage input plus text prompt; typically paired with a mask or selected edit region
Output modalityEdited image
Editing scopeTargeted replacement or regeneration of selected portions of an image while preserving surrounding composition
Performance profileTurbo-oriented workflow intended for faster turnaround than standard generation modes
Access patternThird-party API access to Midjourney-style functionality rather than an official native Midjourney public API
Typical use casesObject replacement, background cleanup, costume changes, region-specific redesign, compositing, and iterative art-direction
Integration style on CometAPIOpenAI-compatible API access through CometAPI’s unified endpoint

What is mj-turbo-inpaint?

mj-turbo-inpaint is CometAPI’s platform identifier for a Midjourney-style inpainting model/workflow focused on fast image edits. Public Midjourney documentation describes inpainting as part of its Editor experience, where users erase or select a region and regenerate only that area from a new prompt while preserving the rest of the image. Midjourney also documents a Turbo mode that is designed to generate images significantly faster than normal fast mode, though at higher GPU cost.

Because Midjourney itself does not provide a broadly available official public API, third-party integrations commonly expose Midjourney-linked operations through intermediary APIs. Public third-party Midjourney API documentation also explicitly lists inpaint support and separate turbo routing, which aligns with CometAPI’s model naming pattern mj-turbo-inpaint. Based on those sources, this model ID should be understood as a turbo-speed Midjourney-compatible inpainting endpoint for localized image editing rather than a pure text-to-image generator.

In practice, developers would use mj-turbo-inpaint when they want to keep most of an existing image intact but selectively modify one region—for example replacing an object, changing clothing, altering a face accessory, refining a background area, or repairing unwanted image elements. This interpretation is an inference from Midjourney’s editor/inpainting behavior and third-party API descriptions of turbo inpaint support.

Main features of mj-turbo-inpaint

  • Localized image editing: Designed for inpainting workflows where only a chosen part of the image is regenerated, helping preserve the original framing, style, and untouched areas.
  • Prompt-guided modifications: Uses natural-language instructions to describe what should appear inside the edited region, making it suitable for controlled creative changes.
  • Turbo-speed execution: Midjourney’s Turbo mode is documented as using a higher-speed GPU pool to generate results faster than standard fast mode, so this model is positioned for lower-latency editing workflows.
  • Creative iteration support: Fast inpaint workflows are useful for trying multiple regional variations quickly during concept development, asset refinement, or design review cycles. This is a practical inference from the combination of inpainting and turbo behavior.
  • Useful for repair and replacement tasks: Well suited to removing distractions, swapping objects, updating backgrounds, and making compositional corrections without regenerating the full image.
  • Aggregator-friendly access: CometAPI provides a unified OpenAI-compatible interface for many models, so mj-turbo-inpaint can be consumed within a consistent API integration pattern alongside other image and language models.

How to access and integrate mj-turbo-inpaint

Step 1: Sign Up for API Key

Sign up for a CometAPI account and generate your API key in the dashboard. CometAPI uses a unified credential for its model catalog, and its public documentation describes the service as OpenAI-compatible, so the same key pattern is used across supported models, including mj-turbo-inpaint. Store the key securely and avoid exposing it in client-side code.

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

Point your client to CometAPI’s OpenAI-compatible base URL and send requests using mj-turbo-inpaint as the model identifier. CometAPI publicly documents https://api.cometapi.com/v1 as the base URL for compatible clients. For image workflows, CometAPI’s model articles also reference OpenAI-style image endpoints such as /v1/images/generations and /v1/images/edits; for an inpainting model like mj-turbo-inpaint, the edits-style workflow is the relevant pattern.

import os
import requests

url = "https://api.cometapi.com/v1/images/edits"
headers = {
    "Authorization": f"Bearer {os.environ['COMETAPI_KEY']}",
}

files = {
    "image": open("input.png", "rb"),
    # Include a mask file as required by your workflow if supported
    # "mask": open("mask.png", "rb"),
}

data = {
    "model": "mj-turbo-inpaint",
    "prompt": "Replace the selected area with a polished silver helmet, cinematic lighting, realistic detail"
}

response = requests.post(url, headers=headers, files=files, data=data, timeout=300)
print(response.json())

Step 3: Retrieve and Verify Results

Parse the JSON response, retrieve the returned image URL or encoded output, and verify that the edited region matches your prompt while the untouched areas remain consistent with the source image. For production use, validate file type, resolution, latency, and any asynchronous job metadata your client receives. If your workflow depends on precise masks or region control, test several masks and prompts to confirm how mj-turbo-inpaint behaves in your pipeline. CometAPI’s unified API approach makes it straightforward to automate this verification step in the same integration stack used for other supported models.

mj_turbo_inpaint 的功能

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

mj_turbo_inpaint 的定價

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

mj_turbo_inpaint 的範例程式碼和 API

存取完整的範例程式碼和 API 資源,以簡化您的 mj_turbo_inpaint 整合流程。我們詳盡的文件提供逐步指引,協助您在專案中充分發揮 mj_turbo_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 的優勢帶入一個更快速、更高效、專為大量工作負載設計的模型。