Technical Specifications of mj-turbo-modal
| Specification | Details |
|---|---|
| Model ID | mj-turbo-modal |
| Model Type | Image generation support model |
| Primary Purpose | Submit the content in the modal popup, used for partial redrawing and Zoom functionality |
| Input Modalities | Text, image-related modal submission parameters |
| Output Modalities | Image generation task response, job status, and related result metadata |
| Typical Use Cases | Partial redrawing workflows, Zoom functionality, modal-based image edit requests |
| Integration Scope | API-based invocation through CometAPI-compatible request flows |
What is mj-turbo-modal?
mj-turbo-modal is a specialized model endpoint used to submit content from a modal popup in image-generation workflows. It is designed for scenarios where a user interacts with a focused editing interface, such as partial redrawing or Zoom operations, and the modal content must be sent as part of the generation or editing request.
This model ID is useful in applications that support iterative visual editing. Instead of handling only a full prompt submission flow, mj-turbo-modal supports targeted update actions that originate from modal interactions, helping developers build more precise editing experiences on top of image-generation pipelines.
Main features of mj-turbo-modal
- Modal content submission: Accepts the content configured inside a modal popup and sends it as an actionable API request.
- Partial redrawing support: Useful for workflows where only a selected portion of an image or composition should be updated.
- Zoom functionality integration: Supports modal-based submission patterns associated with Zoom-style image operations.
- Editing-oriented workflow design: Fits well into multi-step image editing interfaces rather than one-shot generation only.
- CometAPI-ready model identifier: Can be called directly using the CometAPI platform model code
mj-turbo-modal. - Structured API responses: Returns request-level data that can be used to track, retrieve, and verify downstream image-processing results.
How to access and integrate mj-turbo-modal
Step 1: Sign Up for API Key
To access the mj-turbo-modal API, first create an account on CometAPI and generate your API key from the dashboard. After obtaining the key, store it securely and use it to authenticate all requests to the CometAPI platform.
Step 2: Send Requests to mj-turbo-modal API
Use CometAPI's Midjourney-compatible endpoint at POST /mj/submit/modal.
curl https://api.cometapi.com/mj/submit/modal \
-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": ["TURBO"]
}
}'
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.