
This project is an AI-powered video captioning agent built for the AMD Developer Hackathon: ACT II. Given a short video clip, the pipeline extracts evenly-spaced frames, sends them to a vision-language model (Qwen 3.7 Plus, hosted via Fireworks AI) to generate a factual description of the scene, then rewrites that description into four distinct caption styles: formal, sarcastic, humorous-tech, and humorous-non-tech. The core challenge was making each style genuinely distinct rather than just varying the same joke — this was solved through carefully tuned prompt templates per style, combined with disabling the model's default "reasoning" mode (which otherwise leaked internal chain-of-thought into the final captions) using Fireworks' reasoning_effort parameter. The agent is fully containerized with Docker, reads a batch of video tasks from /input/tasks.json, and writes structured results to /output/results.json, matching the hackathon's evaluation harness format. It was tested against varied content — traffic scenes, animals, and office settings — to confirm the captions stay accurate and stylistically distinct across different subject matter.
13 Jul 2026