Submit Action Task(All associated button actions UPSCALE; VARIATION; REROLL; ZOOM, etc.)
Developing
hint:
Switch modes by modifying request uri, for example:
Request
Body Params application/json
{
"customId": "MJ::JOB::upsample::3::67205abe-ad76-4055-b496-b958970f92f2",
"taskId": "1710761946823501",
"notifyHook": "string",
"state": "string"
}
Request Code Samples
curl --location --request POST 'https://api.maxapi.ai/mj-relax/mj/submit/action' \
--header 'Authorization: Bearer sk-V3ESFCWr3ZLemf878bC71eCcF36c483a8f448a02487dAdC7' \
--header 'Content-Type: application/json' \
--data-raw '{
"customId": "MJ::JOB::upsample::3::67205abe-ad76-4055-b496-b958970f92f2",
"taskId": "1710761946823501",
"notifyHook": "string",
"state": "string"
}'
Responses
application/json {
"code": "1",
"description": "Submitted successfully",
"properties": "string",
"result": "1320098173412546"
}
Modified at 2024-07-24 18:10:31