Sume CLI avatar-videos batch: plan, create, watch, result

The Sume CLI batches avatar videos in four steps against local state files. What each step does, and why the per-item idempotency key makes reruns safe.

3 min readSume
All posts

The four steps

The CLI docs describe batch helpers under both sume avatars batch and sume avatar-videos batch. They work in four steps against local state files: plan, create, watch and result.

Batch steps
StepWhat it doesNetwork spend?
planBuilds the batch locally from your itemsNo, local
createSubmits each item with its own stable idempotency keyYes, paid
watchFollows the submitted jobs until they endNo new spend
resultCollects finished output from the state fileNo

Why local state matters

Each item keeps a stable idempotency key in the state file. If your terminal dies halfway, running create again resends the same keys, so items already accepted are not billed twice. Combined with the 429 queue_full rule, a rerun after capacity opens is safe.

Read the exact flags

sume avatar-videos batch --help
sume avatars batch --help

Budget first

Plan is local, so cost it by hand before create. Forty 30 s plus clips are 1,200 s at $0.245, which is $294. At standard the same batch is $220.80.

Limits that still apply

  • Each clip must estimate at 4 to 60 s.
  • Your plan concurrency caps how many run at once: Pro 4 with 20 queued, Scale 20 with 100.
  • Paid CLI avatar creation needs an explicit confirm flag, as the docs describe.

Sources

Related posts

More in Developers

All Developers posts

Written by Sume