Prześlij do Edytora
Użyj API CometAPI Submit Editor (POST /mj/submit/edits), aby edytować obrazy Midjourney za pomocą maskBase64, promptów, opcjonalnych oryginałów oraz przezroczystych edycji.
{
"code": 123,
"description": "<string>",
"result": "<string>"
}Użyj tego endpointu, aby edytować obraz Midjourney za pomocą maski albo wygenerować wynik z przezroczystym tłem na podstawie promptu i obrazu źródłowego.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.
Dwa typowe tryby
- Edycja z maską: wyślij
maskBase64orazprompt, a opcjonalnie także oryginalnyimage - Rysowanie z przezroczystością: wyślij
imageorazprompt, gdy chcesz uzyskać wynik z przezroczystym tłem bez osobnej maski
Przebieg zadania
Prześlij zadanie do edytora
Odpytuj zadanie
Kontynuuj na podstawie wyniku
Autoryzacje
Bearer token authentication. Use your CometAPI key.
Treść
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>"
}