Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat(create-video): name the clips being rendered instead of a bare percent

nirholas1501e669c381
diff --git a/src/create-video.js b/src/create-video.js
index 8375f1acf..0001b808d 100644
--- a/src/create-video.js
+++ b/src/create-video.js
@@ -301,7 +301,11 @@ async function pollJob(jobId) {
if (data.status === 'queued' || data.status === 'running') {
const pct = data.progress != null ? ` ${Math.round(data.progress * 100)}%` : '';
- setProgressLabel(`Rendering frames…${pct}`);
+ // The worker renders one 3.72 s clip per segment and reports how many it
+ // planned for this audio, so name them instead of showing a bare percent
+ // on a job that can legitimately run for minutes.
+ const clips = Number(data.segments) > 1 ? `${data.segments} clips` : 'frames';
+ setProgressLabel(`Rendering ${clips}…${pct}`);
} else if (data.status === 'done' && data.video_url) {
clearInterval(pollTimer);
pollTimer = null;