Gửi Editor
Sử dụng API CometAPI Submit Editor (POST /mj/submit/edits) để chỉnh sửa ảnh Midjourney với maskBase64, prompt, original tùy chọn và các chỉnh sửa nền trong suốt.
{
"code": 123,
"description": "<string>",
"result": "<string>"
}Sử dụng endpoint này để chỉnh sửa ảnh Midjourney bằng mask, hoặc để tạo kết quả nền trong suốt từ prompt kết hợp với ảnh nguồn.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Hai chế độ phổ biến
- Chỉnh sửa có mask: gửi
maskBase64cùng vớiprompt, và có thể tùy chọn thêmimagegốc - Vẽ trong suốt: gửi
imagecùng vớipromptkhi bạn muốn kết quả có nền trong suốt mà không cần mask riêng
Luồng tác vụ
Gửi tác vụ editor
Thăm dò tác vụ
Tiếp tục từ kết quả
Ủy quyền
Bearer token authentication. Use your CometAPI key.
Nội dung
Text prompt describing the desired edit.
Image to edit. Pass a public URL or a base64-encoded data URI.
Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
Webhook URL to receive task status updates. Falls back to your account-level webhook if omitted.
When true, return the original provider image URL instead of a CometAPI-proxied link.
{
"code": 123,
"description": "<string>",
"result": "<string>"
}