Credentials. Regenerating clips goes through the Docker runtime, so keep your authorization with you and never let the agent handle cookies, API keys, or browser profiles.
Who it is forA creator with a poem video in progress whose image-to-video clips show problems such as duplicated birds, odd horse legs, or moving buildings.
The problemImage-to-video models often redraw the scene, which can add birds, change legs, or rebuild a temple, and fixing this with a slow zoom hides the problem.
The outcomeA corrected project where only the failing clips are regenerated, the stable clips are kept, and the new final MP4 passes the frame checks.
What you need first
- An agent that supports SKILL.md, such as Codex or Claude Code
- Codex built-in ImageGen for the still images
- Docker with the gemini-flow-suite container from the HBG Gemini Flow Suite runtime, with the one-time authorization done by you
- The classical poem text and the scene plan you want to use
Steps
- Run
skill/classical-poem-silk-video/scripts/final_media_qa.sh final.mp4 qa/finalon the current video and review the contact sheet for the checks in the README, such as bird count, horse legs, building stability, and white star marks. (inferred, check the README) - Ask the agent to list which clips fail and to rewrite only those motion prompts with fixed anchors, one main motion, and clear limits on new elements.
- Regenerate only the failing clips through the Docker runtime, keeping the passing clips unchanged. (inferred, check the README)
- Run
skill/classical-poem-silk-video/scripts/final_media_qa.sh final.mp4 qa/final qa-timestamps.tsvon the rebuilt video and confirm the failing moments now pass. (inferred, check the README)
Prompt for your agent
Use the classical-poem-silk-video skill from https://github.com/Mr-funny/hbg-classical-poem-silk-video to review the image-to-video clips in <project folder>. Name each failing clip and rebuild only those clips without changing the camera. Verify with final_media_qa.sh that the rebuilt final MP4 has no black frame at the transition midpoints.
Caveat. The README says the skill does not operate your browser during generation, so you need the Docker runtime ready before any clip can be redone.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Mr-funny/hbg-classical-poem-silk-video and "Repair weak image-to-video clips in a poem project"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer