Usa l’API di modifica immagini di Bria tramite CometAPI per cancellare, gen_fill, espandere, migliorare, aumentare la risoluzione o sostituire gli sfondi con POST /bria/image/edit/.
{}request_id restituito per interrogare i risultati tramite l’endpoint Query Status.Il parametro sync è fisso in questa interfaccia — non è necessario specificarlo.| Operation | Description | Documentation |
|---|---|---|
erase | Rimuove oggetti dalle immagini | Documentazione Bria Erase |
gen_fill | Riempimento generativo per aree mascherate | Documentazione Bria Gen Fill |
expand | Espande la tela dell’immagine | Documentazione Bria Expand |
enhance | Migliora la qualità dell’immagine | Documentazione Bria Enhance |
increase_resolution | Aumenta la risoluzione dell’immagine | Documentazione Bria Upscale |
replace_background | Sostituisce lo sfondo dell’immagine | Documentazione Bria Background |
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.
{}