AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Image generationMidjourney

Action

Run an upscale, variation, or another subsequent action on an existing Midjourney task.

The Action API uses a buttons[].customId value returned in task details to run subsequent actions such as upscaling, creating variations, zooming, or panning. Do not construct a customId yourself; always use the value for the intended button in the task response.

POST/mj/submit/action

Use a customId from the task's returned buttons to run a subsequent action such as upscaling, creating a variation, zooming, or panning.

Authorization

bearerAuth
AuthorizationBearer <token>

Use Bearer your-api-key in the Authorization header.

In: header

Request Body

application/json

Action Parameters.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json