Editörü Gönder
Midjourney görsellerini maskBase64, prompt’lar, isteğe bağlı orijinaller ve şeffaf düzenlemelerle düzenlemek için CometAPI Submit Editor API’sini (POST /mj/submit/edits) kullanın.
{
"code": 123,
"description": "<string>",
"result": "<string>"
}Bu endpoint’i, bir Midjourney görselini maske ile düzenlemek veya prompt ile kaynak görselden şeffaf arka planlı bir sonuç üretmek için kullanı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.
İki yaygın mod
- Maskeli düzenleme:
maskBase64ile birliktepromptgönderin, isteğe bağlı olarak orijinalimageda ekleyin - Şeffaf çizim: ayrı bir maske olmadan şeffaf arka planlı bir sonuç istediğinizde
imageile birliktepromptgönderin
Görev akışı
Editör görevini gönderin
Görevi sorgulayın
Sonuçtan devam edin
Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Gövde
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>"
}