Мазмұнға өту

AMT Frame Interpolation

Интеграциялау

Модель идентификаторы 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"

Бір орындауға 2,07 $ дейін нақты пайдалануға қарай ақы алынады, қалғаны қайтарылады Осы бетте іске қосу

API кілтін алу
Open model Кескіннен бейнеге #interpolation#editing

Берілген статикалық кадрлар тізімі арасын интерполяциялау арқылы бейне жасайды

Open model · Бейне

Алғашқы нәтижеңіз осында пайда болады

Төменде сұрау құрып, оны API кілтіңізбен іске қосыңыз. Шығыстар сақтау орнымызға көшіріліп, мәңгі немесе 7 күн тегін сақталады.

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

•міндетті

Интерполяция үшін қолданылатын кіріс кадрлары.

Қосымша output_fps · recursive_interpolation_passes
әдепкі 24

Шығыс кадр жиілігі, секундына кадрмен.

әдепкі 4

Интерполяция үшін қолданылатын рекурсивті өтулер саны.

POST /run/amt-interpolation/frame-interpolation?wait=20 бағасы → 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"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

AMT Frame Interpolation туралы

`frames` массивін қабылдап, олардың арасына аралық кадрлар жасап, клип құрайды. `output_fps` ойнату жиілігін белгілейді, әдепкі мәні — 24, ал `recursive_interpolation_passes` әдепкіде 4, сондықтан бейне нұсқасына қарағанда көбірек аралық кадр жасалады. Шығыс — бір бейне.

Параметрлер

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
framesміндетті
Түріobject[]
Интерполяция үшін қолданылатын кіріс кадрлары.
frames[].urlміндетті
Түріstring
Кадр кескінінің URL мекенжайы.
output_fpsміндетті емес
Түріinteger
Әдепкі24
Шығыс кадр жиілігі, секундына кадрмен.
recursive_interpolation_passesміндетті емес
Түріinteger
Әдепкі4
Интерполяция үшін қолданылатын рекурсивті өтулер саны.
міндетті

Шығыс

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"
  }
}
Файлдарыңыз — таңдауыңызӘр outputs[].url — сақтау орнымыздағы көшірме: мәңгі (әр GB-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
video
object {url, content_type, file_name, file_size}Генерация нәтижесінде алынған бейне.

Қосымша модельдер: Кескіннен бейнеге

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/amt-interpolation/frame-interpolation.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt