Submit Shorten Task
Endpoint: POST https://4zapi.com/mj/submit/shorten
Analyze a prompt and return a shortened version to optimize long prompts.
Request body (application/json)
prompt(string, required): Prompt to shortenbotType(string): Bot type ["MID_JOURNEY", "NIJI_JOURNEY"]notifyHook(string): Callback URLstate(string): Custom pass-through state
Request example
{
"botType": "MID_JOURNEY",
"prompt": "a very beautiful and majestic white horse with flowing mane running through an enchanted mystical forest with golden rays of sunlight filtering through the ancient tall trees"
}