Pereiti prie turinio

FLUX 3 Max Image to Video

Integruoti

Modelio id blackforestlabs/flux-3-max/image-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-max/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Split-screen video. Two equal vertical halves. Both halves show the SAME event, at the SAME time, frame-synchronized, filmed by two different cameras. SCENE: A quiet street, daytime. A long tall hedge wall runs along the sidewalk, too tall to see over. There is one narrow gap in the hedge ahead. A woman in a red jacket walks alone along the sidewalk on the near side of the hedge. On the FAR side of the hedge is an open grass field, where a large golden dog runs. LEFT HALF — CAMERA A: ground-level tracking shot on the sidewalk, following the woman from behind at shoulder height. IMPORTANT: from this camera, only the woman, the sidewalk, and the hedge wall are visible. The field, the dog, and anything behind the hedge are NEVER visible in the left half. The street looks calm and empty. RIGHT HALF — CAMERA B: aerial top-down drone shot, directly above, moving with the woman. This view shows BOTH sides of the hedge at once: the woman on the sidewalk, the hedge as a thin green line, and the golden dog sprinting across the field on the other side, on a converging path toward the gap in the hedge. ACTION — identical timing in both halves: 0–8s: The woman walks calmly. LEFT: peaceful, nothing unusual. RIGHT: the dog races closer and closer to the gap, its path and the woman'\''s path clearly about to meet. 8–11s: The woman reaches the gap. The dog bursts through it. LEFT: the dog appears suddenly from nowhere, a total surprise; the woman flinches. RIGHT: the meeting looks perfectly predictable, two paths joining. 11–15s: The dog jumps up joyfully; it is her own dog greeting her. She laughs, kneels, and hugs it. Both halves show this ending. RULES: Same woman, same dog, same timing in both halves. The dog is visible ONLY in the right half until 8s. No cuts, no other people, no cars.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_yoxzdf1ostuslzo25cureb2w/0-H2PmS3KOhpHn8RLuYT5ad_6JogdCXo.png",
    "duration": 5,
    "resolution": "720p",
    "generate_audio": false
  }'

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

Failai kaip pavyzdyje: 0,425 $ 425 API kreditai jūsų failai išmatuojami prieš paleidimą Paleisti šiame puslapyje

Gauti API raktą
Black Forest Labs Vaizdas į vaizdo įrašą Integruotasis garsas5–20 siki 1080p #audio#first-last-frame#long-clips

Animuoja pradinį vaizdą, pasirinktinai pereidamas į galinį vaizdą, ir sukuria 5–20 sekundžių FLUX 3 Max klipą su garsu.

Pavyzdžiai

Įvestis
Išvestis · ~25 s

PromptasSplit-screen video. Two equal vertical halves. Both halves show the SAME event, at the SAME time, frame-synchronized, filmed by two different cameras. SCENE: A quiet street, daytime. A long tall hedge wall runs along the sidewalk, too tall to see over. There is one narrow gap in the hedge ahead. A woman in a red jacket walks alone along the sidewalk on the near side of the hedge. On the FAR side of the hedge is an open grass field, where a large golden dog runs. LEFT HALF — CAMERA A: ground-level tracking shot on the sidewalk, following the woman from behind at shoulder height. IMPORTANT: from this camera, only the woman, the sidewalk, and the hedge wall are visible. The field, the dog, and anything behind the hedge are NEVER visible in the left half. The street looks calm and empty. RIGHT HALF — CAMERA B: aerial top-down drone shot, directly above, moving with the woman. This view shows BOTH sides of the hedge at once: the woman on the sidewalk, the hedge as a thin green line, and the golden dog sprinting across the field on the other side, on a converging path toward the gap in the hedge. ACTION — identical timing in both halves: 0–8s: The woman walks calmly. LEFT: peaceful, nothing unusual. RIGHT: the dog races closer and closer to the gap, its path and the woman's path clearly about to meet. 8–11s: The woman reaches the gap. The dog bursts through it. LEFT: the dog appears suddenly from nowhere, a total surprise; the woman flinches. RIGHT: the meeting looks perfectly predictable, two paths joining. 11–15s: The dog jumps up joyfully; it is her own dog greeting her. She laughs, kneels, and hugs it. Both halves show this ending. RULES: Same woman, same dog, same timing in both halves. The dog is visible ONLY in the right half until 8s. No cuts, no other people, no cars.

5 s720pgenerate_audio: false0,213 $ · 213 API kreditų

Promptas iš @umesh_ai svetainėje X

Sukurti užklausą

Valdikliai sugeneruojami pagal modelio schemą. Keisdami juos atnaujinsite kodą ir kainą.

•privaloma

Tekstas, aprašantis, kaip vaizdo įrašas turi vystytis nuo pradinio vaizdo.

•privaloma image_url
Įmeskite failą arba

Pradinio vaizdo URL vaizdo įrašui; priimami PNG, JPEG arba WebP.

duration 5 s

Išvesties vaizdo įrašo trukmė sekundėmis.

resolution

Išvesties vaizdo įrašo raiška.

aspect_ratio numatytoji auto

Sugeneruoto vaizdo įrašo kraštinių santykis; `auto` atitinka pirmą vaizdą, nebent įvestis yra tekstinis raginys — tokiu atveju parenkama 16:9.

Išplėstiniai end_image · reasoning_level · seed
end_image_url
Įmeskite failą arba

Pasirenkamas galutinio kadro vaizdo URL vaizdo įrašui; priimami PNG, JPEG arba WebP.

reasoning_level numatytoji high

Samprotavimo pastangos nustato generavimo spartos ir darbo, kurį įrankis skiria raginiui suprasti, pusiausvyrą: didesnės pastangos užtrunka ilgiau.

Generavimo pradinė reikšmė; jei nenurodyta, naudojama atsitiktinė reikšmė.

POST /run/blackforestlabs/flux-3-max/image-to-video?wait=20 kaina → 0,425 $
# 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-max/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Split-screen video. Two equal vertical halves. Both halves show the SAME event, at the SAME time, frame-synchronized, filmed by two different cameras. SCENE: A quiet street, daytime. A long tall hedge wall runs along the sidewalk, too tall to see over. There is one narrow gap in the hedge ahead. A woman in a red jacket walks alone along the sidewalk on the near side of the hedge. On the FAR side of the hedge is an open grass field, where a large golden dog runs. LEFT HALF — CAMERA A: ground-level tracking shot on the sidewalk, following the woman from behind at shoulder height. IMPORTANT: from this camera, only the woman, the sidewalk, and the hedge wall are visible. The field, the dog, and anything behind the hedge are NEVER visible in the left half. The street looks calm and empty. RIGHT HALF — CAMERA B: aerial top-down drone shot, directly above, moving with the woman. This view shows BOTH sides of the hedge at once: the woman on the sidewalk, the hedge as a thin green line, and the golden dog sprinting across the field on the other side, on a converging path toward the gap in the hedge. ACTION — identical timing in both halves: 0–8s: The woman walks calmly. LEFT: peaceful, nothing unusual. RIGHT: the dog races closer and closer to the gap, its path and the woman'\''s path clearly about to meet. 8–11s: The woman reaches the gap. The dog bursts through it. LEFT: the dog appears suddenly from nowhere, a total surprise; the woman flinches. RIGHT: the meeting looks perfectly predictable, two paths joining. 11–15s: The dog jumps up joyfully; it is her own dog greeting her. She laughs, kneels, and hugs it. Both halves show this ending. RULES: Same woman, same dog, same timing in both halves. The dog is visible ONLY in the right half until 8s. No cuts, no other people, no cars.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_yoxzdf1ostuslzo25cureb2w/0-H2PmS3KOhpHn8RLuYT5ad_6JogdCXo.png",
    "duration": 5,
    "resolution": "720p",
    "generate_audio": false
  }'

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

Vykdyti šią užklausą

Jūsų raktas lieka šioje naršyklėje: jis siunčiamas tik į Doitong API ir išsaugomas (localStorage) tik pažymėjus Prisiminti. Gauti API raktą

Apie FLUX 3 Max Image to Video

FLUX 3 Max image-to-video išlaiko pirmojo kadro išvaizdą, gali baigti galiniu kadru ir generuoja atitinkantį garsą. Prieš atvaizduodamas modelis analizuoja užklausą (didelės arba mažos pastangos). Trukmė – 5–20 sekundžių, prisitaikantis arba fiksuotas formato santykis nuo 9:16 iki 21:9, raiška 720p arba 1080p.

Parametrai

Siųskite arba kanoninį, arba savąjį pavadinimą, bet ne abu. Kanoniniai pavadinimai

PavadinimasTipas Numatytoji reikšmėLeidžiama Aprašas
promptprivaloma
Tipasstring
Tekstas, aprašantis, kaip vaizdo įrašas turi vystytis nuo pradinio vaizdo.
image_urlprivaloma image
Tipasurl · image
Pradinio vaizdo URL vaizdo įrašui; priimami PNG, JPEG arba WebP.
end_image_urlneprivalomas end_image
Tipasurl · image
Pasirenkamas galutinio kadro vaizdo URL vaizdo įrašui; priimami PNG, JPEG arba WebP.
durationneprivalomas
Tipasenum
Numatytoji reikšmė5
567891011121314151617181920
Išvesties vaizdo įrašo trukmė sekundėmis.
resolutionneprivalomas
Tipasenum
Numatytoji reikšmė720p
720p1080p
Išvesties vaizdo įrašo raiška.
reasoning_levelneprivalomas
Tipasenum
Numatytoji reikšmėhigh
lowhigh
Samprotavimo pastangos nustato generavimo spartos ir darbo, kurį įrankis skiria raginiui suprasti, pusiausvyrą: didesnės pastangos užtrunka ilgiau.
aspect_rationeprivalomas
Tipasenum
Numatytoji reikšmėauto
auto21:92:116:94:31:13:49:16
Sugeneruoto vaizdo įrašo kraštinių santykis; `auto` atitinka pirmą vaizdą, nebent įvestis yra tekstinis raginys — tokiu atveju parenkama 16:9.
generate_audioneprivalomas
Tipasboolean
Numatytoji reikšmėtrue
Nurodo, ar vaizdo įraše bus sugeneruotas garsas.
seedneprivalomas
Tipasinteger | null
Generavimo pradinė reikšmė; jei nenurodyta, naudojama atsitiktinė reikšmė.
privaloma Kanoninis pavadinimas, taip pat priimamas

Failų parametrams reikia viešo https:// URL, ne didesnio nei 10 MB data: URI arba įkelto failo file_url. Failai

Išvestis

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3-max/image-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": 425,
    "usd": "0.425",
    "charged": 425,
    "refunded": 0
  },
  "input": {
    "prompt": "The fox looks at the fireflies, then bounds off the path with a happy yip, gentle night ambience",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 5,
    "resolution": "720p"
  },
  "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "timings": {}
  },
  "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"
  }
}
Jūsų failai — jūsų pasirinkimasKiekvienas outputs[].url yra kopija mūsų saugykloje: saugoma neribotą laiką (mokama už GB per mėnesį) arba 7 dienos nemokamai, pagal paskyros nustatymą arba ?storage=.
Ta pati struktūra kiekviename modelyjetype, url, content_type, width, height ir duration taikomi vaizdams, vaizdo įrašams ir garsui. output yra paties modelio rezultatų objektas.
Išvesties laukai
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Modelio sukurtas vaizdo įrašas.
seed
integerGeneruojant naudota pradinė reikšmė.
timings
objectLaiko duomenys, kuriuose iš `inference` pašalytas raginio išplėtimas, dekodavimas ir įkėlimas; matuojamas tik modelio vaizdo įrašo triukšmo šalinimas sekundėmis.

Daugiau modelių: Vaizdas į vaizdo įrašą

AI agentams: šis puslapis Markdown formatu pateikiamas adresu https://doitong.com/lt/developers/models/blackforestlabs/flux-3-max/image-to-video.md. Visi modeliai ir vadovai: https://doitong.com/developers/llms.txt