提交Modal
POST /mj/submit/modal
概览
| Method | POST |
|---|---|
| Path | /mj/submit/modal |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 45008037 |
参数
{ "query": [], "path": [], "cookie": [], "header": [ { "required": false, "description": "", "type": "string", "id": "GTujCrB2It", "enable": true, "name": "Authorization", "sampleValue": "Bearer {{YOUR_API_KEY}}" } ] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "maskBase64": { "type": "string", "description": "局部重绘的蒙版base64\n\n" }, "prompt": { "type": "string", "description": "提示词\n" }, "taskId": { "type": "integer", "description": "任务ID\n" } }, "required": [ "maskBase64" ], "x-apifox-orders": [ "maskBase64", "prompt", "taskId" ] }, "mediaType": "", "examples": [ { "value": "{\n \"maskBase64\": \"\",\n \"prompt\": \"\",\n \"taskId\": \"14001934816969359\"\n}", "mediaType": "application/json", "description": "" } ], "oasExtensions": "" }
响应
[ { "id": 562499911, "name": "Create image", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": { "created": { "type": "integer" }, "data": { "type": "array", "items": { "type": "object", "properties": { "url": { "type": "string" } }, "required": [ "url" ], "x-apifox-orders": [ "url" ] } } }, "required": [ "created", "data" ], "x-apifox-orders": [ "created", "data" ] }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [] } ]
响应示例
[ { "name": "Create image", "responseId": 562499911, "data": "{\n \"created\": 1589478378,\n \"data\": [\n {\n \"url\": \"https://...\"\n },\n {\n \"url\": \"https://...\"\n }\n ]\n}", "id": 440609017 } ]