কনটেন্টে যান

Flux 3 Keyframes To Video Draft

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

মডেল id blackforestlabs/flux-3/keyframes-to-video/draft
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/blackforestlabs/flux-3/keyframes-to-video/draft?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",
    "keyframes": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
        "frame_index": 0
      }
    ]
  }'

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

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

API কী পান
Black Forest Labs ছবি থেকে ভিডিও নেটিভ অডিওলিপসিঙ্ক৫–২০ s #stylized#transform#lipsync

নির্দিষ্ট ফ্রেম অবস্থানে নির্ধারিত সর্বোচ্চ দশটি কীফ্রেম ছবি ঘিরে তৈরি ড্রাফট ভিডিও

Black Forest Labs · ভিডিও

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

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

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

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

•আবশ্যক

ড্রাফট ভিডিওর টেক্সট বিবরণ।

duration ৫ s

কীফ্রেমের অবস্থান যাচাই করতে ব্যবহৃত ড্রাফটের দৈর্ঘ্য; 5 থেকে 20-এর মধ্যে স্পষ্ট পূর্ণ-সেকেন্ডের মান প্রয়োজন।

aspect_ratio ডিফল্ট auto

ড্রাফট আউটপুটের অ্যাসপেক্ট রেশিও; `auto` নির্বাচনটি মডেলের ওপর ছেড়ে দেয়।

•আবশ্যক

সর্বোচ্চ 10টি ছবির সংগ্রহ, প্রতিটির অবস্থান নির্ধারণের জন্য আলাদা `frame_index` নির্ধারিত।

অ্যাডভান্সড safety_tolerance
ডিফল্ট 2

ভিডিও সেফটি টলারেন্স এমন একটি স্কেল ব্যবহার করে যার সর্বাধিক অনুমতিশীল সেটিং 4 এবং সবচেয়ে কঠোর সেটিং 0।

POST /run/blackforestlabs/flux-3/keyframes-to-video/draft?wait=20 মূল্য → ০.৩০$
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/blackforestlabs/flux-3/keyframes-to-video/draft?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",
    "keyframes": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
        "frame_index": 0
      }
    ]
  }'

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

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

আপনার key এই ব্রাউজারেই থাকে: এটি শুধু Doitong API-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

Flux 3 Keyframes To Video Draft সম্পর্কে

একটি `prompt` এবং 1 থেকে 10টি `keyframes` দিন, প্রতিটির একটি স্বতন্ত্র `frame_index` থাকবে। কীফ্রেমের অবস্থান যাচাই করতে 5 থেকে 20 সেকেন্ডের স্পষ্ট `duration` প্রয়োজন। `aspect_ratio` auto হতে পারে অথবা 21:9 থেকে 9:16 পর্যন্ত হতে পারে, আর `generate_audio` শব্দ চালু বা বন্ধ করে। আউটপুটে পূর্ণ-মানের রেন্ডারের জন্য একটি `draft_cache` থাকে।

প্যারামিটার

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
ড্রাফট ভিডিওর টেক্সট বিবরণ।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্টauto
auto21:92:116:94:31:13:49:16
ড্রাফট আউটপুটের অ্যাসপেক্ট রেশিও; `auto` নির্বাচনটি মডেলের ওপর ছেড়ে দেয়।
durationঐচ্ছিক
ধরনenum
ডিফল্ট5
567891011121314151617181920
কীফ্রেমের অবস্থান যাচাই করতে ব্যবহৃত ড্রাফটের দৈর্ঘ্য; 5 থেকে 20-এর মধ্যে স্পষ্ট পূর্ণ-সেকেন্ডের মান প্রয়োজন।
generate_audioঐচ্ছিক
ধরনboolean
ডিফল্টtrue
ড্রাফট ভিডিওর অডিও জেনারেশন নিয়ন্ত্রণ করে।
safety_toleranceঐচ্ছিক
ধরনinteger
ডিফল্ট2
০ – ৪
ভিডিও সেফটি টলারেন্স এমন একটি স্কেল ব্যবহার করে যার সর্বাধিক অনুমতিশীল সেটিং 4 এবং সবচেয়ে কঠোর সেটিং 0।
keyframesআবশ্যক
ধরনobject[]
≤ ১০টি আইটেম
সর্বোচ্চ 10টি ছবির সংগ্রহ, প্রতিটির অবস্থান নির্ধারণের জন্য আলাদা `frame_index` নির্ধারিত।
keyframes[].image_urlআবশ্যক
ধরনurl · image
কীফ্রেম ছবির URL; PNG, JPEG বা WebP গ্রহণ করে।
keyframes[].frame_indexআবশ্যক
ধরনinteger
≥ ০
প্রতিটি কীফ্রেমের জন্য আলাদা ফ্রেম ইনডেক্স ব্যবহার করে কীফ্রেম স্থাপন করা হয়, যার সর্বোচ্চ সীমা `duration * 24`; আউটপুট 24 fps-এ চলে।
আবশ্যক

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3/keyframes-to-video/draft",
  "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": 300,
    "usd": "0.30",
    "charged": 300,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "keyframes": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
        "frame_index": 0
      }
    ]
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "draft_cache": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
আপনার ফাইল, আপনার পছন্দপ্রতিটি outputs[].url আমাদের স্টোরেজে একটি কপি: চিরকাল রাখা হয় (প্রতি GB-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?storage= অনুযায়ী বিনামূল্যে ৭ দিন পর্যন্ত।
প্রতিটি মডেলে একই গঠনছবি, ভিডিও এবং অডিও—সব ক্ষেত্রেই type, url, content_type, width, height এবং duration। output হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
video
object {url, content_type, file_name, file_size}ড্রাফট হিসেবে উৎপাদিত ভিডিও।
draft_cache
object {url, content_type, file_name, file_size} | null`draft-enhance`-এর মাধ্যমে পূর্ণ মানে ড্রাফট রেন্ডার করার ক্যাশ ডেটা, একটি স্থায়ী, এনক্রিপ্ট করা বান্ডেলে সংরক্ষিত। পার্টনার ড্রাফটের জন্য কোনো বান্ডেল ফেরত না দিলে এই আউটপুট অনুপস্থিত থাকে।

আরও মডেল: ছবি থেকে ভিডিও

AI এজেন্টদের জন্য: এই পৃষ্ঠাটি Markdown হিসেবে এখানে আছে https://doitong.com/bn/developers/models/blackforestlabs/flux-3/keyframes-to-video/draft.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt