HiAPIAI/hiapi-seedance-2-5-video-skill
hiapi-seedance-2-5-video
VerifiedPlan, generate, recover, download, and quality-check Seedance 2.5 videos through HiAPI. Use for Seedance 2.5 text-to-video, first/last-frame image-to-video, multimodal reference-to-video, or a complete brief-to-delivery video workflow.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.8 KB |
| agents/openai.yaml | config | 361 B |
| assets/social-preview-seedance-2-5.png | binary | 1.6 MB |
| references/api.md | markdown | 4.8 KB |
| references/output.md | markdown | 2.0 KB |
| references/upgrade-policy.md | markdown | 1.7 KB |
| references/workflow.md | markdown | 5.1 KB |
| scripts/check-config.mjsexecutable | script | 812 B |
| scripts/hiapi-seedance-2-video.mjsexecutable | script | 1.4 KB |
| scripts/install.mjsexecutable | script | 5.7 KB |
| scripts/lib/seedance-2-video.mjs | script | 39.0 KB |
scripts/hiapi-seedance-2-video.mjs
View on GitHub#!/usr/bin/env node
import {
buildVideoPayload,
checkLiveContract,
fetchPricingEstimate,
generateVideo,
parseArgs,
redactPayload,
resolveConfig,
usage,
warnOrRequireSkillUpdate,
} from "./lib/seedance-2-video.mjs";
async function main() {
const options = parseArgs(process.argv.slice(2));
if (options.help) {
console.log(usage());
return;
}
if (options.checkContract) {
const result = await checkLiveContract();
console.log(JSON.stringify(result, null, 2));
if (!result.ok) process.exitCode = 2;
return;
}
if (options.resumeTaskId || options.dryRun || options.estimate) await warnOrRequireSkillUpdate({ allowRecovery: true });
if (options.dryRun || options.estimate) {
const payload = buildVideoPayload(options);
const estimate = options.estimate ? await fetchPricingEstimate(payload, { referenceVideoDurations: options.referenceVideoDurations }) : null;
console.log(JSON.stringify({
ok: true,
paidTaskCreated: false,
payload: redactPayload(payload),
estimate,
next: "Review the payload and estimate, then remove --dry-run and --estimate to create the paid task.",
}, null, 2));
return;
}
const config = resolveConfig();
const result = await generateVideo(options, config);
console.log(JSON.stringify(result, null, 2));
}
main().catch((error) => {
console.error(error.message);
process.exitCode = 1;
});
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |