cURL
curl --request POST \ --url https://proxy.innk.cc/mj/submit/edits \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "image": "<string>", "prompt": "<string>" } '
{ "code": 123, "description": "<string>", "result": "<string>", "properties": {} }
提交 编辑图片 任务
身份验证标头格式为 Bearer <API_KEY>,其中 <API_KEY> 是您的API令牌。
Bearer <API_KEY>
<API_KEY>
在需要编辑的图片上,将编辑区域改为透明
"https://file.rixapi.com/mask.png"
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQND..."
提示词
回调URL
"https://example.com/notify"
额外参数
返回原始链接
Midjourney edits response
状态码: 1(提交成功), 21(窗口等待), 22(排队中), 23(队列满), other(错误)
1
描述
"提交成功"
任务ID
1320098173412546
扩展字段
此页面对您有帮助吗?