Make Square
POST
/api/v1/nova/buttonMake the generated image square.
Request
Body Params application/json
messageId
string
required
The unique identifier you get from your previous image generation request.
button
enum<string>
required
The valid button action for Midjourney. The button value needs be within the "buttons" array in /message endpoint's response. E.g. "Make Square"
Allowed value:
Make Square
ref
string
optional
The reference metadata which will return as part of the webhook.
webhookOverride
string
optional
The webhook URL which the response will send to, the payload of this webhook is same as our Message endpoint.
Example
{
"messageId": "string",
"button": "Make Square",
"ref": "string",
"webhookOverride": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
required
The status of the request.
messageId
string
required
The messageId of the request, which will be used for querying the progress, sending subsequential actions later, etc.
createdAt
string
required
The timestamp of the job creation.
error
string
optional
The error message, if any
Example
{
"success": true,
"messageId": "d15c1541-229a-442b-9873-d3494dede12a",
"createdAt": "2023-08-01T14:03:01.817Z"
}
Last modified: a month ago