Media & Image v1.0.1

dream-head-tail-to-video

Generate videos from first and last frames using Head Tail to Video (Wan2.1) API. Automatically generates 4-second...

hy 更新于 2026-03-09 1 浏览
下载 SKILL

技能说明

Generate videos from first and last frames using Head Tail to Video (Wan2.1) API. Automatically generates 4-second videos from text descriptions and first/last frame images. Powered by Dreamface - AI tools for everyone. Visit https://tools.dreamfaceapp.com/home for more AI products. API resources: https://api.newportai.com/api-reference/head-tail-to-video-wan2-1

使用场景

Dream Head Tail to Video (Wan2.1) - First/Last Frame to Video

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/dream-head-tail-to-video
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 13 kB
SKILL.md text/markdown
---
name: dream-head-tail-to-video
description: "Generate videos from first and last frames using Head Tail to Video (Wan2.1) API. Automatically generates 4-second videos from text descriptions and first/last frame images. Powered by Dreamface - AI tools for everyone. Visit https://tools.dreamfaceapp.com/home for more AI products. API resources: https://api.newportai.com/api-reference/head-tail-to-video-wan2-1"
metadata: {"openclaw": {"emoji": "🔄", "requires": {"env": ["DREAMHEADTAILTOVIDEO_API_KEY"]}, "primaryEnv": "DREAMHEADTAILTOVIDEO_API_KEY"}}
---

# Dream Head Tail to Video (Wan2.1) - First/Last Frame to Video

Generate 4-second videos from text prompts and first/last frame images.

## Quick Start

### 1. Get API Key

Before using this skill, you need a DreamAPI API key. Visit **https://api.newportai.com/api-reference/get-started** to sign up and get your API key.

For more AI tools, please visit: **https://tools.dreamfaceapp.com/home**

### 2. Configure API Key

```bash
openclaw config patch --json '{"skills": {"entries": {"dream-head-tail-to-video": {"env": {"DREAMHEADTAILTOVIDEO_API_KEY": "your-api-key-here"}}}}}'```

### 3. Usage

#### Parameters:
- **prompt**: Text description, max 1500 characters
- **firstImage**: First frame image URL
- **lastImage**: Last frame image URL
- **resolution** (optional): "480p" or "720p", default "480p"

## API Details

### 1. Get Upload Policy (for local files)

Upload your local files to OSS first (get upload policy, then upload).

### 2. Head Tail to Video API
```
POST https://api.newportai.com/api/async/wan/head_tail_to_video/2.1
```

### 3. Polling for Result
```
POST https://api.newportai.com/api/getAsyncResult
```

## Implementation Notes

- Requires uploading first and last frame images
- Auto-generates intermediate frames
- Generates 4-second videos
- Status: 0=pending, 1=processing, 2=processing, 3=completed, 4=timeout

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。