Use this skill to generate text-to-video clips through the user's GTtoken/OpenAI-compatible relay instead of RunComfy, Volcengine, or Aliyun Bailian.
Default target:
https://api.modagent-homing.com/v1happyhorse-1.0-t2vBefore running the helper script, confirm one API key environment variable is available:
export GTTOKEN_API_KEY="sk-..."
Optional overrides:
export GTTOKEN_BASE_URL="https://api.modagent-homing.com/v1"
export HAPPYHORSE_MODEL="happyhorse-1.0-t2v"
Accept HAPPYHORSE_API_KEY as a fallback if GTTOKEN_API_KEY is not set.
deepseek-v4-flash.happyhorse-1.0-t2v as the default chat model.scripts/generate_happyhorse_t2v.py with the user's prompt.python scripts/generate_happyhorse_t2v.py \
--prompt "赛博朋克东京夜景,下雨,霓虹灯,镜头缓慢推进,电影感,5秒" \
--duration 5 \
--aspect-ratio 16:9 \
--resolution 1080P \
--output-dir /tmp/happyhorse
For best results, ask the user for or infer:
16:9, 9:16, 1:1, 4:3, or 3:4Prefer a single clear visual beat per clip. Avoid conflicting styles.
401 or invalid api key: the GTtoken key is wrong, expired, or not authorized for HappyHorse.model not found: the exact model id is wrong or unavailable to this key. Try happyhorse-1.0-t2v from the GTtoken model page. response: the base URL is wrong; use the API base URL, normally https://api.modagent-homing.com/v1, not /console/token or the website homepage.共 1 个版本