/install dream-head-tail-to-video
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
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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install dream-head-tail-to-video - After installation, invoke the skill by name or use
/dream-head-tail-to-video - Provide required inputs per the skill's parameter spec and get structured output
What is Dream Head Tail to Video?
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/la... It is an AI Agent Skill for Claude Code / OpenClaw, with 325 downloads so far.
How do I install Dream Head Tail to Video?
Run "/install dream-head-tail-to-video" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Dream Head Tail to Video free?
Yes, Dream Head Tail to Video is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Dream Head Tail to Video support?
Dream Head Tail to Video is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Dream Head Tail to Video?
It is built and maintained by hy (@hy-1990); the current version is v1.0.1.