Neidio i'r cynnwys

T2V Turbo - Video Crafter

Integreiddio

ID y model t2v-turbo
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/t2v-turbo?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"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Y cais hwn: ≈$0.024 24 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Open model Testun i Fideo Cyflym #turbo

Testun-i-fideo cyflym o anogwr, 16 i 32 ffrâm gyda fps allforio addasadwy

Open model · Fideo

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol

Anogiad a ddefnyddir fel sail ar gyfer cynhyrchu delweddau.

rhagosodedig 16

Cyfanswm y fframiau i'w cynhyrchu.

Uwch num_inference_steps · guidance_scale · export_fps · seed · enable_safety_checker
rhagosodedig 4

Nifer y camau samplu.

rhagosodedig 7.5

Gwerth graddfa'r canllawiau.

rhagosodedig 8

Cyfradd ffrâm (FPS) y fideo a allforir.

Gwerth hadau ar gyfer cynhyrchu rhifau ar hap.

POST /run/t2v-turbo?wait=20 dyfynbris → $0.024
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/t2v-turbo?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"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â T2V Turbo - Video Crafter

Yn cynhyrchu clip byr o `prompt` gan ddefnyddio samplwr ychydig gamau, gyda `num_inference_steps` yn rhagosod i 4 (uchafswm 30). Mae `num_frames` yn amrywio o 16 i 32 ac `export_fps` o 1 i 24. Mae `guidance_scale` yn rhedeg o 0.1 i 30 ac mae `seed` yn 0 i 203279.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
Anogiad a ddefnyddir fel sail ar gyfer cynhyrchu delweddau.
seeddewisol
Mathinteger | null
0 – 203,279
Gwerth hadau ar gyfer cynhyrchu rhifau ar hap.
num_inference_stepsdewisol
Mathinteger
Rhagosodedig4
1 – 30
Nifer y camau samplu.
guidance_scaledewisol
Mathnumber
Rhagosodedig7.5
0.1 – 30
Gwerth graddfa'r canllawiau.
num_framesdewisol
Mathinteger
Rhagosodedig16
16 – 32
Cyfanswm y fframiau i'w cynhyrchu.
export_fpsdewisol
Mathinteger
Rhagosodedig8
1 – 24
Cyfradd ffrâm (FPS) y fideo a allforir.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Gellir llacio'r sgrinio drwy osod false, ar yr amod bod y galwr wedi'i awdurdodi.
gofynnol

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "t2v-turbo",
  "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": 24,
    "usd": "0.024",
    "charged": 24,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    }
  },
  "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://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
video
object {url, content_type, file_name, file_size}URL sy'n pwyntio at y fideo a gynhyrchwyd.

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/t2v-turbo.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt