Verwenden Sie die Bria Image Editing API über CometAPI, um mit POST /bria/image/edit/ Hintergründe zu entfernen, gen_fill, expand, enhance, upscale auszuführen oder zu ersetzen.
{}request_id, um die Ergebnisse über den Endpunkt Query Status abzufragen.Der Parameter sync ist in dieser Schnittstelle fest vorgegeben — Sie müssen ihn nicht angeben.| Operation | Beschreibung | Dokumentation |
|---|---|---|
erase | Objekte aus Bildern entfernen | Bria Erase Docs |
gen_fill | Generatives Füllen für maskierte Bereiche | Bria Gen Fill Docs |
expand | Bildfläche erweitern | Bria Expand Docs |
enhance | Bildqualität verbessern | Bria Enhance Docs |
increase_resolution | Bildauflösung hochskalieren | Bria Upscale Docs |
replace_background | Bildhintergrund ersetzen | Bria Background Docs |
Bearer token authentication. Use your CometAPI key.
Must be application/json.
Editing action to perform. Supported values: erase, gen_fill, expand, enhance, increase_resolution, replace_background.
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.
Success
The response is of type object.
{}