কনটেন্টে যান

Fibo · Structured Prompt

ইন্টিগ্রেট করুন

মডেল id 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"

এই অনুরোধ: ০.০১$ ১০ API ক্রেডিট এই পেজে চালান

API কী পান
Bria AI LLM #bria#fibo#structured-prompting

প্রম্পট বা রেফারেন্স ছবিকে ছবি রেন্ডার না করে Fibo-এর কাঠামোবদ্ধ JSON বিবরণে রূপান্তর করে

Bria AI · ডেটা (JSON)

আপনার প্রথম ফলাফল এখানে আসবে

নিচে একটি রিকোয়েস্ট তৈরি করে আপনার API কী দিয়ে চালান। আউটপুট আমাদের স্টোরেজে কপি করা হয়, চিরকাল বা বিনামূল্যে ৭ দিন পর্যন্ত রাখা হয়।

একটি অনুরোধ তৈরি করুন

মডেল স্কিমা থেকে কন্ট্রোল তৈরি করা হয়। এগুলো পরিবর্তন করলে কোড ও মূল্য আপডেট হয়।

ছবি জেনারেট করতে ব্যবহৃত প্রম্পট।

অ্যাডভান্সড image · seed · structured_prompt
image_url
একটি ফাইল ড্রপ করুন, অথবা

ফাইল বা URL হিসেবে দেওয়া রেফারেন্স ছবি।

ডিফল্ট 5555

পুনরুৎপাদনযোগ্য ফলাফলের জন্য এলোমেলোতা নিয়ন্ত্রণকারী seed।

ছবি জেনারেশনের জন্য ব্যবহৃত কাঠামোবদ্ধ প্রম্পট।

POST /run/bria/fibo/generate/structured_prompt?wait=20 মূল্য → ০.০১$
# 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"

এই অনুরোধ চালান

আপনার key এই ব্রাউজারেই থাকে: এটি শুধু Doitong API-তে পাঠানো হয় এবং Remember টিক দিলে কেবল 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
অবজেক্টের texture।
structured_prompt.objects[].appearance_detailsঐচ্ছিক
ধরনstring | null
অবজেক্টের চেহারা বর্ণনাকারী বিবরণ।
structured_prompt.objects[].number_of_objectsঐচ্ছিক
ধরনinteger | null
ছবির মধ্যে অবজেক্টের সংখ্যা।
structured_prompt.objects[].poseঐচ্ছিক
ধরনstring | null
চিত্রিত অবজেক্টের pose।
structured_prompt.objects[].expressionঐচ্ছিক
ধরনstring | null
চিত্রিত অবজেক্টের অভিব্যক্তি।
structured_prompt.objects[].clothingঐচ্ছিক
ধরনstring | null
চিত্রিত অবজেক্টের পরা পোশাক।
structured_prompt.objects[].actionঐচ্ছিক
ধরনstring | null
চিত্রিত অবজেক্টের সম্পাদিত action।
structured_prompt.objects[].genderঐচ্ছিক
ধরনstring | null
চিত্রিত অবজেক্টের gender।
structured_prompt.objects[].skin_tone_and_textureঐচ্ছিক
ধরনstring | null
চিত্রিত অবজেক্টের ত্বকের texture ও tone।
structured_prompt.objects[].orientationঐচ্ছিক
ধরনstring | null
চিত্রিত অবজেক্টের orientation।
structured_prompt.background_settingঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির background setting।
structured_prompt.lightingঐচ্ছিক
ধরনobject
উৎপন্ন ছবির lighting।
structured_prompt.lighting.conditionsঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির lighting conditions।
structured_prompt.lighting.directionঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির lighting direction।
structured_prompt.lighting.shadowsঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবিতে চিত্রিত করার shadows।
structured_prompt.aestheticsঐচ্ছিক
ধরনobject
উৎপন্ন ছবির aesthetic qualities।
structured_prompt.aesthetics.compositionঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির composition।
structured_prompt.aesthetics.color_schemeঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির color palette।
structured_prompt.aesthetics.mood_atmosphereঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির mood ও atmosphere।
structured_prompt.aesthetics.aesthetic_scoreঐচ্ছিক
ধরনstring | null
জেনারেট করা ছবির নান্দনিক স্কোর।
structured_prompt.aesthetics.preference_scoreঐচ্ছিক
ধরনstring | null
জেনারেট করা ছবির পছন্দের স্কোর।
structured_prompt.photographic_characteristicsঐচ্ছিক
ধরনobject
উৎপন্ন ছবির photographic properties।
structured_prompt.photographic_characteristics.depth_of_fieldঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির depth of field।
structured_prompt.photographic_characteristics.focusঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির focus।
structured_prompt.photographic_characteristics.camera_angleঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির camera angle।
structured_prompt.photographic_characteristics.lens_focal_lengthঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির lens setting, focal length হিসেবে প্রকাশিত।
structured_prompt.style_mediumঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির stylistic medium।
structured_prompt.text_renderঐচ্ছিক
ধরনany[]
ডিফল্ট[]
ছবিতে অন্তর্ভুক্ত করার text entries-এর তালিকা।
structured_prompt.contextঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির context।
structured_prompt.artistic_styleঐচ্ছিক
ধরনstring | null
উৎপন্ন ছবির artistic style।
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
পুনরুৎপাদনযোগ্য ফলাফলের জন্য এলোমেলোতা নিয়ন্ত্রণকারী seed।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

ফাইল প্যারামিটার হিসেবে একটি পাবলিক https:// URL, 10 MB পর্যন্ত একটি data: URI, অথবা আপলোডের 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 আমাদের স্টোরেজে একটি কপি: চিরকাল রাখা হয় (প্রতি GB-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?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উৎপন্ন ছবির background setting।
lighting
object {conditions, direction, shadows} | nullউৎপন্ন ছবির lighting।
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score} | nullউৎপন্ন ছবির aesthetic qualities।
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullউৎপন্ন ছবির photographic properties।
style_medium
string | nullউৎপন্ন ছবির stylistic medium।
text_render
array of any | nullছবিতে অন্তর্ভুক্ত করার text entries-এর তালিকা।
context
string | nullউৎপন্ন ছবির context।
artistic_style
string | nullউৎপন্ন ছবির artistic style।

আরও মডেল: LLM

AI এজেন্টদের জন্য: এই পৃষ্ঠাটি Markdown হিসেবে এখানে আছে https://doitong.com/bn/developers/models/bria/fibo/generate/structured_prompt.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt