ModèlesTarificationEntreprise
500+ API de modèles IA, toutes en une seule API. Simplement avec CometAPI
API des modèles
Développeur
Démarrage rapideDocumentationTableau de bord API
Entreprise
À proposEntreprise
Ressources
Modèles d'IABlogJournal des modificationsSupport
Conditions d'utilisationPolitique de confidentialité
© 2026 CometAPI · All rights reserved
Home/Models/Midjourney/mj_turbo_inpaint
M

mj_turbo_inpaint

Par requête:$0.08
Usage commercial
Aperçu
Fonctionnalités
Tarification
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.

Fonctionnalités pour mj_turbo_inpaint

Découvrez les fonctionnalités clés de mj_turbo_inpaint, conçues pour améliorer les performances et la facilité d'utilisation. Explorez comment ces capacités peuvent bénéficier à vos projets et améliorer l'expérience utilisateur.

Tarification pour mj_turbo_inpaint

Découvrez des tarifs compétitifs pour mj_turbo_inpaint, conçus pour s'adapter à différents budgets et besoins d'utilisation. Nos formules flexibles garantissent que vous ne payez que ce que vous utilisez, ce qui facilite l'adaptation à mesure que vos besoins évoluent. Découvrez comment mj_turbo_inpaint peut améliorer vos projets tout en maîtrisant les coûts.
Prix de Comet (USD / M Tokens)Prix officiel (USD / M Tokens)Remise
Par requête:$0.08
Par requête:$0.1
-20%

Exemple de code et API pour mj_turbo_inpaint

Accédez à des exemples de code complets et aux ressources API pour mj_turbo_inpaint afin de simplifier votre processus d'intégration. Notre documentation détaillée fournit des instructions étape par étape pour vous aider à exploiter tout le potentiel de mj_turbo_inpaint dans vos projets.

Plus de modèles

G

Nano Banana 2

Entrée:$0.4/M
Sortie:$2.4/M
Aperçu des capacités principales: Résolution: Jusqu'à 4K (4096×4096), comparable à Pro. Cohérence des images de référence: Jusqu'à 14 images de référence (10 objets + 4 personnages), en maintenant la cohérence du style et des personnages. Rapports d'aspect extrêmes: Nouveaux rapports 1:4, 4:1, 1:8, 8:1 ajoutés, adaptés aux images longues, aux affiches et aux bannières. Rendu de texte: Génération de texte avancée, adaptée aux infographies et aux mises en page d'affiches marketing. Amélioration de la recherche: Google Search + Image Search intégrés. Ancrage: Processus de réflexion intégré; les prompts complexes font l'objet d'un raisonnement avant la génération.
D

Doubao-Seedance-2-0

Par Seconde:$0.08
Seedance 2.0 est le modèle de fondation vidéo multimodal de nouvelle génération de ByteDance, axé sur la génération de vidéos narratives cinématographiques à plusieurs plans. Contrairement aux démonstrations texte-vers-vidéo à plan unique, Seedance 2.0 met l’accent sur un contrôle basé sur des références (images, clips courts, audio), la cohérence des personnages et des styles d’un plan à l’autre, ainsi qu’une synchronisation audio/vidéo native — visant à rendre la vidéo générée par IA utile aux workflows professionnels de création et de prévisualisation.
C

Claude Opus 4.7

Entrée:$3/M
Sortie:$15/M
Le modèle le plus intelligent pour les agents et la programmation
A

Claude Sonnet 4.6

Entrée:$2.4/M
Sortie:$12/M
Claude Sonnet 4.6 est notre modèle Sonnet le plus performant à ce jour. Il s’agit d’une mise à niveau complète des capacités du modèle dans la programmation, l’usage de l’ordinateur, le raisonnement sur des contextes étendus, la planification d’agents, le travail intellectuel et la conception. Sonnet 4.6 propose également une fenêtre de contexte de 1M de jetons en bêta.
O

GPT-5.4 nano

Entrée:$0.16/M
Sortie:$1/M
GPT-5.4 nano est conçu pour des tâches où la vitesse et le coût comptent le plus, comme la classification, l’extraction de données, le classement et les sous-agents.
O

GPT-5.4 mini

Entrée:$0.6/M
Sortie:$3.6/M
GPT-5.4 mini apporte les atouts de GPT-5.4 dans un modèle plus rapide et plus efficace, conçu pour des charges de travail à grande échelle.