Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

js modify upload file param

chenxueshuanga8045f9309e6
diff --git a/static/index.html b/static/index.html
index 1d3e7804..a0ff24ad 100644
--- a/static/index.html
+++ b/static/index.html
@@ -480,7 +480,7 @@
const file = fileInput.files[0];
const formData = new FormData();
- formData.append('video', file);
+ formData.append('file', file);
try {
const response = await fetch(API_UPLOAD_URL, {