sora-video
1
总安装量
1
周安装量
#77145
全站排名
安装命令
npx skills add https://github.com/shuliuzhenhua-sys/shuliu-skills --skill sora-video
Agent 安装分布
amp
1
cline
1
openclaw
1
opencode
1
cursor
1
kimi-cli
1
Skill 文档
Sora Video Generation
Use the lnapi.com API to generate videos with Sora. Supports text-to-video and image-to-video.
Script Directory
Important: All scripts are located in the scripts/ subdirectory of this skill.
Agent Execution Instructions:
- Determine this SKILL.md file’s directory path as
SKILL_DIR - Script path =
${SKILL_DIR}/scripts/main.ts - Replace all
${SKILL_DIR}in this document with the actual path
Usage
# Text-to-Video
npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "A golden retriever running on the beach" --output video.mp4
# Image-to-Video
npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "Animate this image" --image input.jpg --output video.mp4
# Specify duration and size
npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "City at night" --seconds 15 --size 1280x720 --output video.mp4
Options
--prompt <text>,-p: Prompt text (required)--promptfiles <files...>: Read prompt from files--image <path>: Input image path (for image-to-video)--output <path>: Output video path (required)--model <id>: Model ID (defaultsora-2)--seconds <n>: Duration in seconds (10 or 15, default10)--size <WxH>: Resolution (1280×720, 720×1280, 720×720, default720x1280)--poll <ms>: Polling interval in ms (default5000)--json: JSON output-h, --help: Show help
Fixed Config
- Base URL:
https://lnapi.com - API Key:
LNAPI_KEY(Required in environment)