Files
windroost/PRODUCTION/source
wushenghua b7fd04ae3d art: H07 real AI GIF animation (4f idle/6f attack) + GIF batch pipeline
Continued the full-art goal. User's insight was correct: generate a REAL AI
multi-frame GIF and split it into frames, rather than procedurally deriving
micro-motion from a still. Verified gpt-image-2.6-gif returns genuine 4/6/8-
frame GIFs when called with aspect_ratio 1:1 (NOT size, NO reference image).

- Evaluated frame counts (measured 4-vs-8 + runtime playback): idle=4f@4fps
  (breath is a micro-motion; 8f jitters and drifts), attack=6f@8fps (needs
  windup/release/recovery; 8f risks pose drift). FRAME_PLAN in batch script.
- H07 idle (4f) + attack (6f) are now real AI GIF frames, split+keyed+packed
  into runtime atlases with provenance. Visual review confirms consistent
  identity (green/gold elf ranger with bow) across idle and attack.
- Tools: gif_to_runtime.py (GIF->frames->atlas), gif_anim_job.py,
  batch_hero_gif.py (full auto batch with per-state frame plan + fixed
  IDENTITY table for cross-state consistency).
- Network root cause FULLY solved (3 different requirements): POST submit via
  DIRECT (urllib+proxy fails SSL), GET poll via proxy (direct returns empty),
  CDN download via DIRECT (proxy corrupts). Signed URL refreshed per attempt.
- Fixed PIL re-save dropping GIF frames (now copies original bytes), and resume
  path reuses saved task id instead of paying for regeneration.

All gates pass; P2_CHECKS_PASS. prototype/ untracked.
2026-11-19 01:54:21 +08:00
..