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

Fibo · Structured Prompt

التكامل

معرّف النموذج bria/fibo/generate/structured_prompt
# 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/generate/structured_prompt?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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 LLM #bria#fibo#structured-prompting

يحوّل مطالبة أو صورة مرجعية إلى وصف JSON منظم لـFibo بدلاً من عرض صورة

Bria AI · بيانات (JSON)

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

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

إنشاء طلب

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

الموجّه المستخدم لتوليد الصور.

متقدم image · seed · structured_prompt
image_url
أفلت ملفًا، أو

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

الافتراضي 5555

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

موجّه منظم مستخدم لتوليد الصورة.

POST /run/bria/fibo/generate/structured_prompt?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/generate/structured_prompt?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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 · Structured Prompt

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

المعاملات

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

الاسمالنوع الافتراضيمسموح الوصف
promptاختياري
النوعstring | null
الموجّه المستخدم لتوليد الصور.
structured_promptاختياري
النوعobject
موجّه منظم مستخدم لتوليد الصورة.
structured_prompt.short_descriptionاختياري
النوعstring | null
وصف موجز لصورة المخرج المقصودة.
structured_prompt.objectsاختياري
النوعobject[]
الافتراضي[]
حدّد محتوى الصورة المولدة كقائمة تسجل سمات كل كائن وعلاقاته بالكائنات الأخرى الظاهرة.
structured_prompt.objects[].descriptionاختياري
النوعstring | null
وصف كائن المخرج المقصود.
structured_prompt.objects[].locationاختياري
النوعstring | null
موضع الكائن داخل الصورة.
structured_prompt.objects[].relationshipمطلوب
النوعstring
علاقة الكائن بالكائنات الأخرى في الصورة.
structured_prompt.objects[].relative_sizeاختياري
النوعstring | null
حجم الكائن بالنسبة إلى الصورة.
structured_prompt.objects[].shape_and_colorاختياري
النوعstring | null
شكل الكائن ولونه.
structured_prompt.objects[].textureاختياري
النوعstring | null
نسيج الكائن.
structured_prompt.objects[].appearance_detailsاختياري
النوعstring | null
تفاصيل تصف مظهر الكائن.
structured_prompt.objects[].number_of_objectsاختياري
النوعinteger | null
عدد الكائنات داخل الصورة.
structured_prompt.objects[].poseاختياري
النوعstring | null
وضعية الكائن الظاهر.
structured_prompt.objects[].expressionاختياري
النوعstring | null
التعبير الظاهر على الكائن.
structured_prompt.objects[].clothingاختياري
النوعstring | null
الملابس التي يرتديها الكائن الظاهر.
structured_prompt.objects[].actionاختياري
النوعstring | null
الإجراء الذي ينفذه الكائن الظاهر.
structured_prompt.objects[].genderاختياري
النوعstring | null
جنس الكائن الظاهر.
structured_prompt.objects[].skin_tone_and_textureاختياري
النوعstring | null
ملمس بشرة الكائن الظاهر ولونها.
structured_prompt.objects[].orientationاختياري
النوعstring | null
اتجاه الكائن الظاهر.
structured_prompt.background_settingاختياري
النوعstring | null
إعداد الخلفية للصورة المولدة.
structured_prompt.lightingاختياري
النوعobject
الإضاءة للصورة المولدة.
structured_prompt.lighting.conditionsاختياري
النوعstring | null
ظروف الإضاءة للصورة المولدة.
structured_prompt.lighting.directionاختياري
النوعstring | null
اتجاه الإضاءة للصورة المولدة.
structured_prompt.lighting.shadowsاختياري
النوعstring | null
الظلال التي ستظهر في الصورة المولدة.
structured_prompt.aestheticsاختياري
النوعobject
الخصائص الجمالية للصورة المولدة.
structured_prompt.aesthetics.compositionاختياري
النوعstring | null
تكوين الصورة المولدة.
structured_prompt.aesthetics.color_schemeاختياري
النوعstring | null
لوحة ألوان الصورة المولدة.
structured_prompt.aesthetics.mood_atmosphereاختياري
النوعstring | null
المزاج والأجواء في الصورة المولدة.
structured_prompt.aesthetics.aesthetic_scoreاختياري
النوعstring | null
التقييم الجمالي للصورة الجاري توليدها.
structured_prompt.aesthetics.preference_scoreاختياري
النوعstring | null
تقييم التفضيل للصورة الجاري توليدها.
structured_prompt.photographic_characteristicsاختياري
النوعobject
الخصائص الفوتوغرافية للصورة المولدة.
structured_prompt.photographic_characteristics.depth_of_fieldاختياري
النوعstring | null
عمق المجال للصورة المولدة.
structured_prompt.photographic_characteristics.focusاختياري
النوعstring | null
التركيز للصورة المولدة.
structured_prompt.photographic_characteristics.camera_angleاختياري
النوعstring | null
زاوية الكاميرا للصورة المولدة.
structured_prompt.photographic_characteristics.lens_focal_lengthاختياري
النوعstring | null
إعداد العدسة للصورة المولدة، معبّرًا عنه بالبعد البؤري.
structured_prompt.style_mediumاختياري
النوعstring | null
الوسيط الفني للصورة المولدة.
structured_prompt.text_renderاختياري
النوعany[]
الافتراضي[]
قائمة إدخالات نصية لإدراجها في الصورة.
structured_prompt.contextاختياري
النوعstring | null
سياق الصورة المولدة.
structured_prompt.artistic_styleاختياري
النوعstring | null
النمط الفني للصورة المولدة.
structured_prompt.trigger_wordاختياري
النوعstring | null
structured_prompt.sub_trigger_wordاختياري
النوعstring | null
structured_prompt.art_directionاختياري
النوعstring | null
structured_prompt.action_descriptionاختياري
النوعstring | null
structured_prompt.actor_prefixاختياري
النوعstring | null
image_urlاختياري image
النوعurl · image
صورة مرجعية مقدمة كملف أو عنوان URL.
seedاختياري
النوعinteger
الافتراضي5555
بذرة تتحكم في العشوائية للحصول على نتائج قابلة لإعادة الإنتاج.
مطلوب الاسم الأساسي، مقبول أيضًا

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

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo/generate/structured_prompt",
  "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": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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",
      "aesthetic_score": "string",
      "preference_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"
  },
  "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, aesthetic_score, preference_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النمط الفني للصورة المولدة.

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

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