模型定价企业
500+ AI 模型 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 的竞争性定价,满足不同预算与使用需求,灵活方案确保随需求扩展。
Comet 价格 (USD / M Tokens)官方定价 (USD / M Tokens)折扣
每次请求:$0.08
每次请求:$0.1
-20%

mj_turbo_inpaint 的示例代码与 API

获取完整示例代码与 API 资源,简化 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 + 图片搜索。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 还在 beta 阶段提供 1M token 上下文窗口。
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 的优势融入到一款更快速、更高效、专为大规模工作负载设计的模型中。