Op den Inhalt sprangen

Ffmpeg Api Images to Video

Integréieren

Modell-ID 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"

Dës Ufro: ≈0,005 $ 5 API-Kreditter Op dëser Säit ausféieren

API-Schlëssel kréien
Utility Bild zu Video #utility#editing

Setzt eng bestallte Lëscht vu bis zu 200 Biller bei enger gewielter Framerate zu engem MP4-Slideshow-Video zesummen

Utility · Video

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch

Ofspillssequenz vu Biller fir e Video; d'Unzuel u Frames pro Bild bestëmmt, wéi laang et virum Wiessel op säin Nofollger siichtbar bleift.

Erweidert fps
Standard 24

Output-Video-Frame-Rate, a Frames pro Sekonn gemooss.

POST /run/ffmpeg-api/images-to-video?wait=20 Präis → 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"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Ffmpeg Api Images to Video

En Veraarbechtungsinstrument, dat eng bestallte Lëscht vu Biller an en MP4 ëmwandelt. `images` enthält 1 bis 200 Entréeën; all Bild bleift seng spezifizéiert Framezuel stoen, ier op dat nächst gewiesselt gëtt. `fps` setzt d'Ausgabeframerate vun 1 bis 120, Standard 24. Et gëtt keng Generatioun duerchgefouert.

Parameteren

NummTyp StandardErlaabt Beschreiwung
imagesobligatoresch
Typobject[]
≤ 200 Elementer
Ofspillssequenz vu Biller fir e Video; d'Unzuel u Frames pro Bild bestëmmt, wéi laang et virum Wiessel op säin Nofollger siichtbar bleift.
images[].urlobligatoresch
Typstring
URL, déi Zougang zur Bilddatei gëtt.
images[].framesobligatoresch
Typinteger
1 – 1.000
Haltzäit vum Bild an Output-Frames, entsprécht `frames / fps` Sekonnen um Bildschierm.
fpsoptional
Typnumber
Standard24
1 – 120
Output-Video-Frame-Rate, a Frames pro Sekonn gemooss.
obligatoresch

Output

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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
video
object {url, content_type, file_name, file_size}Generéierte Video am MP4-Format.

Méi Modeller: Bild zu Video

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/ffmpeg-api/images-to-video.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt