ttapi-video
Installation
SKILL.md
TTAPI Video
Use the bundled Node.js 20+ client to submit a video task, preserve its identifier, query it, and save the resulting video. It calls https://api.ttapi.io directly with the TT-API-KEY header derived from the TTAPI_API_KEY environment variable. Obtain the key from the TTAPI dashboard; never place it in prompts, source files, request JSON, or command arguments.
Choose the operation
- For Wan 3.0 text, a fixed first frame, or fixed first/last frames, read references/wan.md.
- For Grok text or first-frame generation, read references/grok.md.
- For an existing task, use its original operation and identifier. Querying does not submit a new generation.
Run commands from this skill's directory, or replace the script path with its absolute installed path:
node scripts/ttapi.mjs models
node scripts/ttapi.mjs schema wan-text-to-video
node scripts/ttapi.mjs submit wan-text-to-video --input request.json --dry-run
node scripts/ttapi.mjs submit wan-text-to-video --input request.json --wait --output ./videos
node scripts/ttapi.mjs get wan-text-to-video --task TASK_ID --wait --output ./videos