تخطّي إلى المحتوى

Fibo Edit [Structured Instruction]

التكامل

معرّف النموذج bria/fibo-edit/edit/structured_instruction
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bria/fibo-edit/edit/structured_instruction?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

هذا الطلب: ⁨‏0.01 $⁩ 10 أرصدة API تشغيله في هذه الصفحة

الحصول على مفتاح API
Bria AI · بيانات (JSON)

ستظهر نتيجتك الأولى هنا

أنشئ طلبًا أدناه وشغّله باستخدام مفتاح API الخاص بك. تُنسخ المخرجات إلى تخزيننا، وتُحفظ إلى الأبد أو لمدة 7 أيام مجانًا.

إنشاء طلب

تُنشأ عناصر التحكم من مخطط النموذج. يتحدّث الرمز والسعر عند تغييرها.

متقدم instruction · image · mask · seed

تعليمة تصف تعديل الصورة.

image_url
أفلت ملفًا، أو

صورة مرجعية مقدمة كملف أو عنوان URL.

mask_url
أفلت ملفًا، أو

قناع اختياري للصورة المرجعية، يُوفَّر كملف أو عنوان URL.

الافتراضي 5555

بذرة تتحكم في العشوائية للحصول على نتائج قابلة لإعادة الإنتاج.

POST /run/bria/fibo-edit/edit/structured_instruction?wait=20 عرض السعر → ⁨‏0.01 $⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bria/fibo-edit/edit/structured_instruction?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

تشغيل هذا الطلب

يبقى مفتاحك في هذا المتصفح: لا يُرسل إلا إلى Doitong API ويُحفظ في localStorage فقط إذا فعّلت خيار التذكّر. الحصول على مفتاح API

حول Fibo Edit [Structured Instruction]

ينشئ التعليمة المنظمة للتحرير فقط، وليس صورة. المدخلات هي `image_url` و`mask_url` و`instruction` و`seed` اختيارياً. يغطي خرج JSON حقولاً مثل الكائنات والإضاءة والجماليات وإعداد الخلفية والخصائص الفوتوغرافية والنص المطلوب عرضه.

المعاملات

أرسل الاسم الأساسي أو الاسم الأصلي، وليس كليهما. الأسماء الأساسية

الاسمالنوع الافتراضيمسموح الوصف
image_urlاختياري image
النوعurl · image
صورة مرجعية مقدمة كملف أو عنوان URL.
mask_urlاختياري mask
النوعurl · image
قناع اختياري للصورة المرجعية، يُوفَّر كملف أو عنوان URL.
instructionاختياري
النوعstring | null
تعليمة تصف تعديل الصورة.
seedاختياري
النوعinteger
الافتراضي5555
بذرة تتحكم في العشوائية للحصول على نتائج قابلة لإعادة الإنتاج.
مطلوب الاسم الأساسي، مقبول أيضًا

تقبل معاملات الملفات عنوان URL عامًا يبدأ بـ https://، أو URI من نوع data: يصل حجمه إلى 10 MB، أو file_url لملف تم تحميله. الملفات

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo-edit/edit/structured_instruction",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 10,
    "usd": "0.01",
    "charged": 10,
    "refunded": 0
  },
  "input": {},
  "output": {
    "short_description": "string",
    "objects": [
      {
        "description": "string",
        "location": "string",
        "relationship": "string",
        "relative_size": "string",
        "shape_and_color": "string",
        "texture": "string",
        "appearance_details": "string",
        "number_of_objects": 1,
        "pose": "string",
        "expression": "string",
        "clothing": "string",
        "action": "string",
        "gender": "string",
        "skin_tone_and_texture": "string",
        "orientation": "string"
      }
    ],
    "background_setting": "string",
    "lighting": {
      "conditions": "string",
      "direction": "string",
      "shadows": "string"
    },
    "aesthetics": {
      "composition": "string",
      "color_scheme": "string",
      "mood_atmosphere": "string",
      "preference_score": "string",
      "aesthetic_score": "string"
    },
    "photographic_characteristics": {
      "depth_of_field": "string",
      "focus": "string",
      "camera_angle": "string",
      "lens_focal_length": "string"
    },
    "style_medium": "string",
    "text_render": [],
    "context": "string",
    "artistic_style": "string",
    "edit_instruction": "string"
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ملفاتك، خيارككل outputs[].url هو نسخة على تخزيننا: تُحفظ إلى الأبد (مع الدفع لكل غيغابايت-شهر) أو لمدة 7 أيام مجانًا، وفق إعداد حسابك أو ?storage=.
البنية نفسها في كل نموذجtype وurl وcontent_type وwidth وheight وduration للصور والفيديو والصوت على حد سواء. output هو كائن النتائج الخاص بالنموذج.
حقول المخرجات
short_description
string | nullوصف موجز لصورة المخرج المقصودة.
objects
array of object {description, location, relationship, relative_size, shape_and_color, texture, appearance_details, number_of_objects, pose, expression, clothing, action, gender, skin_tone_and_texture, orientation} | nullحدّد محتوى الصورة المولدة كقائمة تسجل سمات كل كائن وعلاقاته بالكائنات الأخرى الظاهرة.
background_setting
string | nullإعداد الخلفية للصورة المولدة.
lighting
object {conditions, direction, shadows} | nullالإضاءة للصورة المولدة.
aesthetics
object {composition, color_scheme, mood_atmosphere, preference_score, aesthetic_score} | nullالخصائص الجمالية للصورة المولدة.
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullالخصائص الفوتوغرافية للصورة المولدة.
style_medium
string | nullالوسيط الفني للصورة المولدة.
text_render
array of any | nullقائمة إدخالات نصية لإدراجها في الصورة.
context
string | nullسياق الصورة المولدة.
artistic_style
string | nullالنمط الفني للصورة المولدة.
edit_instruction
string | nullتعليمة تصف كيفية تحرير الصورة.

مزيد من النماذج: LLM

لوكلاء الذكاء الاصطناعي: تتوفر هذه الصفحة بصيغة Markdown على https://doitong.com/ar/developers/models/bria/fibo-edit/edit/structured_instruction.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt