Dža ko lil

Ffmpeg Api · Merge Videos

Integriruj

Modelosko id ffmpeg-api/merge-videos
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/ffmpeg-api/merge-videos?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "videos": [
      "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
      "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
    ]
  }'

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

Dži $0.612 pe jekh keripe čargeime palal realno labaripen, o aver si irime Phir les kate

Lel API klidin
Utility Video ko Video

Phandel duj vaj maj but videon katar URL ande jekh klipo, optionalnone cilosa kadro-rate thaj rezultatoski rezolucija

Utility · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul video_urls
Čhiv jekh fajl, vaj

Video-URL-ura listime ande redosar kaj si te jekhetanen pes.

resolution

Alosar e finalno videoskiri rezolucija duje dimenzijenca—width thaj height—ando range 512 tar 2048.

Lučhe target_fps · resolution_aspect_ratio_video_index

Čhiv o rezultatoskoro videoskoro FPS te override-inel o standardno, savo lel o majtele kadro-rate maškar e inputo-videongi.

Zero-based inputo-videoskoro index savo odredil o aspect ratio kana nane dino rezolucija. Te mukel les standardno, uživarel o ciklono width thaj ciklono height savi si ande sa e inputo-videura.

POST /run/ffmpeg-api/merge-videos?wait=20 hesab → $0.612
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/ffmpeg-api/merge-videos?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "videos": [
      "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
      "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
    ]
  }'

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

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Ffmpeg Api · Merge Videos

Phandel e videon navedime ande `video_urls` ande redosled; mangena pes najman 2. `target_fps` (1 dži 60) thovel o rezultatosko kadro-rate, vaj si o najcikneder inputosko kadro-rate. O rezultatosko baripen šaj te thovel `resolution`-sa (presetimata vaj customno širina thaj učiipen katar 512 dži 2048), vaj te lel katar jekh inputo vaćar `resolution_aspect_ratio_video_index`. O rezultato si o phandle video thaj metadata palal e sumberi.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
video_urlstrubul videos
Tipurl[] · video
≥ 2 artiklura
Video-URL-ura listime ande redosar kaj si te jekhetanen pes.
target_fpsopcionalno
Tipnumber | null
1 – 60
Čhiv o rezultatoskoro videoskoro FPS te override-inel o standardno, savo lel o majtele kadro-rate maškar e inputo-videongi.
resolutionopcionalno
Tipobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Alosar e finalno videoskiri rezolucija duje dimenzijenca—width thaj height—ando range 512 tar 2048.
resolution_aspect_ratio_video_indexopcionalno
Tipinteger | null
≥ 0
Zero-based inputo-videoskoro index savo odredil o aspect ratio kana nane dino rezolucija. Te mukel les standardno, uživarel o ciklono width thaj ciklono height savi si ande sa e inputo-videura.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ffmpeg-api/merge-videos",
  "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": 612,
    "usd": "0.612",
    "charged": 612,
    "refunded": 0
  },
  "input": {
    "video_urls": [
      "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
      "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
    ]
  },
  "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
    },
    "metadata": {}
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}Video-fajlo kerdo jekhetanipnasa.
metadata
objectJekhetano videoskoro metadata, informaciakenca pala e originalno videura.

Bute modeli: Video ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/ffmpeg-api/merge-videos.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt