이미지 편집
CometAPI를 통해 Bria Image Editing API를 사용하여 POST /bria/image/edit/로 erase, gen_fill, expand, enhance, upscale 또는 배경 교체를 수행합니다.
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.
개요
Bria의 Image Editing API는 이미지를 조작하고 향상시키기 위한 포괄적인 도구 모음을 제공합니다.request_id를 사용해 Query Status 엔드포인트로 결과를 조회하세요.이 인터페이스에서는 sync 파라미터가 고정되어 있으므로 별도로 지정할 필요가 없습니다.지원되는 작업
| 작업 | 설명 | 문서 |
|---|---|---|
erase | 이미지에서 객체 제거 | Bria Erase Docs |
gen_fill | 마스킹된 영역에 대한 생성형 채우기 | Bria Gen Fill Docs |
expand | 이미지 캔버스 확장 | Bria Expand Docs |
enhance | 이미지 품질 향상 | Bria Enhance Docs |
increase_resolution | 이미지 해상도 업스케일 | Bria Upscale Docs |
replace_background | 이미지 배경 교체 | 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.