Skip to content

HiAPIAI/hiapi-seedance-2-5-video-skill

hiapi-seedance-2-5-video

Verified

Plan, 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.

FileKindSize
SKILL.mdskill md9.8 KB
agents/openai.yamlconfig361 B
assets/social-preview-seedance-2-5.pngbinary1.6 MB
references/api.mdmarkdown4.8 KB
references/output.mdmarkdown2.0 KB
references/upgrade-policy.mdmarkdown1.7 KB
references/workflow.mdmarkdown5.1 KB
scripts/check-config.mjsexecutablescript812 B
scripts/hiapi-seedance-2-video.mjsexecutablescript1.4 KB
scripts/install.mjsexecutablescript5.7 KB
scripts/lib/seedance-2-video.mjsscript39.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;
});
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: 119kUpdated Claude CodeCodexVerifiedInstall
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: 118kUpdated Claude CodeCodexVerifiedInstall
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: 108kUpdated Claude CodeCodexVerifiedInstall
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: 108kUpdated Claude CodeCodexVerifiedInstall