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

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"

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

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

निर्धारित फ़्रेम स्थितियों पर अधिकतम 10 कीफ़्रेम से वीडियो, जिसकी अवधि 5 से 20 सेकंड तक निर्धारित होती है

Black Forest Labs · वीडियो

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

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

अनुरोध बनाएँ

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

•आवश्यक

वांछित वीडियो का टेक्स्ट विवरण।

duration 5 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 कोटेशन → $0.85
# 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 को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Flux 3 Image to Video · Keyframes to Video के बारे में

1 से 10 कीफ़्रेम चित्रों के बीच मोशन जनरेट करके वीडियो बनाता है। प्रत्येक चित्र एक विशिष्ट `frame_index` पर स्थिर होता है और प्रक्रिया `prompt` द्वारा निर्देशित होती है। कीफ़्रेम स्थितियों को मान्य करने के लिए 5 से 20 सेकंड का स्पष्ट `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
0 – 4
वीडियो सुरक्षा सहनशीलता का स्केल 4 की सबसे उदार और 0 की सबसे सख्त सेटिंग रखता है।
keyframesआवश्यक
प्रकारobject[]
≤ 10 आइटम
`frame_index` के अनुसार आउटपुट वीडियो में रखी गई कीफ़्रेम इमेज; अधिकतम 10 दें और किसी इंडेक्स को दोहराएँ नहीं।
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",
  "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-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
video
object {url, content_type, file_name, file_size}मॉडल द्वारा बनाया गया वीडियो।
seed
integerनिर्माण के दौरान उपयोग किया गया seed मान।

और मॉडल: इमेज से वीडियो

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/blackforestlabs/flux-3/keyframes-to-video.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt