Léim chuig an ábhar

Flux 3 Image to Video · Keyframes to Video

Comhtháthú

Aitheantas na samhla 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"

An t-iarratas seo: $0.85 850 gcreidmheas API Rith ar an leathanach seo

Faigh eochair API
Black Forest Labs Íomhá go Físeán Fuaim dhúchasachAschur 4KSioncronú liopaí5–20 ssuas le 2160p #stylized#transform#lipsync

Físeán ó suas le 10 n-eochfhráma ag suíomhanna socraithe fráma, le faid sheasta 5 go 20 soicind

Black Forest Labs · Físeán

Beidh do chéad toradh anseo

Tóg iarratas thíos agus rith é le d’eochair API. Cóipeáiltear na haschuir chuig ár stóráil, coinnithe go deo nó ar feadh 7 lá saor in aisce.

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach

Cur síos téacs ar an bhfíseán atá ag teastáil.

duration 5 s

Tabhair fad an fhíseáin go sainráite, i soicindí, ionas gur féidir suíomhanna na n-eochairfhrámaí a bhailíochtú.

aspect_ratio réamhshocrú auto

Cóimheas treoíochta an fhíseáin aschuir; fágann `auto` an rogha faoin tsamhail.

resolution réamhshocrú 720p

Taifeach aschuir, agus na toisí picteilín arna gcinneadh ag an gcóimheas treoíochta. Úsáidtear uas-samplóir físeáin don chríochnú ag `1080p`, `1440p` (2K) agus `2160p` (4K).

•riachtanach

Íomhánna eochairfhráma a chuirtear san fhíseán aschuir de réir `frame_index`; tabhair 10 ar a mhéad, gan innéacs a athúsáid.

Ardleibhéal safety_tolerance
réamhshocrú 2

Úsáideann lamháltas sábháilteachta an fhíseáin scála arb é 4 an socrú is ceadaithí air agus 0 an socrú is déine.

POST /run/blackforestlabs/flux-3/keyframes-to-video?wait=20 luachan → $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"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Flux 3 Image to Video · Keyframes to Video

Cruthaíonn sé físeán trí ghluaiseacht a ghiniúint idir 1 agus 10 n-íomhá eochfhráma, gach ceann acu ceangailte le `frame_index` uathúil, faoi threoir `prompt`. Tá `duration` sainráite 5 go 20 soicind riachtanach chun suíomhanna na n-eochfhrámaí a bhailíochtú. Réimsíonn `resolution` ó 720p go 2160p, agus tá giniúint fuaime roghnach.

Paraiméadair

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
Cur síos téacs ar an bhfíseán atá ag teastáil.
aspect_ratioroghnach
Cineálenum
Réamhshocrúauto
auto21:92:116:94:31:13:49:16
Cóimheas treoíochta an fhíseáin aschuir; fágann `auto` an rogha faoin tsamhail.
resolutionroghnach
Cineálenum
Réamhshocrú720p
720p1080p1440p2160p
Taifeach aschuir, agus na toisí picteilín arna gcinneadh ag an gcóimheas treoíochta. Úsáidtear uas-samplóir físeáin don chríochnú ag `1080p`, `1440p` (2K) agus `2160p` (4K).
durationroghnach
Cineálenum
Réamhshocrú5
567891011121314151617181920
Tabhair fad an fhíseáin go sainráite, i soicindí, ionas gur féidir suíomhanna na n-eochairfhrámaí a bhailíochtú.
generate_audioroghnach
Cineálboolean
Réamhshocrútrue
Rialaíonn sé an gcuirtear fuaim ghinte san fhíseán.
safety_toleranceroghnach
Cineálinteger
Réamhshocrú2
0 – 4
Úsáideann lamháltas sábháilteachta an fhíseáin scála arb é 4 an socrú is ceadaithí air agus 0 an socrú is déine.
keyframesriachtanach
Cineálobject[]
≤ 10 mír
Íomhánna eochairfhráma a chuirtear san fhíseán aschuir de réir `frame_index`; tabhair 10 ar a mhéad, gan innéacs a athúsáid.
keyframes[].image_urlriachtanach
Cineálurl · image
URL íomhá eochairfhráma; glacann sé le PNG, JPEG nó WebP.
keyframes[].frame_indexriachtanach
Cineálinteger
≥ 0
Úsáidtear innéacs fráma ar leith do gach eochairfhráma chun iad a shuíomh, le huasteorainn `duration * 24`; ritheann an t-aschur ag 24 fps.
riachtanach

Aschur

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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
video
object {url, content_type, file_name, file_size}An físeán a tháirg an tsamhail.
seed
integerLuach síl a úsáideadh le linn na giniúna.

Tuilleadh samhlacha: Íomhá go Físeán

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/blackforestlabs/flux-3/keyframes-to-video.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt