تحرير الصور
استخدم Bria Image Editing API عبر CometAPI لمسح العناصر، وgen_fill، وexpand، وenhance، وupscale، أو استبدال الخلفيات باستخدام 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.
نظرة عامة
يوفر Bria Image Editing API مجموعة شاملة من الأدوات لمعالجة الصور وتحسينها.request_id المُعاد للاستعلام عن النتائج عبر نقطة النهاية Query Status.المعامل sync ثابت في هذه الواجهة — لا تحتاج إلى تحديده.العمليات المدعومة
| العملية | الوصف | التوثيق |
|---|---|---|
erase | إزالة العناصر من الصور | وثائق Bria Erase |
gen_fill | تعبئة توليدية للمناطق المقنّعة | وثائق Bria Gen Fill |
expand | توسيع مساحة الصورة | وثائق Bria Expand |
enhance | تحسين جودة الصورة | وثائق Bria Enhance |
increase_resolution | رفع دقة الصورة | وثائق Bria Upscale |
replace_background | استبدال خلفية الصورة | وثائق 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.