Text to vertical video in 100+ styles: AI codes each scene (HTML/SVG/WebGL), renders a 9:16 MP4 with music and English/Vietnamese voice. MCP, CLI and REST for AI agents.
Merge branch 'feat/edit-infographic' into feat/edit-styles
Lumtek1e98125f45ec
diff --cc edit/http.mjsindex 474f130,6a3513f..b3dde8b--- a/edit/http.mjs+++ b/edit/http.mjs@@@ -1,11 -1,9 +1,11 @@@// REST cho Edit video (server/server.mjs gọi handleEditRoute). Chống DNS rebinding đã làm ở server (Host),// ở đây chặn thêm Origin lạ cho mọi lệnh ghi (trang web khác không gửi form upload/đường dẫn/xoá vào được).// GET /api/edit-options → {ready, missing, setup, styles[], music[], maxUploadBytes}+// GET /api/edit-setup → tiến độ cài (nút "Cài ngay"): {running, step, ok, word, hint, elapsedS, log[]}+// POST /api/edit-setup → chạy node edit/setup.mjs nền (409 nếu đang cài)// GET /api/edits → danh sách- // POST /api/edits → multipart (video ≤ 2 GB, music?, style, musicStyle?, content?, names?, draft?)- // hoặc JSON {path, style, music?(đường dẫn|tên nhạc tổng hợp), content?, names?, draft?}+ // POST /api/edits → multipart (video ≤ 2 GB, music?, style, musicStyle?, content?, names?, draft?, target?)+ // hoặc JSON {path, style, music?(đường dẫn|tên nhạc tổng hợp), content?, names?, draft?, target?}// GET /api/edits/:id → trạng thái, tiến độ, log, chữ LLM đã sửa, các lần sửa// POST /api/edits/:id/revise → {instruction}: LLM sửa EDL theo lời, render lại, không phân tích lại// DELETE /api/edits/:id → xoá hẳn thư mục edits/<id>