Neidio i'r cynnwys

AMT Frame Interpolation

Integreiddio

ID y model amt-interpolation/frame-interpolation
# 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/amt-interpolation/frame-interpolation?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "frames": [
      {
        "url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
      }
    ]
  }'

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

Hyd at $2.07 fesul rhediad codir tâl yn ôl y defnydd gwirioneddol, a chaiff y gweddill ei ad-dalu Ei redeg ar y dudalen hon

Cael allwedd API
Open model Delwedd i Fideo #interpolation#editing

Creu fideo drwy ryngosod rhwng rhestr o fframiau llonydd a ddarperir gennych

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

Fframiau mewnbwn a ddefnyddir ar gyfer rhyngosod.

Uwch output_fps · recursive_interpolation_passes
rhagosodedig 24

Cyfradd ffrâm yr allbwn, mewn fframiau yr eiliad.

rhagosodedig 4

Cyfrif pasiau ailadroddus a ddefnyddir ar gyfer rhyngosod.

POST /run/amt-interpolation/frame-interpolation?wait=20 dyfynbris → $2.07
# 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/amt-interpolation/frame-interpolation?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "frames": [
      {
        "url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
      }
    ]
  }'

# 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 â AMT Frame Interpolation

Derbyn arae o `frames` a chynhyrchu fframiau canolradd rhyngddynt i ffurfio clip. Mae `output_fps` yn gosod cyfradd chwarae, gyda 24 yn rhagosodedig, ac mae `recursive_interpolation_passes` yn rhagosodedig i 4, felly crëir mwy o fframiau canolradd nag yn amrywiad y fideo. Un fideo yw'r allbwn.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
framesgofynnol
Mathobject[]
Fframiau mewnbwn a ddefnyddir ar gyfer rhyngosod.
frames[].urlgofynnol
Mathstring
URL delwedd ffrâm.
output_fpsdewisol
Mathinteger
Rhagosodedig24
Cyfradd ffrâm yr allbwn, mewn fframiau yr eiliad.
recursive_interpolation_passesdewisol
Mathinteger
Rhagosodedig4
Cyfrif pasiau ailadroddus a ddefnyddir ar gyfer rhyngosod.
gofynnol

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "amt-interpolation/frame-interpolation",
  "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": 2070,
    "usd": "2.07",
    "charged": 2070,
    "refunded": 0
  },
  "input": {
    "frames": [
      {
        "url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
      }
    ]
  },
  "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}Fideo a gynhyrchir.

Mwy o fodelau: Delwedd i Fideo

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