This repository is the official implementation of the paper "CogenPVG: Cognitive-Enhanced Reflective Multi-Agent Framework for Persuasive Video Generation".
- Clone this repository.
git clone git@github.com:OneCoin123/CogenPVG.git- Create the virtual environment and install the dependencies.
using uv
uv sync --python 3.12- Set the necessary API keys in
config/.env, for example,
VOLCENGINE_API_KEY=your_volcengine_api_key
TAVILY_API_KEY=your_tavily_api_key
DASHSCOPE_API_KEY=your_dashscope_api_key
SUNO_API_KEY=your_suno_api_key
...- Generate the persuasive video for a given topic and stance
uv run generate_sv.py --exp_dir output/run1 --topic "Log out after using websites" --stance "opposing"- Or generate the both stance sides of persuasive videos for a given topic set
uv run run_batch.py --exo_dir output/batch1 --topic_json_path config/topics.json