Modifica delle immagini
Usa l’API Bria Image Editing tramite CometAPI per erase, gen_fill, expand, enhance, upscale o sostituire gli sfondi con 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.
Panoramica
L’API Bria Image Editing offre una suite completa di strumenti per manipolare e migliorare le immagini.request_id restituito per recuperare i risultati tramite l’endpoint Query Status.Il parametro sync è fisso su questa interfaccia — non è necessario specificarlo.Operazioni supportate
| Operation | Description | Documentation |
|---|---|---|
erase | Rimuove oggetti dalle immagini | Bria Erase Docs |
gen_fill | Riempimento generativo per aree mascherate | Bria Gen Fill Docs |
expand | Espande la tela dell’immagine | Bria Expand Docs |
enhance | Migliora la qualità dell’immagine | Bria Enhance Docs |
increase_resolution | Aumenta la risoluzione dell’immagine | Bria Upscale Docs |
replace_background | Sostituisce lo sfondo dell’immagine | Bria Background Docs |
Autorizzazioni
Bearer token authentication. Use your CometAPI key.
Intestazioni
Must be application/json.
Parametri del percorso
Editing action to perform. Supported values: erase, gen_fill, expand, enhance, increase_resolution, replace_background.
Corpo
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.
Risposta
Success
The response is of type object.