659edfa68e94c2e2c034fd25041eb120ec9c101f
Sustituye BytePlus Ark/Seedance por el contrato async de essia-server (h3api.essia.coop):
POST /v1/jobs (multipart, mode=ref2va) -> poll GET /v1/jobs/{id} -> download /video (X-API-Key).
Firma de generateVideo/downloadVideo sin cambios (el route no se toca). Env: H3API_BASE_URL, H3API_KEY.
Coste 0 (self-hosted). Sin key no rompe el arranque (lazy).
Limitación anotada: jobs pedidos fuera de la ventana nocturna pueden tardar horas; el polling
síncrono solo es viable en ventana. Cola SQLite + worker pendiente de decidir UX. NO mergear a
master hasta que essia-server confirme "live" + provea H3API_KEY.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy
Producción: https://story-studio.carlosnarro.com — desplegada en Dokploy (instancia personal "Forja", panel.carlosnarro.com) con autodeploy desde Gitea.
- Push a
masterengit.carlosnarro.com/carlos/story-studio→ Dokploy reconstruye la imagen (Dockerfile) y redespliega automáticamente. - Build:
Dockerfile(npm run buildcon webpack +next start). Elbuildscript usa--webpacka propósito (la config de@remotiones incompatible con el Turbopack por defecto de Next 16). - Datos persistentes (bind mounts, no van en la imagen):
/app/data→ SQLite (story-studio.db)/app/projects→ imágenes y vídeos generados
- Env vars en Dokploy:
GEMINI_API_KEY(imagen),OPENAI_API_KEY(texto), y opcionalmenteARK_API_KEY(vídeo).
Description
Languages
TypeScript
94.1%
JavaScript
5.4%
CSS
0.4%
Dockerfile
0.1%