Görüntü düzenleme
POST /bria/image/edit/ aracılığıyla CometAPI üzerinden Bria Image Editing API’yi kullanarak arka planları erase, gen_fill, expand, enhance, upscale veya replace_background ile değiştirebilirsiniz.
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.
Genel bakış
Bria’nın Image Editing API’si, görüntüleri düzenlemek ve iyileştirmek için kapsamlı bir araç seti sunar.request_id değerini kullanarak Sorgu durumu endpoint’i üzerinden sonuçları sorgulayın.sync parametresi bu arayüzde sabittir — belirtmeniz gerekmez.Desteklenen işlemler
| İşlem | Açıklama | Dokümantasyon |
|---|---|---|
erase | Görüntülerden nesneleri kaldırır | Bria Erase Docs |
gen_fill | Maskelenmiş alanlar için üretken doldurma | Bria Gen Fill Docs |
expand | Görüntü tuvalini genişletir | Bria Expand Docs |
enhance | Görüntü kalitesini iyileştirir | Bria Enhance Docs |
increase_resolution | Görüntü çözünürlüğünü yükseltir | Bria Upscale Docs |
replace_background | Görüntü arka planını değiştirir | Bria Background Docs |
Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Başlıklar
Must be application/json.
Yol Parametreleri
Editing action to perform. Supported values: erase, gen_fill, expand, enhance, increase_resolution, replace_background.
Gövde
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.
Yanıt
Success
The response is of type object.