ai-video-skills
Installation
SKILL.md
ai-video-skills
Overview
Use this skill to turn OpenAPI definitions into working video-generation API calls for skills.video.
Prefer deterministic extraction from openapi.json instead of guessing fields.
Workflow
- Check API key and bootstrap environment on first use.
- Identify the active spec.
- Select the SSE endpoint pair for a video model.
- Extract request schema and generate a payload template.
- Execute
POST /generation/sse/...as default and keep the stream open. - If SSE does not reach terminal completion, poll
GET /generation/{id}to terminal status. - Return only terminal result (
COMPLETED/SUCCEEDED/FAILED/CANCELED), neverIN_PROGRESS. - Apply retry and failure handling.
0) Check API key (first run)
Run this check before any API call.