One-page Seedance 2.5 AI video generator on the emaki.ai API
245
A one-page text-to-video and image-to-video app you can deploy in a minute: a prompt box, an optional first-frame image, aspect ratio, length and resolution, and the finished clip. One file of server code, no dependencies, Node 18+.
Clips come from the API of emaki (emaki.ai), the Japanese-language AI video generator for Seedance 2.5 and Seedance 2.0. The default model is Seedance 2.5; set EMAKI_MODEL=seedance_2 for Seedance 2.0.
日本語での使い方は シーダンス へ。
Or run the prebuilt image: docker run -p 3000:3000 -e EMAKI_API_KEY=sk-... san8888/emaki-video-starter (amd64 and arm64).
EMAKI_API_KEY=sk-... node server.js # http://localhost:3000
| Variable | What it does |
|---|---|
EMAKI_API_KEY | Required. Create one at emaki.ai/settings/apikeys. Every clip costs credits on that emaki account, the same price as on the website. |
ACCESS_PASSWORD | Optional, but set it on a public URL: anyone who can open the page spends your credits. The page asks for it once and remembers it. |
EMAKI_MODEL | Default seedance_2_5. Others: seedance_2, seedance_2_fast, seedance_2_mini. |
PORT | Port to listen on. Default 3000. |
api/; everywhere else server.js serves them. Both call lib/emaki.js.POST /api/generate sends {prompt, model, parameters} to https://emaki.ai/api/video/ai and returns the run id.GET /api/status?id= reads https://emaki.ai/api/video/status; the page polls it every 5 seconds until the clip is completed (a few minutes) and plays videoUrl.MIT
Content type
Image
Digest
sha256:527b08679…
Size
57.9 MB
Last updated
26 days ago
docker pull san8888/emaki-video-starter