图片系列Midjourney
Midjourney 图片编辑
使用 Midjourney 图片编辑接口提交参考图片与编辑提示词,返回可轮询的 Midjourney 任务 ID。
Authorization
bearerAuth AuthorizationBearer <token>
使用 Authorization Bearer API Key 进行鉴权。
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/mj/submit/edits" \ -H "Content-Type: application/json" \ -d '{ "prompt": "几只鸟在飞", "image": "https://file.rixapi.com/mask.png" }'{
"code": 1,
"description": "提交成功",
"result": "1751700106922083",
"properties": {}
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}