Generate video on Qwen Token Plan only. Capability SOT: CAPABILITIES.json (video_out).
User request: $ARGUMENTS
Allowlist (exact IDs)
| Model | Job | Limits |
|---|---|---|
happyhorse-1.1-t2v |
Default text-to-video | 3–15s, 720/1080P, audio |
happyhorse-1.1-i2v |
Image-to-video (first frame) | 3–15s |
happyhorse-1.1-r2v |
Reference-to-video | 1–9 refs, 3–15s |
Not on Token Plan Personal: wan3.0-video (invite-only), wan2.7-t2v, wan2.6-*. Do not call them on this key.
Steps
- Short first: 5s, 720P. Video burns Credits fast; settle is async after complete.
- Create task (Token Plan host, same video-synthesis path as QwenCloud docs):
source /root/.secrets/kunci-root.env
curl -s -X POST "https://token-plan.ap-southeast-1.maas.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis" \
-H "Authorization: Bearer $QWEN_API_KEY" \
-H "X-DashScope-Async: enable" \
-H "Content-Type: application/json" \
-d '{
"model": "happyhorse-1.1-t2v",
"input": {"prompt": "<PROMPT>"},
"parameters": {"resolution": "720P", "duration": 5}
}'
- Poll
GET .../api/v1/tasks/<task_id>until SUCCEEDED. Downloadvideo_urlimmediately (24h expiry). - If 404/model-not-exist: fail loudly. Do not silently switch to DashScope pay-as-you-go.
Notes
- Key is
QWEN_API_KEYon Token Plan Singapore.DASHSCOPE_API_KEYon dashscope-intl is a different ledger. - MiniMax
generate_videois a different hand (minimax-media). - Docs: https://docs.qwencloud.com/developer-guides/getting-started/video-models Allowlist: https://docs.qwencloud.com/token-plan/personal/token-plan-personal-overview