Midjourney Shorten API
POSThttps://api.acedata.cloud/midjourney/shorten
Midjourney prompt analysis API, takes a prompt and returns 5 shortened candidate prompts with keyword-weight analysis.
Request Headers
acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token
Request Body
promptstringRequired parameter
Prompts to be analyzed and shortened. The Midjourney prompt analyzer will read the prompt, highlight the highest-weighted tokens, and generate 5 shortened candidate prompts that retain the core intent.
Response

Integration guide
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
Midjourney generation
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.