This site has been authorized by Midjourney as an official agent and supports all model operations on the official website.
Version
To specify a model version, pleasepromptAdd in--vParameters such ascat --v 7。
speed
Midjourney supports three speeds:relax、fast、turbo。
relax: Slow speed, generation time is 90~300s.fast: Fast, generation time is 30~100s.turbo: Extremely fast, generation time is 10~40s.
- Speed does not affect image quality, just the generation time.
- The default speed is
fast。
Set speed manually
The three methods, in order from high to low according to priority, are:- Set speed via token configuration.
- Set the speed via the AccountFilter.Modes parameter.
- by calling path
mjmodeParameter setting speed.
Set speed via token configuration
In [Token Configuration > Midjouney Settings] multiple speed priorities can be set.Set speed via AccountFilter parameter
Set speeds are attempted sequentially according to sequential priority.by calling pathmjmodeParameter setting speed
Take the imagine interface as an example
- Original interface:
/mj/submit/imagine
/mj-turbo、/mj-fast、/mj-relax。
- If you want turbo, modify the interface:
/mj-turbo/mj/submit/imagine
ability
- generate image
- Image blending
- Perform all sub-task operations such as enlarging, zooming, partial redrawing, panning, and transforming images
- Image description (picture and text)
- Get image seed
- Edit picture
- Upload pictures
- Generate video
- Extend video
Start quickly
You can quickly familiarize yourself with the MJ process by following the steps below1. Generate pictures
Use the /mj/submit/imagine interface to draw, which will respond to a task id.2. Query tasks
Use the query task interface to query the task ID to obtain the drawing result. If STATUS=SUCCESS, the task is successful; inbuttonsContains the operations that can be performed on the task, each operation has a separatecustom_id。
3. Manipulate pictures
If you want to operate on the image, call/mj/submit/actioninterface;
Use what you just obtained when querying the taskcustom_idand task ID, if you perform the operation, you will get a new task ID;
Repeat step two to continue querying task results for new tasks.
4. Capital
When calling the Action interface for custom zoom/partial redrawing and other operations, Waiting for window confirm will be prompted; At this time, you need to use the response ID of this task to call again./mj/submit/modalInterface to submit tasks.
Image address
You can choose the image proxy method in the token editing area. This site will transfer images by default to improve access speed. After completing the drawing task, if it is a 4-picture puzzle task, when querying the task interface, it will return:image_url: Main image link, the image will be transferred by default to improve access speed.image_urls: 4 picture links, usually midjourney original picture links, accessible, but with anti-crawler treatmentbuttons: Button list, containing parameters for all subtask operations
buttonsThe corresponding parameters within are submitted to/mj/submit/actioninterface.
Things to note
partial redraw
When performing partial redraw (Inpaint), you need to upload the mask imagemaskBase64parameter.
maskBase64Only base64-encoded images can be accepted, which need to be black and white. The white part is the part that needs to be redrawn, and the black part is the part that does not need to be redrawn.
Edit picture
When editing a picture (Edit), you need to upload the pictureimageparameter.
imageBase64 encoding or URL links are acceptable; based on the original image, make the area that needs to be re-edited transparent and leave other parts unchanged.