Image batch
4.00% shorterTwo matched batches per version. 96 fresh measured images; eight warmups outside batch timing.
The persistent-connection image pilot measured 69.289 to 66.516 seconds per matched 24-image batch. Joining two hours of existing media took 165.057 to 114.769 seconds. Corresponding image pixels and the complete assembled MP4 bytes matched. Project saving and director checks also repeated less local work. A fresh two-hour story production was not generated.
Two matched batches per version. 96 fresh measured images; eight warmups outside batch timing.
One pair using repeated existing media. The complete 3.12 GB MP4 was byte-identical.
Conservative total including earlier tests. This hour added up to $0.2753. Test GPU pod deleted.
| Component | Before | After | Measured scope |
|---|---|---|---|
| Image request transport | 69.289s | 66.516s | 4.00% shorter mean batch.24 images per batch; two batches per version, same RTX 5090. |
| Final video assembly | 165.057s | 114.769s | 30.47% shorter elapsed time.One pair joining two hours of repeated existing media; complete output bytes matched. |
| Durable project saving | 0.4568s | 0.2943s | 35.6% shorter median mutation.5.95 MB project; 40 local mutations across two alternating pairs. |
| Large-project saving | 0.5205s | 0.4092s | 21.4% shorter median mutation.8.80 MB temporary padded fixture; six samples per version. |
| Director input guards · chapter 1 | 0.3775s | 0.2992s | Pre/post guard pair, including two fresh complete project reads.Four alternating samples per variant. |
| Director input guards · chapter 2 | 0.5893s | 0.3520s | The same guard scope on the second saved chapter.Full source, identity and incoming state checks remain. |
Local saving and guard timings describe CPU and disk overhead. They do not measure how quickly the image model or voice model generates output. The first uncached director guard can be slower; reuse helps repeated checks of unchanged inputs.
The image client reuses HTTP connections to the same worker. Model weights, steps, sampler, seeds, reference conditioning, resolution and decoding stayed fixed. The four runs followed an alternating before/after/after/before order, with fresh worker processes and warmups for each run.
| Version | Batch 1 | Batch 2 | Mean |
|---|---|---|---|
| Original connections | 69.218s | 69.360s | 69.289s |
| Persistent connections | 66.406s | 66.625s | 66.516s |
The 24 matched cases came from 12 prompts and two seed sets. All 96 measured images used fresh sampling and decoding; corresponding output pixels matched exactly. Three text-encoder cache hits occurred: one with original connections and two with persistent connections. Startup and eight warmup images are excluded from batch times and included in spending.
The small repeat set and text-cache imbalance limit attribution of the observed 4.00% batch difference. This supplies no new QC latency result and does not establish a 4% reduction in the complete video's duration.
Saving still reads the actual current file, checks its revision, writes the exact previous backup, publishes the new project atomically and queues the archive. The change avoids decoding the same unchanged file twice. All final project and backup bytes matched in the 40-mutation comparison.
The large-file check uses a 32-byte fingerprint rather than retaining the raw oversized project. Its final documents matched except for the updated timestamp. Director checks still read fresh saved data; changed source, settings, identity or prior story state trigger the original signature check. Full request context and signature values are preserved.
This test joined a 12-second chapter clip and its existing narration 600 times, producing a 7,200-second, 216,000-frame video at 720p30. Joining video and muxing audio in one pass removed a separate silent intermediate. The complete 3,116,431,997-byte output matched exactly.
| Version | Elapsed | Assembly work |
|---|---|---|
| Before | 165.057s | 50.401s silent concat + 114.656s narration mux |
| One-pass assembly | 114.769s | Video concat and narration mux together |
The measured saving was 50.288 seconds, or 30.47% of this final assembly stage. The test avoided writing and rereading a 3.02 GB intermediate; that I/O is already included in the elapsed result. Video stream copy and the selected AAC Fast 128k settings stayed the same. The benchmark used one FFmpeg thread to fit the available memory.
The inputs were repeated existing media. This does not measure new story planning, images, narration or native chapter rendering. The separate 120-second native chapter test did not launch because available physical memory was below its 1 GiB guard. One-pass assembly requires verified 720p30 output and original PCM WAV narration at 24 kHz, mono, 16 bit; other or unknown source formats retain the existing assembly path and Join estimate.
Final assembly can join the existing video clips and mux audio in one pass, avoiding a separate silent intermediate. These small probes check complete decoded video and audio, including fractional clip boundaries and an intro.
| Existing media | Before | After | Output check |
|---|---|---|---|
| Two whole clips · 24s | 0.5859s | 0.4791s | Decoded pixels, audio samples and video packet timing matched. MP4 bytes also matched. |
| Two clips · fractional boundaries | 0.5944s | 0.4169s | Decoded pixels, audio samples and video packet timing matched; container bytes differed. |
| Intro + two clips · 24.5s | 0.4807s | 0.2730s | Decoded pixels, audio samples and video packet timing matched; container bytes differed. |
Each probe avoided about 10 MB of intermediate output. These short pairs check fractional-boundary and intro behavior; native chapter-render throughput remains unmeasured.
Practical checks continue to inspect every image. Production keeps the same concurrency and the 12.3-minute voice estimate. This hour made no new billable API calls, so the earlier Practical-versus-Strict findings still apply.
The two-hour timeline is a component projection. These image-only and local-overhead measurements do not measure a fresh complete story production, and their percentages must not be applied to every stage. Quality checks, references and generation settings were not reduced to obtain the results.
Additional GPU and disk accounting is up to $0.2753, including setup and warmup. Together with the earlier $0.5646, the shared conservative total is $0.8399 of $2, leaving about $1.1601 in that allowance. The test GPU pod was deleted.
This is conservative lease accounting, not a settled provider invoice. Earlier spending is included once. No new billable API calls were made during this hour; normal production API costs remain separate from these image-only test costs.