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

Flux 3 First Last Frame to Video Draft

इंटीग्रेट करें

मॉडल id blackforestlabs/flux-3/first-last-frame-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/first-last-frame-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "end_image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

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

•आवश्यक

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

•आवश्यक start_image_url
फ़ाइल ड्रॉप करें, या

ड्राफ़्ट की शुरुआती इमेज डेटा URI या URL के माध्यम से दें।

•आवश्यक end_image_url
फ़ाइल ड्रॉप करें, या

ड्राफ़्ट की अंतिम इमेज को डेटा URI या URL के माध्यम से दें।

duration 5 s

स्पष्ट रूप से निर्दिष्ट किए जाने पर ड्राफ़्ट की लंबाई, जो वीडियो के आरंभ और अंत में दोनों इमेज को स्थिर करती है; 5 से 20 तक के पूर्ण-सेकंड मान स्वीकार करती है।

aspect_ratio डिफ़ॉल्ट auto

ड्राफ़्ट आउटपुट का आस्पेक्ट रेशियो; `auto` चयन मॉडल को सौंपता है।

उन्नत safety_tolerance
डिफ़ॉल्ट 2

वीडियो सुरक्षा सहनशीलता का स्केल 4 की सबसे उदार और 0 की सबसे सख्त सेटिंग रखता है।

POST /run/blackforestlabs/flux-3/first-last-frame-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/first-last-frame-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "end_image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 First Last Frame to Video Draft के बारे में

`start_image_url` और `end_image_url` के साथ `prompt` दें, और उनके बीच ड्राफ्ट जनरेट किया जाएगा। `duration` 5 से 20 सेकंड होता है और स्पष्ट मान चित्रों को वीडियो की सीमाओं पर स्थिर करता है। `aspect_ratio` `auto` या 21:9 से 9:16 तक हो सकता है। ऑडियो जनरेशन को चालू या बंद किया जा सकता है और बाद में पूर्ण-गुणवत्ता वाले रेंडर के लिए `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 की सबसे सख्त सेटिंग रखता है।
start_image_urlआवश्यक image
प्रकारurl · image
ड्राफ़्ट की शुरुआती इमेज डेटा URI या URL के माध्यम से दें।
end_image_urlआवश्यक end_image
प्रकारurl · image
ड्राफ़्ट की अंतिम इमेज को डेटा URI या URL के माध्यम से दें।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3/first-last-frame-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",
    "start_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "end_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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/first-last-frame-to-video/draft.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt