Edição de imagens
Use a API de edição de imagens da Bria via CometAPI para apagar, gen_fill, expandir, aprimorar, fazer upscale ou substituir fundos com 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.
Visão geral
A API de edição de imagens da Bria oferece um conjunto abrangente de ferramentas para manipular e aprimorar imagens.request_id retornado para consultar os resultados por meio do endpoint Query Status.O parâmetro sync é fixo nesta interface — você não precisa especificá-lo.Operações compatíveis
| Operation | Description | Documentation |
|---|---|---|
erase | Remover objetos de imagens | Bria Erase Docs |
gen_fill | Preenchimento generativo para áreas mascaradas | Bria Gen Fill Docs |
expand | Expandir a tela da imagem | Bria Expand Docs |
enhance | Aprimorar a qualidade da imagem | Bria Enhance Docs |
increase_resolution | Fazer upscale da resolução da imagem | Bria Upscale Docs |
replace_background | Substituir o fundo da imagem | Bria Background Docs |
Autorizações
Bearer token authentication. Use your CometAPI key.
Cabeçalhos
Must be application/json.
Parâmetros de caminho
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.
Resposta
Success
The response is of type object.