Request
Body Params application/json
Base64 of the mask for partial redrawing
Example:14001934816969359
{
"maskBase64": "string",
"prompt": "string",
"taskId": "14001934816969359"
}
Request samples
curl --location --request POST 'https://api.302.ai/mj-relax/submit/modal' \
--header 'mj-api-secret: sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"maskBase64": "string",
"prompt": "string",
"taskId": "14001934816969359"
}'
Responses
application/json 状态码: 1(提交成功), 22(排队中), other(错误)
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}
Modified at 2025-01-14 08:27:28