ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Flux 3 Extend Video Draft

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id blackforestlabs/flux-3/extend-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/extend-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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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"

ਇਹ ਬੇਨਤੀ: $2.40 2,400 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Black Forest Labs ਵੀਡੀਓ ਤੋਂ ਵੀਡੀਓ ਨੇਟਿਵ ਆਡੀਓਲਿਪਸਿੰਕ5–20 s #stylized#transform#lipsync

ਮੌਜੂਦਾ MP4 ਦੀ ਡਰਾਫਟ-ਗੁਣਵੱਤਾ ਵਾਲੀ ਜਾਰੀ ਵੀਡੀਓ, ਵਿਕਲਪਿਕ ਤੌਰ 'ਤੇ ਬਣਾਏ ਗਏ ਆਡੀਓ ਨਾਲ

Black Forest Labs · ਵੀਡੀਓ

ਤੁਹਾਡਾ ਪਹਿਲਾ ਨਤੀਜਾ ਇੱਥੇ ਹੋਵੇਗਾ

ਹੇਠਾਂ ਬੇਨਤੀ ਬਣਾਓ ਅਤੇ ਆਪਣੀ API ਕੁੰਜੀ ਨਾਲ ਚਲਾਓ। ਆਉਟਪੁੱਟ ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਕਾਪੀ ਕੀਤੇ ਜਾਂਦੇ ਹਨ ਅਤੇ ਹਮੇਸ਼ਾ ਲਈ ਜਾਂ ਮੁਫ਼ਤ ਵਿੱਚ 7 ਦਿਨ ਤੱਕ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ

ਡਰਾਫ਼ਟ ਵੀਡੀਓ ਦਾ ਟੈਕਸਟ ਵਰਣਨ।

•ਲੋੜੀਂਦਾ video_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

URL ਜਾਂ ਡੇਟਾ URI ਰਾਹੀਂ ਦਿੱਤੀ ਸਰੋਤ MP4, ਵੱਧ ਤੋਂ ਵੱਧ 50 MiB ਆਕਾਰ ਨਾਲ।

duration auto

ਡਰਾਫ਼ਟ ਦੀ ਲੰਬਾਈ, 5 ਤੋਂ 20 ਸਕਿੰਟ ਦੇ ਪੂਰਨ ਅੰਕ ਵਜੋਂ ਜਾਂ `auto` ਵਜੋਂ ਦਰਸਾਈ ਜਾਂਦੀ ਹੈ।

aspect_ratio ਡਿਫ਼ਾਲਟ auto

ਡਰਾਫ਼ਟ ਆਉਟਪੁੱਟ ਦਾ ਆਸਪੈਕਟ ਅਨੁਪਾਤ; `auto` ਚੋਣ ਮਾਡਲ ਨੂੰ ਸੌਂਪਦਾ ਹੈ।

ਉੱਨਤ safety_tolerance
ਡਿਫ਼ਾਲਟ 2

ਵੀਡੀਓ ਸੁਰੱਖਿਆ ਸਹਿਣਸ਼ੀਲਤਾ ਦੇ ਸਕੇਲ ਵਿੱਚ ਸਭ ਤੋਂ ਉਦਾਰ ਸੈਟਿੰਗ 4 ਅਤੇ ਸਭ ਤੋਂ ਸਖ਼ਤ ਸੈਟਿੰਗ 0 ਹੈ।

POST /run/blackforestlabs/flux-3/extend-video/draft?wait=20 ਕੋਟ → $2.40
# 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/extend-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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 Extend Video Draft ਬਾਰੇ

`prompt` ਦੀ ਪਾਲਣਾ ਕਰਦਿਆਂ ਸਰੋਤ ਵੀਡੀਓ (`video_url`, MP4, ਵੱਧ ਤੋਂ ਵੱਧ 50 MiB) ਨੂੰ ਅੱਗੇ ਵਧਾਉਂਦਾ ਹੈ। `duration` `auto` ਜਾਂ ਸਕਿੰਟਾਂ ਦੀ ਪੂਰੀ ਗਿਣਤੀ ਹੋ ਸਕਦੀ ਹੈ, ਅਤੇ `aspect_ratio` 21:9 ਤੋਂ 9:16 ਤੱਕ ਜਾਂ `auto` ਹੋ ਸਕਦਾ ਹੈ। `generate_audio` ਧੁਨੀ ਨੂੰ ਚਾਲੂ ਜਾਂ ਬੰਦ ਕਰਦਾ ਹੈ, ਅਤੇ `safety_tolerance` 0 ਤੋਂ 4 ਤੱਕ ਹੁੰਦਾ ਹੈ। ਵਾਪਸ ਮਿਲਣ ਵਾਲੇ `draft_cache` ਨੂੰ ਪੂਰੀ-ਗੁਣਵੱਤਾ ਵਾਲੇ ਰੈਂਡਰ ਲਈ `draft-enhance` ਨੂੰ ਦਿੱਤਾ ਜਾ ਸਕਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਡਰਾਫ਼ਟ ਵੀਡੀਓ ਦਾ ਟੈਕਸਟ ਵਰਣਨ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
auto21:92:116:94:31:13:49:16
ਡਰਾਫ਼ਟ ਆਉਟਪੁੱਟ ਦਾ ਆਸਪੈਕਟ ਅਨੁਪਾਤ; `auto` ਚੋਣ ਮਾਡਲ ਨੂੰ ਸੌਂਪਦਾ ਹੈ।
durationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
auto5678910111213141516171819
+1 ਹੋਰ20
ਡਰਾਫ਼ਟ ਦੀ ਲੰਬਾਈ, 5 ਤੋਂ 20 ਸਕਿੰਟ ਦੇ ਪੂਰਨ ਅੰਕ ਵਜੋਂ ਜਾਂ `auto` ਵਜੋਂ ਦਰਸਾਈ ਜਾਂਦੀ ਹੈ।
generate_audioਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਡਰਾਫ਼ਟ ਵੀਡੀਓ ਲਈ ਆਡੀਓ ਸਿਰਜਣਾ ਨੂੰ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ।
safety_toleranceਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ2
0 – 4
ਵੀਡੀਓ ਸੁਰੱਖਿਆ ਸਹਿਣਸ਼ੀਲਤਾ ਦੇ ਸਕੇਲ ਵਿੱਚ ਸਭ ਤੋਂ ਉਦਾਰ ਸੈਟਿੰਗ 4 ਅਤੇ ਸਭ ਤੋਂ ਸਖ਼ਤ ਸੈਟਿੰਗ 0 ਹੈ।
video_urlਲੋੜੀਂਦਾ video
ਕਿਸਮurl · video
URL ਜਾਂ ਡੇਟਾ URI ਰਾਹੀਂ ਦਿੱਤੀ ਸਰੋਤ MP4, ਵੱਧ ਤੋਂ ਵੱਧ 50 MiB ਆਕਾਰ ਨਾਲ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਫ਼ਾਈਲ ਪੈਰਾਮੀਟਰ ਜਨਤਕ https:// URL, 10 MB ਤੱਕ ਦਾ data: URI, ਜਾਂ ਅੱਪਲੋਡ ਦੇ file_url ਨੂੰ ਸਵੀਕਾਰਦੇ ਹਨ। ਫ਼ਾਈਲਾਂ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3/extend-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": 2400,
    "usd": "2.40",
    "charged": 2400,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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/pa/developers/models/blackforestlabs/flux-3/extend-video/draft.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt