360 Secure SkillHub
360 安全技能中心

Dream Text to Video

调用 Dreamface 的 Wan2.1 文生视频接口,把最多 1500 字符的文本提示提交为异步任务并轮询结果,输出 4 秒、480p 或 720p 的视频;需配置 API Key,包内仅有 SKILL.md。

分类:创作
hy-1990
hy-1990
热度 45.52
最近更新 2026-05-11 17:29:44

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add hy-1990/dream-text-to-video
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
dream-text-to-video
description
Generate videos from text using Text to Video (Wan2.1) API. Automatically generates 4-second videos from text descriptions. 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/text-to-video-wan2-1
metadata
{"openclaw":{"emoji":"✍️","requires":{"env":["DREAMTEXTTOVIDEO_API_KEY"]},"primaryEnv":"DREAMTEXTTOVIDEO_API_KEY"}}

Dream Text to Video (Wan2.1) - Text to Video

Generate 4-second videos from text prompts.

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-text-to-video": {"env": {"DREAMTEXTTOVIDEO_API_KEY": "your-api-key-here"}}}}}'```

### 3. Usage

#### Parameters:
- **prompt**: Text description, max 1500 characters
- **resolution** (optional): "480p" or "720p", default "480p"

## API Details

### Text to Video API

POST https://api.newportai.com/api/async/wan/text_to_video/2.1


### Polling for Result

POST https://api.newportai.com/api/getAsyncResult


## Implementation Notes

- No image upload needed, text-to-video
- Generates 4-second videos
- Prompt max 1500 characters
- Supports 480p and 720p
- Status: 0=pending, 1=processing, 2=processing, 3=completed, 4=timeout