Search

PythonReactSEOPDF
OpenClaw

Sora 2 视频生成

使用 Sora 2 模型生成视频。当用户想要文生视频、图生视频、视频重混,或提到 sora、OpenAI 视频生成时使用此 skill。

hexiaochun0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install hexiaochun/sora-2

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Sora 2

OpenAI Sora 2 是一款先进的视频生成模型,能够从自然语言或图像生成带有音频的高质量动态视频。

可用模型

模型 ID 功能 分辨率 说明
fal-ai/sora-2/text-to-video 文生视频 720p 标准版文字生成视频
fal-ai/sora-2/image-to-video 图生视频 720p 以图片为首帧生成视频
fal-ai/sora-2/text-to-video/pro 文生视频 Pro 1080p 专业版高清文生视频
fal-ai/sora-2/image-to-video/pro 图生视频 Pro 1080p 专业版高清图生视频
fal-ai/sora-2/video-to-video/remix 视频重混 - 对 Sora 生成的视频进行风格转换

计费方式

模型版本 分辨率 单价 4秒 8秒 12秒
标准版 720p 40积分/秒 160 320 480
Remix - 40积分/秒 160 320 480
Pro 720p 120积分/秒 480 960 1440
Pro 1080p 200积分/秒 800 1600 2400

工作流

1. 调用 submit_task

使用 MCP 工具 submit_task 提交任务。

文生视频示例
{
  "model_id": "fal-ai/sora-2/text-to-video",
  "parameters": {
    "prompt": "一只金色猎犬在草地上奔跑,阳光明媚,慢镜头,电影质感",
    "duration": 8,
    "aspect_ratio": "16:9"
  }
}
图生视频示例
{
  "model_id": "fal-ai/sora-2/image-to-video",
  "parameters": {
    "prompt": "人物微微转头,露出温暖的微笑",
    "image_url": "https://example.com/portrait.jpg",
    "duration": 4,
    "aspect_ratio": "auto"
  }
}
视频重混示例
{
  "model_id": "fal-ai/sora-2/video-to-video/remix",
  "parameters": {
    "video_id": "video_123",
    "prompt": "将场景改为夜晚,添加霓虹灯效果"
  }
}
参数说明
文生视频 (text-to-video / text-to-video/pro)
参数 类型 必填 默认值 说明
prompt string 是 - 视频生成提示词
duration integer 否 4 视频时长:4/8/12 秒
aspect_ratio string 否 "16:9" 宽高比:9:16 / 16:9
resolution string 否 720p/1080p 分辨率(Pro 版默认 1080p)
model...

Source information

Source
github
Repository
openclaw/skills
Path
skills/hexiaochun/sora-2
Version
—
Commit
bda7fedc43ddce0fa34c91caa2c969275fd59c8f
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Sora 2

OpenAI Sora 2 是一款先进的视频生成模型,能够从自然语言或图像生成带有音频的高质量动态视频。

## 可用模型

| 模型 ID | 功能 | 分辨率 | 说明 |
|--------|------|--------|------|
| `fal-ai/sora-2/text-to-video` | 文生视频 | 720p | 标准版文字生成视频 |
| `fal-ai/sora-2/image-to-video` | 图生视频 | 720p | 以图片为首帧生成视频 |
| `fal-ai/sora-2/text-to-video/pro` | 文生视频 Pro | 1080p | 专业版高清文生视频 |
| `fal-ai/sora-2/image-to-video/pro` | 图生视频 Pro | 1080p | 专业版高清图生视频 |
| `fal-ai/sora-2/video-to-video/remix` | 视频重混 | - | 对 Sora 生成的视频进行风格转换 |

## 计费方式

| 模型版本 | 分辨率 | 单价 | 4秒 | 8秒 | 12秒 |
|---------|--------|------|-----|-----|------|
| 标准版 | 720p | 40积分/秒 | 160 | 320 | 480 |
| Remix | - | 40积分/秒 | 160 | 320 | 480 |
| Pro | 720p | 120积分/秒 | 480 | 960 | 1440 |
| Pro | 1080p | 200积分/秒 | 800 | 1600 | 2400 |

## 工作流

### 1. 调用 submit_task

使用 MCP 工具 `submit_task` 提交任务。

#### 文生视频示例

```json
{
  "model_id": "fal-ai/sora-2/text-to-video",
  "parameters": {
    "prompt": "一只金色猎犬在草地上奔跑,阳光明媚,慢镜头,电影质感",
    "duration": 8,
    "aspect_ratio": "16:9"
  }
}
```

#### 图生视频示例

```json
{
  "model_id": "fal-ai/sora-2/image-to-video",
  "parameters": {
    "prompt": "人物微微转头,露出温暖的微笑",
    "image_url": "https://example.com/portrait.jpg",
    "duration": 4,
    "aspect_ratio": "auto"
  }
}
```

#### 视频重混示例

```json
{
  "model_id": "fal-ai/sora-2/video-to-video/remix",
  "parameters": {
    "video_id": "video_123",
    "prompt": "将场景改为夜晚,添加霓虹灯效果"
  }
}
```

### 参数说明

#### 文生视频 (text-to-video / text-to-video/pro)

| 参数 | 类型 | 必填 | 默认值 | 说明 |
|-----|------|-----|-------|------|
| prompt | string | **是** | - | 视频生成提示词 |
| duration | integer | 否 | 4 | 视频时长:4/8/12 秒 |
| aspect_ratio | string | 否 | "16:9" | 宽高比:9:16 / 16:9 |
| resolution | string | 否 | 720p/1080p | 分辨率(Pro 版默认 1080p) |
| model...

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.