কনটেন্টে যান

Fibo

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

মডেল id bria/fibo/generate
# 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?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 টেক্সট থেকে ছবি #bria#fibo#prompt-adherence

সাধারণ বা কাঠামোবদ্ধ JSON প্রম্পট দ্বারা পরিচালিত text-to-image মডেল, ঐচ্ছিক রেফারেন্স ছবি এবং 1MP বা 4MP আউটপুটসহ

Bria AI · ছবি

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

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

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

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

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

aspect_ratio ডিফল্ট 1:1

ছবির অনুপাত; উপলভ্য মান হলো 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9।

resolution ডিফল্ট 1MP

জেনারেট করা ছবির রেজোলিউশন।

অ্যাডভান্সড negative_prompt · image · steps_num · seed · structured_prompt
ডিফল্ট

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

image_url
একটি ফাইল ড্রপ করুন, অথবা

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

ডিফল্ট 50

ইনফারেন্স ধাপের মোট সংখ্যা।

ডিফল্ট 5555

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

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

POST /run/bria/fibo/generate?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?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 সম্পর্কে

`prompt` বা JSON `structured_prompt` থেকে ছবি জেনারেট করে এবং `image_url`-এর মাধ্যমে একটি রেফারেন্স ছবি নিতে পারে। `resolution` 1MP বা 4MP, `steps_num` 20 থেকে 50 পর্যন্ত এবং নয়টি অ্যাসপেক্ট রেশিও উপলভ্য। এটি `negative_prompt` ও `seed` সমর্থন করে এবং ব্যবহৃত কাঠামোবদ্ধ প্রম্পটটি ফেরত দেয়।

প্যারামিটার

ক্যানোনিকাল নাম অথবা নেটিভ নাম—দুটো একসঙ্গে নয়—পাঠান। ক্যানোনিকাল নামগুলো

নামধরন ডিফল্টঅনুমোদিত বিবরণ
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।
steps_numঐচ্ছিক
ধরনinteger
ডিফল্ট50
২০ – ৫০
ইনফারেন্স ধাপের মোট সংখ্যা।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্ট1:1
1:12:33:23:44:34:55:49:1616:9
ছবির অনুপাত; উপলভ্য মান হলো 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9।
negative_promptঐচ্ছিক
ধরনstring
ডিফল্ট
ছবি জেনারেট করার সময় ব্যবহৃত নেগেটিভ প্রম্পট।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট1MP
1MP4MP
জেনারেট করা ছবির রেজোলিউশন।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

ফাইল প্যারামিটার হিসেবে একটি পাবলিক https:// URL, 10 MB পর্যন্ত একটি data: URI, অথবা আপলোডের file_url গ্রহণ করা হয়। ফাইল

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo/generate",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "image": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768
    },
    "images": [
      {}
    ],
    "structured_prompt": {}
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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 হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
image
object {url, content_type, file_name, file_size, width, height}মডেল দ্বারা তৈরি ছবি।
images
array of objectজেনারেশনের মাধ্যমে তৈরি ছবিগুলো।
structured_prompt
objectবর্তমানে ব্যবহৃত প্রম্পট।

আরও মডেল: টেক্সট থেকে ছবি

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