কনটেন্টে যান

Flux 3 Image to Video · Keyframes to Video

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

মডেল id blackforestlabs/flux-3/keyframes-to-video
# 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?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 ছবি থেকে ভিডিও নেটিভ অডিও4K আউটপুটলিপসিঙ্ক৫–২০ s2160p পর্যন্ত #stylized#transform#lipsync

নির্ধারিত ফ্রেম অবস্থানে সর্বোচ্চ 10টি কীফ্রেম থেকে ভিডিও, 5 থেকে 20 সেকেন্ডের নির্দিষ্ট সময়কালসহ

Black Forest Labs · ভিডিও

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

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

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

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

•আবশ্যক

পছন্দসই ভিডিওর টেক্সট বিবরণ।

duration ৫ s

কীফ্রেমের অবস্থান যাচাই করতে ভিডিওর দৈর্ঘ্য সেকেন্ডে স্পষ্টভাবে দিন।

aspect_ratio ডিফল্ট auto

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

resolution ডিফল্ট 720p

আউটপুট রেজোলিউশন, যেখানে পিক্সেল মাত্রা অ্যাসপেক্ট রেশিও দ্বারা নির্ধারিত হয়। `1080p`, `1440p` (2K) এবং `2160p` (4K)-এর জন্য সমাপ্তি ধাপে ভিডিও আপস্কেলার ব্যবহার করা হয়।

•আবশ্যক

`frame_index` অনুযায়ী আউটপুট ভিডিওতে স্থাপিত কীফ্রেম ছবি; সর্বোচ্চ 10টি দিন, এবং কোনো ইনডেক্স পুনরাবৃত্তি করবেন না।

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

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

POST /run/blackforestlabs/flux-3/keyframes-to-video?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?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 Image to Video · Keyframes to Video সম্পর্কে

১ থেকে ১০টি কীফ্রেম ছবি থেকে, প্রতিটিকে একটি অনন্য `frame_index`-এ নির্ধারণ করে এবং একটি `prompt`-এর নির্দেশনায়, তাদের মধ্যে গতি জেনারেট করে ভিডিও তৈরি করে। কীফ্রেমের অবস্থান যাচাই করতে ৫ থেকে ২০ সেকেন্ডের একটি স্পষ্ট `duration` প্রয়োজন। `resolution` 720p থেকে 2160p পর্যন্ত হতে পারে, আর অডিও জেনারেশন ঐচ্ছিক।

প্যারামিটার

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
পছন্দসই ভিডিওর টেক্সট বিবরণ।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্টauto
auto21:92:116:94:31:13:49:16
আউটপুট ভিডিওর অ্যাসপেক্ট রেশিও; `auto` নির্বাচনটি মডেলের ওপর ছেড়ে দেয়।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট720p
720p1080p1440p2160p
আউটপুট রেজোলিউশন, যেখানে পিক্সেল মাত্রা অ্যাসপেক্ট রেশিও দ্বারা নির্ধারিত হয়। `1080p`, `1440p` (2K) এবং `2160p` (4K)-এর জন্য সমাপ্তি ধাপে ভিডিও আপস্কেলার ব্যবহার করা হয়।
durationঐচ্ছিক
ধরনenum
ডিফল্ট5
567891011121314151617181920
কীফ্রেমের অবস্থান যাচাই করতে ভিডিওর দৈর্ঘ্য সেকেন্ডে স্পষ্টভাবে দিন।
generate_audioঐচ্ছিক
ধরনboolean
ডিফল্টtrue
ভিডিওতে জেনারেট করা অডিও থাকবে কি না তা নিয়ন্ত্রণ করে।
safety_toleranceঐচ্ছিক
ধরনinteger
ডিফল্ট2
০ – ৪
ভিডিও সেফটি টলারেন্স এমন একটি স্কেল ব্যবহার করে যার সর্বাধিক অনুমতিশীল সেটিং 4 এবং সবচেয়ে কঠোর সেটিং 0।
keyframesআবশ্যক
ধরনobject[]
≤ ১০টি আইটেম
`frame_index` অনুযায়ী আউটপুট ভিডিওতে স্থাপিত কীফ্রেম ছবি; সর্বোচ্চ 10টি দিন, এবং কোনো ইনডেক্স পুনরাবৃত্তি করবেন না।
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",
  "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": 850,
    "usd": "0.85",
    "charged": 850,
    "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
    },
    "seed": 42
  },
  "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}মডেল দ্বারা উৎপাদিত ভিডিও।
seed
integerজেনারেশনের সময় ব্যবহৃত সিড মান।

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

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