Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Cost Tally

Reveal itemized expenses, draw the divider and count to an exact total, with an optional licensed continuous speaker inset.

示例 · 2

在线运行

免费

在 SandBase sandbox 中运行 Cost Tally 的示例,并在这里查看结果。

工作原理

  1. 01

    Write the budget brief

    Save your budget as JSON with a heading, one to six entries each with a caption and a non-negative value, a unit and a cadence, plus an optional decimals setting from 0 to 2, a sum label, a kicker and a locale. Confirm the units and arithmetic with the budget's owner, because Cost Tally draws your numbers but does not fact-check them.

  2. 02

    Compose the project

    With Node.js 22, npm and FFmpeg, install the exact lock with npm ci --ignore-scripts, then run node scripts/compose.mjs --brief budget.json --dest project --palette porcelain, choosing porcelain, harbor, mulberry or graphite. Values are added in integer minor units, so the counter resolves to exactly the row sum. Text that overflows stops generation instead of being clipped.

  3. 03

    Render and inspect

    Render with the bundled HyperFrames CLI at 30 fps on one worker; no model credentials or paid API calls are needed. The 1920×1080 film lasts at least 10 seconds: each row uncovers its caption and amount, a rule draws across the ledger, and the sum counts up before a two-second reading hold. Follow the verification guide and watch the encoded film.

常见问题

What does Cost Tally make?

Cost Tally makes an editable motion ledger for a budget, estimate or expense breakdown. The heading sets the subject, each row uncovers its caption and amount in turn, a rule draws across the ledger, and the sum counts up to the exact total before a stable reading hold. It is a data-driven composition, not a fact-checker.

Is the Cost Tally total always exact?

Yes. Cost Tally adds values in integer minor units, so the animated counter resolves to exactly the sum of the displayed rows. The decimals setting must accommodate every amount's precision, and the brief is rejected otherwise. It checks the arithmetic, not whether the budget itself is correct.

How many rows can Cost Tally show?

Cost Tally shows one to six entries, each with a caption and a non-negative value in one shared unit. The film lasts at least 10 seconds and extends when needed to keep a two-second final hold. Fit checks stop generation when text overflows, so shorten captions rather than letting them clip.

Can Cost Tally include a speaker?

Yes. Add --speaker with a continuous MP4, MOV or WebM take that covers the whole composition, and Cost Tally adds a muted circular inset beside a narrower ledger. The take is never looped, and the inset fades out between 6.65 and 7.10 seconds so the final answer stays clear. Supply licensed footage.

Which palettes and fonts does Cost Tally use?

Cost Tally offers four palettes, porcelain, harbor, mulberry and graphite, which change visual tokens only; values and motion stay identical. Local Manrope and Noto Sans SC fonts cover Latin and Simplified Chinese text, and --font accepts your own WOFF2 font.

Does Cost Tally need an API key?

No. Cost Tally needs Node.js 22, npm, FFmpeg and a Chromium-capable host, and no model credentials or paid API calls. Rendering may initialize HyperFrames' browser cache. Generated HTML, local fonts, GSAP and project.json stay editable; edit the input and regenerate to change content.