Edycja obrazów
Użyj API Bria Image Editing przez CometAPI, aby usuwać, gen_fill, rozszerzać, ulepszać, skalować w górę lub zastępować tła za pomocą POST /bria/image/edit/.
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.
Omówienie
API Bria Image Editing zapewnia kompleksowy zestaw narzędzi do modyfikowania i ulepszania obrazów.request_id, aby sprawdzić wyniki za pomocą endpointu Query Status.Parametr sync jest stały w tym interfejsie — nie musisz go podawać.Obsługiwane operacje
| Operation | Description | Documentation |
|---|---|---|
erase | Usuwanie obiektów z obrazów | Bria Erase Docs |
gen_fill | Generatywne wypełnianie zamaskowanych obszarów | Bria Gen Fill Docs |
expand | Rozszerzanie obszaru roboczego obrazu | Bria Expand Docs |
enhance | Poprawa jakości obrazu | Bria Enhance Docs |
increase_resolution | Zwiększanie rozdzielczości obrazu | Bria Upscale Docs |
replace_background | Zastępowanie tła obrazu | Bria Background Docs |
Autoryzacje
Bearer token authentication. Use your CometAPI key.
Nagłówki
Must be application/json.
Parametry ścieżki
Editing action to perform. Supported values: erase, gen_fill, expand, enhance, increase_resolution, replace_background.
Treść
Source image as a public URL or base64-encoded data URI. Accepted formats: JPEG, PNG, WebP. Maximum 12 MB.
Mask image as a public URL or base64. White areas mark the region to edit; black areas are preserved. Required for erase, gen_fill, and expand actions.
Text description of the desired edit. Required for gen_fill and replace_background actions.
Number of result variants to generate. Default: 1.
When true, the response blocks until results are ready. When false (default), returns immediately with placeholder URLs that can be polled.
Odpowiedź
Success
The response is of type object.