Peke ki ngā ihirangi

Ffmpeg Api Images to Video

Whakauru

id tauira ffmpeg-api/images-to-video
# 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/ffmpeg-api/images-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      {
        "url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
        "frames": 1
      }
    ]
  }'

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

Tēnei tono: ≈$ 0.005 5 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Utility Atahanga ki te Ataata #utility#editing

Whakakotahitia he rārangi raupapa kia 200 ngā whakaahua ki tētahi ataata whakaatakiriata MP4 i te auau anga kua kōwhiria

Utility · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Raupapa purei atahanga mō tētahi ataata, ko te tatau anga kua whakaritea ki ia atahanga e whakatau ana i te roa e kitea ai i mua i te tapahi ki tōna whakakapi.

Arā atu fps
taunoa 24

Te tere anga ataata putanga, i ine ki ngā anga ia hēkona.

POST /run/ffmpeg-api/images-to-video?wait=20 utu → $ 0.005
# 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/ffmpeg-api/images-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      {
        "url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
        "frames": 1
      }
    ]
  }'

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Ffmpeg Api Images to Video

He taputapu tukatuka e huri ana i tētahi rārangi whakaahua raupapa hei MP4. Ka tango i ngā tāurunga 1 ki te 200 i `images`, ā, ka puritia ia whakaahua mō tōna tatau anga kua whakaritea i mua i te whakawhiti ki tērā e whai ake. Mā `fps` e whakarite te auau anga putanga mai i te 1 ki te 120, ko te taunoa 24. Kāore he hanga whakaahua.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
imagese hiahiatia ana
Momoobject[]
≤ 200 tūemi
Raupapa purei atahanga mō tētahi ataata, ko te tatau anga kua whakaritea ki ia atahanga e whakatau ana i te roa e kitea ai i mua i te tapahi ki tōna whakakapi.
images[].urle hiahiatia ana
Momostring
URL e whakarato ana i te urunga ki te kōnae atahanga.
images[].framese hiahiatia ana
Momointeger
1 – 1,000
Te roa pupuri atahanga i ngā anga putanga, he rite ki te `frames / fps` hēkona i te mata.
fpskōwhiringa
Momonumber
Taunoa24
1 – 120
Te tere anga ataata putanga, i ine ki ngā anga ia hēkona.
e hiahiatia ana

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ffmpeg-api/images-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": 5,
    "usd": "0.005",
    "charged": 5,
    "refunded": 0
  },
  "input": {
    "images": [
      {
        "url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
        "frames": 1
      }
    ]
  },
  "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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Ataata kua whakaputaina ki te hōputu MP4.

Ētahi atu tauira: Atahanga ki te Ataata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/ffmpeg-api/images-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt