सामग्री पर जाएँ

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"

यह अनुरोध: $0.30 300 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Black Forest Labs इमेज से वीडियो नेटिव ऑडियोलिपसिंक5–20 s #stylized#transform#lipsync

विशिष्ट फ़्रेम स्थितियों पर स्थिर अधिकतम दस कीफ़्रेम चित्रों से बना ड्राफ्ट वीडियो

Black Forest Labs · वीडियो

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक

ड्राफ़्ट वीडियो का टेक्स्ट विवरण।

duration 5 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 कोटेशन → $0.30
# 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 को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। 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
0 – 4
वीडियो सुरक्षा सहनशीलता का स्केल 4 की सबसे उदार और 0 की सबसे सख्त सेटिंग रखता है।
keyframesआवश्यक
प्रकारobject[]
≤ 10 आइटम
अधिकतम 10 इमेज का संग्रह, जिनमें से प्रत्येक को अलग `frame_index` दिया गया हो, ताकि जनरेट किए गए ड्राफ़्ट में उसकी स्थिति तय हो सके।
keyframes[].image_urlआवश्यक
प्रकारurl · image
कीफ़्रेम इमेज का URL; PNG, JPEG या WebP स्वीकार करता है।
keyframes[].frame_indexआवश्यक
प्रकारinteger
≥ 0
कीफ़्रेम की स्थिति के लिए प्रत्येक कीफ़्रेम का अलग फ़्रेम इंडेक्स उपयोग होता है, जिसकी अधिकतम सीमा `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-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?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/hi/developers/models/blackforestlabs/flux-3/keyframes-to-video/draft.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt