Reference processing is part of the task
The price depends on the actual stored reference metadata, not a duration guessed from a filename. Fractional reference seconds are rounded upward for the cost estimate. This can make a source that displays as roughly six seconds cost differently from an exact six-second source. Always compare the same input and output scope.
What to do next
- 01
Read the uploaded duration
Store the seconds returned with the reference upload and keep the source version fixed. Check for accidental extra frames or a longer trimmed export before attributing a difference to a price change.
- 02
Hold the settings constant
Compare two quotes with the same output seconds and size, changing only reference_video_id. This isolates the reference contribution without generating media.
- 03
Show the full task estimate
Present reference processing and output request as one approved generation quote. Do not market the text-only per-second figure as the final cost of a reference-driven replica.
A concrete example
Illustrative arithmetic: an exact six-second reference plus a six-second 480p request uses 30 current v4 credits. A text-only request with six output seconds has a different lower quote because it does not process those reference seconds.
Before you call it ready
- The source duration comes from uploaded metadata.
- Fractional seconds are considered.
- Comparisons keep size and output duration fixed.
When to stop or choose another method
If a quote differs unexpectedly, investigate metadata and settings before submitting. Repeated paid generations are unnecessary for checking a deterministic estimate.
