@acedatacloud/skills 2026.406.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +48 -0
- package/LICENSE +17 -0
- package/README.md +342 -0
- package/bin/cli.js +75 -0
- package/bin/postinstall.js +15 -0
- package/index.js +13 -0
- package/package.json +56 -0
- package/skills/_shared/async-tasks.md +32 -0
- package/skills/_shared/authentication.md +31 -0
- package/skills/_shared/mcp-servers.md +36 -0
- package/skills/acedatacloud-api/SKILL.md +130 -0
- package/skills/ai-chat/SKILL.md +210 -0
- package/skills/face-transform/SKILL.md +153 -0
- package/skills/fish-audio/SKILL.md +99 -0
- package/skills/flux-image/SKILL.md +82 -0
- package/skills/google-search/SKILL.md +88 -0
- package/skills/hailuo-video/SKILL.md +91 -0
- package/skills/kling-video/SKILL.md +126 -0
- package/skills/luma-video/SKILL.md +108 -0
- package/skills/midjourney-image/SKILL.md +170 -0
- package/skills/nano-banana-image/SKILL.md +85 -0
- package/skills/producer-music/SKILL.md +198 -0
- package/skills/seedance-video/SKILL.md +148 -0
- package/skills/seedream-image/SKILL.md +120 -0
- package/skills/short-url/SKILL.md +60 -0
- package/skills/sora-video/SKILL.md +97 -0
- package/skills/suno-music/SKILL.md +187 -0
- package/skills/veo-video/SKILL.md +112 -0
- package/skills/wan-video/SKILL.md +152 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: suno-music
|
|
3
|
+
description: Generate AI music with Suno via AceDataCloud API. Use when creating songs from text prompts, generating lyrics, extending tracks, creating covers, extracting vocals, managing voice personas, or any music generation task. Supports text-to-music, custom styles, multi-format output (MP3, WAV, MIDI, MP4), and vocal separation.
|
|
4
|
+
license: Apache-2.0
|
|
5
|
+
metadata:
|
|
6
|
+
author: acedatacloud
|
|
7
|
+
version: "1.0"
|
|
8
|
+
compatibility: Requires ACEDATACLOUD_API_TOKEN environment variable. Optionally pair with mcp-suno for tool-use.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Suno Music Generation
|
|
12
|
+
|
|
13
|
+
Generate AI-powered music through AceDataCloud's Suno API.
|
|
14
|
+
|
|
15
|
+
> **Setup:** See [authentication](../_shared/authentication.md) for token setup.
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
curl -X POST https://api.acedata.cloud/suno/audios \
|
|
21
|
+
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
|
|
22
|
+
-H "Content-Type: application/json" \
|
|
23
|
+
-d '{"prompt": "a happy pop song about coding", "model": "chirp-v5-5", "callback_url": "https://api.acedata.cloud/health"}'
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
> **Async:** All generation is async. See [async task polling](../_shared/async-tasks.md). Poll via `POST /suno/tasks` with `{"task_id": "..."}` every 3-5 seconds.
|
|
27
|
+
|
|
28
|
+
## Available Models
|
|
29
|
+
|
|
30
|
+
| Model | Best For |
|
|
31
|
+
|-------|---------|
|
|
32
|
+
| `chirp-v5-5` | Latest, highest quality |
|
|
33
|
+
| `chirp-v5` | High quality |
|
|
34
|
+
| `chirp-v4-5-plus` | Enhanced v4.5 |
|
|
35
|
+
| `chirp-v4-5` | Good balance of quality and speed |
|
|
36
|
+
| `chirp-v4` | Fast, reliable |
|
|
37
|
+
| `chirp-v3-5` | Legacy, stable |
|
|
38
|
+
| `chirp-v3-0` | Legacy |
|
|
39
|
+
|
|
40
|
+
## Core Workflows
|
|
41
|
+
|
|
42
|
+
### 1. Quick Generation (Inspiration Mode)
|
|
43
|
+
|
|
44
|
+
Generate a song from a text description. Suno creates lyrics, style, and music automatically.
|
|
45
|
+
|
|
46
|
+
```json
|
|
47
|
+
POST /suno/audios
|
|
48
|
+
{
|
|
49
|
+
"prompt": "an upbeat electronic track about the future of AI",
|
|
50
|
+
"model": "chirp-v5-5",
|
|
51
|
+
"instrumental": false
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### 2. Custom Generation (Full Control)
|
|
56
|
+
|
|
57
|
+
Provide your own lyrics, title, and style for precise control.
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
POST /suno/audios
|
|
61
|
+
{
|
|
62
|
+
"custom": true,
|
|
63
|
+
"lyric": "[Verse]\nCode is poetry in motion\n[Chorus]\nWe build the future tonight",
|
|
64
|
+
"title": "Digital Dreams",
|
|
65
|
+
"style": "Synthwave, Electronic, Dreamy",
|
|
66
|
+
"model": "chirp-v5-5",
|
|
67
|
+
"vocal_gender": "f"
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 3. Extend a Song
|
|
72
|
+
|
|
73
|
+
Continue an existing song from a specific timestamp with new lyrics.
|
|
74
|
+
|
|
75
|
+
```json
|
|
76
|
+
POST /suno/audios
|
|
77
|
+
{
|
|
78
|
+
"action": "extend",
|
|
79
|
+
"audio_id": "existing-audio-id",
|
|
80
|
+
"lyric": "[Bridge]\nNew section lyrics here",
|
|
81
|
+
"continue_at": 120.0,
|
|
82
|
+
"style": "Same style as original"
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### 4. Cover / Remix
|
|
87
|
+
|
|
88
|
+
Create a new version of an existing song in a different style.
|
|
89
|
+
|
|
90
|
+
```json
|
|
91
|
+
POST /suno/audios
|
|
92
|
+
{
|
|
93
|
+
"action": "cover",
|
|
94
|
+
"audio_id": "existing-audio-id",
|
|
95
|
+
"style": "Jazz, Acoustic, Mellow"
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### 5. Full Song Creation Workflow
|
|
100
|
+
|
|
101
|
+
For best results follow this multi-step workflow:
|
|
102
|
+
|
|
103
|
+
1. **Generate lyrics** — `POST /suno/lyrics` with a topic/prompt
|
|
104
|
+
2. **Optimize style** — `POST /suno/style` to refine style description
|
|
105
|
+
3. **Generate music** — `POST /suno/audios` with custom action, lyrics + style
|
|
106
|
+
4. **Poll task** — `POST /suno/tasks` with task_id until status is complete
|
|
107
|
+
5. **Optional: Extend** — Use extend action to add more sections
|
|
108
|
+
6. **Optional: Concat** — Use concat action to merge extended segments
|
|
109
|
+
7. **Optional: Convert** — Get WAV (`/suno/wav`), MIDI (`/suno/midi`), or MP4 (`/suno/mp4`)
|
|
110
|
+
|
|
111
|
+
## Available Actions
|
|
112
|
+
|
|
113
|
+
| Action | Description |
|
|
114
|
+
|--------|-------------|
|
|
115
|
+
| `generate` | Generate from prompt (default) |
|
|
116
|
+
| `extend` | Continue an existing audio from a timestamp |
|
|
117
|
+
| `upload_extend` | Upload external audio, then extend it |
|
|
118
|
+
| `upload_cover` | Upload external audio, then create a cover |
|
|
119
|
+
| `concat` | Concatenate extended segments into one track |
|
|
120
|
+
| `cover` | Copy the style of an existing audio |
|
|
121
|
+
| `artist_consistency` | Generate in a custom singer's style |
|
|
122
|
+
| `artist_consistency_vox` | Artist consistency with vocal focus |
|
|
123
|
+
| `stems` | Separate a track into stems |
|
|
124
|
+
| `all_stems` | Separate into all available stems |
|
|
125
|
+
| `replace_section` | Replace a specific time range in a song |
|
|
126
|
+
| `underpainting` | Add accompaniment to an uploaded song |
|
|
127
|
+
| `overpainting` | Add vocals to an uploaded song |
|
|
128
|
+
| `remaster` | Remaster an existing audio |
|
|
129
|
+
| `mashup` | Blend multiple audio IDs together |
|
|
130
|
+
| `samples` | Add samples to an uploaded song |
|
|
131
|
+
|
|
132
|
+
## Auxiliary Endpoints
|
|
133
|
+
|
|
134
|
+
| Endpoint | Method | Purpose |
|
|
135
|
+
|----------|--------|---------|
|
|
136
|
+
| `/suno/lyrics` | POST | Generate structured lyrics from a prompt (`model`: `"default"` or `"remi-v1"`) |
|
|
137
|
+
| `/suno/style` | POST | Optimize/refine a style description |
|
|
138
|
+
| `/suno/mashup-lyrics` | POST | Combine two sets of lyrics |
|
|
139
|
+
| `/suno/mp4` | POST | Get MP4 video version of a song |
|
|
140
|
+
| `/suno/wav` | POST | Convert to lossless WAV format |
|
|
141
|
+
| `/suno/midi` | POST | Extract MIDI data for DAW editing |
|
|
142
|
+
| `/suno/vox` | POST | Extract vocal track (stem separation) |
|
|
143
|
+
| `/suno/timing` | POST | Get word-level timing/subtitles |
|
|
144
|
+
| `/suno/persona` | POST | Save a vocal style as a reusable persona |
|
|
145
|
+
| `/suno/upload` | POST | Upload external audio for extend/cover |
|
|
146
|
+
| `/suno/tasks` | POST | Query task status and results |
|
|
147
|
+
|
|
148
|
+
## Advanced Parameters
|
|
149
|
+
|
|
150
|
+
| Parameter | Type | Description |
|
|
151
|
+
|-----------|------|-------------|
|
|
152
|
+
| `lyric_prompt` | string | Prompt for auto-generating lyrics (used when `custom: true` without explicit `lyric`) |
|
|
153
|
+
| `style_negative` | string | Style tags to avoid (e.g., `"heavy metal, distortion"`) |
|
|
154
|
+
| `style_influence` | number | Strength of style influence (advanced custom mode, v5+ only) |
|
|
155
|
+
| `audio_weight` | number | Weight for audio reference when covering (advanced, v5+ only) |
|
|
156
|
+
|
|
157
|
+
## Lyrics Format
|
|
158
|
+
|
|
159
|
+
Use section markers in square brackets:
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
[Verse 1]
|
|
163
|
+
Your verse lyrics here
|
|
164
|
+
|
|
165
|
+
[Chorus]
|
|
166
|
+
Catchy chorus lyrics
|
|
167
|
+
|
|
168
|
+
[Bridge]
|
|
169
|
+
Bridge section
|
|
170
|
+
|
|
171
|
+
[Outro]
|
|
172
|
+
Ending lyrics
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
## Gotchas
|
|
176
|
+
|
|
177
|
+
- All generation is **async** — always set `"callback_url"` to get a `task_id` immediately, then poll `/suno/tasks`
|
|
178
|
+
- **CRITICAL:** Check the `state` field — only `state: "complete"` with `success: true` means done. During `pending`, the API may return intermediate `audio_url` values (streaming previews). Do NOT stop polling just because `audio_url` is non-empty
|
|
179
|
+
- Lyrics max ~3000 characters. For longer songs, use the **extend** workflow
|
|
180
|
+
- Style tags are descriptive phrases, not enum values (e.g., "Synthwave, Electronic, Dreamy")
|
|
181
|
+
- `vocal_gender` ("f"/"m") is only supported on v4.5+ models
|
|
182
|
+
- `variation_category` ("high"/"normal"/"subtle") is only supported on v5+ models
|
|
183
|
+
- The `concat` action merges extended song segments — requires audio_id of the extended track
|
|
184
|
+
- `persona` requires an existing audio_id to extract the vocal reference from
|
|
185
|
+
- Upload external audio via `/suno/upload` before using it with extend/cover
|
|
186
|
+
|
|
187
|
+
> **MCP:** `pip install mcp-suno` | Hosted: `https://suno.mcp.acedata.cloud/mcp` | See [all MCP servers](../_shared/mcp-servers.md)
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: veo-video
|
|
3
|
+
description: Generate AI videos with Google Veo via AceDataCloud API. Use when creating videos from text descriptions, animating still images into video, or upscaling to 1080p. Supports Veo 2, Veo 3, and Veo 3.1 models including fast variants.
|
|
4
|
+
license: Apache-2.0
|
|
5
|
+
metadata:
|
|
6
|
+
author: acedatacloud
|
|
7
|
+
version: "1.0"
|
|
8
|
+
compatibility: Requires ACEDATACLOUD_API_TOKEN environment variable. Optionally pair with mcp-veo for tool-use.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Veo Video Generation
|
|
12
|
+
|
|
13
|
+
Generate AI videos through AceDataCloud's Google Veo API.
|
|
14
|
+
|
|
15
|
+
> **Setup:** See [authentication](../_shared/authentication.md) for token setup.
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
curl -X POST https://api.acedata.cloud/veo/videos \
|
|
21
|
+
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
|
|
22
|
+
-H "Content-Type: application/json" \
|
|
23
|
+
-d '{"action": "text2video", "prompt": "a whale breaching in slow motion at golden hour", "model": "veo3", "callback_url": "https://api.acedata.cloud/health"}'
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
> **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /veo/tasks` with `{"id": "..."}`.
|
|
27
|
+
This returns a task ID immediately. Poll for the result:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
curl -X POST https://api.acedata.cloud/veo/tasks \
|
|
31
|
+
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
|
|
32
|
+
-H "Content-Type: application/json" \
|
|
33
|
+
-d '{"id": "<task_id from above>"}'
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Models
|
|
37
|
+
|
|
38
|
+
| Model | Audio | Best For |
|
|
39
|
+
|-------|-------|----------|
|
|
40
|
+
| `veo2` | No | Cost-effective generation |
|
|
41
|
+
| `veo2-fast` | No | Fast, cost-effective generation (default) |
|
|
42
|
+
| `veo3` | Yes (native) | Full audiovisual generation |
|
|
43
|
+
| `veo3-fast` | Yes (native) | Faster audiovisual generation |
|
|
44
|
+
| `veo31` | Yes (native) | Veo 3.1, highest quality |
|
|
45
|
+
| `veo31-fast` | Yes (native) | Veo 3.1 fast variant |
|
|
46
|
+
| `veo31-fast-ingredient` | Yes (native) | Veo 3.1 fast, ingredient mode |
|
|
47
|
+
|
|
48
|
+
## Workflows
|
|
49
|
+
|
|
50
|
+
### 1. Text-to-Video
|
|
51
|
+
|
|
52
|
+
```json
|
|
53
|
+
POST /veo/videos
|
|
54
|
+
{
|
|
55
|
+
"action": "text2video",
|
|
56
|
+
"prompt": "cinematic aerial shot of the Northern Lights over Iceland",
|
|
57
|
+
"model": "veo3",
|
|
58
|
+
"resolution": "1080p"
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 2. Image-to-Video
|
|
63
|
+
|
|
64
|
+
Animate still images into video.
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
POST /veo/videos
|
|
68
|
+
{
|
|
69
|
+
"action": "image2video",
|
|
70
|
+
"prompt": "the scene gently comes to life with wind and subtle motion",
|
|
71
|
+
"image_urls": ["https://example.com/landscape.jpg"],
|
|
72
|
+
"model": "veo2",
|
|
73
|
+
"aspect_ratio": "16:9"
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### 3. Upscale to 1080p
|
|
78
|
+
|
|
79
|
+
Convert a previously generated video to full 1080p resolution.
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
POST /veo/videos
|
|
83
|
+
{
|
|
84
|
+
"action": "get1080p",
|
|
85
|
+
"video_id": "your-video-id",
|
|
86
|
+
"model": "veo3"
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Parameters
|
|
91
|
+
|
|
92
|
+
| Parameter | Values | Description |
|
|
93
|
+
|-----------|--------|-------------|
|
|
94
|
+
| `action` | `"text2video"`, `"image2video"`, `"get1080p"` | Generation mode |
|
|
95
|
+
| `model` | see Models table | Model to use (default: `veo2-fast`) |
|
|
96
|
+
| `resolution` | `"4k"`, `"1080p"`, `"gif"` | Output resolution (default: 720p) |
|
|
97
|
+
| `aspect_ratio` | `"16:9"`, `"9:16"`, `"1:1"`, `"4:3"`, `"3:4"` | Aspect ratio — only valid for `image2video` |
|
|
98
|
+
| `image_urls` | array of strings | Reference image URLs — only for `image2video` |
|
|
99
|
+
| `video_id` | string | Video to upscale — only for `get1080p` |
|
|
100
|
+
| `translation` | `true` / `false` | Auto-translate prompt to English (default: false) |
|
|
101
|
+
|
|
102
|
+
## Gotchas
|
|
103
|
+
|
|
104
|
+
- Veo 3 and 3.1 models generate **native audio** — `veo2`/`veo2-fast` do NOT support audio
|
|
105
|
+
- The `get1080p` action uses `video_id` (from a prior generation), not a URL
|
|
106
|
+
- `aspect_ratio` is **only valid** for the `image2video` action
|
|
107
|
+
- `image_urls` accepts an array — pass one or more image URLs for image-to-video
|
|
108
|
+
- `translation: true` auto-translates Chinese or other non-English prompts before sending to Veo
|
|
109
|
+
- Task polling uses `id` (not `task_id`) in the `/veo/tasks` request body
|
|
110
|
+
- Task states use `"succeeded"` (not "completed") — check for this value when polling
|
|
111
|
+
|
|
112
|
+
> **MCP:** `pip install mcp-veo` | Hosted: `https://veo.mcp.acedata.cloud/mcp` | See [all MCP servers](../_shared/mcp-servers.md)
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wan-video
|
|
3
|
+
description: Generate AI videos with Wan (Alibaba) via AceDataCloud API. Use when creating videos from text prompts or animating images into video. Supports text-to-video, image-to-video, reference video transfer, multi-resolution (480P-1080P), and optional audio.
|
|
4
|
+
license: Apache-2.0
|
|
5
|
+
metadata:
|
|
6
|
+
author: acedatacloud
|
|
7
|
+
version: "1.0"
|
|
8
|
+
compatibility: Requires ACEDATACLOUD_API_TOKEN environment variable. Optionally pair with mcp-wan for tool-use.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Wan Video Generation
|
|
12
|
+
|
|
13
|
+
Generate AI videos through AceDataCloud's Wan (Alibaba) API.
|
|
14
|
+
|
|
15
|
+
> **Setup:** See [authentication](../_shared/authentication.md) for token setup.
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
curl -X POST https://api.acedata.cloud/wan/videos \
|
|
21
|
+
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
|
|
22
|
+
-H "Content-Type: application/json" \
|
|
23
|
+
-d '{"action": "text2video", "prompt": "a dolphin jumping through ocean waves at golden hour", "model": "wan2.6-t2v"}'
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
> **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /wan/tasks` with `{"task_id": "..."}`.
|
|
27
|
+
## Models
|
|
28
|
+
|
|
29
|
+
| Model | Type | Best For |
|
|
30
|
+
|-------|------|----------|
|
|
31
|
+
| `wan2.6-t2v` | Text-to-Video | Creating video from text description |
|
|
32
|
+
| `wan2.6-i2v` | Image-to-Video | Animating a still image into video |
|
|
33
|
+
| `wan2.6-r2v` | Reference Video-to-Video | Character extraction and transfer from reference video |
|
|
34
|
+
| `wan2.6-i2v-flash` | Image-to-Video (Fast) | Quick image-to-video generation |
|
|
35
|
+
|
|
36
|
+
## Workflows
|
|
37
|
+
|
|
38
|
+
### 1. Text-to-Video
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
POST /wan/videos
|
|
42
|
+
{
|
|
43
|
+
"action": "text2video",
|
|
44
|
+
"prompt": "a time-lapse of flowers blooming in a meadow",
|
|
45
|
+
"model": "wan2.6-t2v",
|
|
46
|
+
"resolution": "720P",
|
|
47
|
+
"duration": 5
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 2. Image-to-Video
|
|
52
|
+
|
|
53
|
+
Animate a still image into a video clip.
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
POST /wan/videos
|
|
57
|
+
{
|
|
58
|
+
"action": "image2video",
|
|
59
|
+
"prompt": "gentle wind blows through the scene",
|
|
60
|
+
"model": "wan2.6-i2v",
|
|
61
|
+
"image_url": "https://example.com/landscape.jpg",
|
|
62
|
+
"resolution": "720P",
|
|
63
|
+
"duration": 5
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### 3. Image-to-Video (Flash)
|
|
68
|
+
|
|
69
|
+
Faster image-to-video generation with reduced latency.
|
|
70
|
+
|
|
71
|
+
```json
|
|
72
|
+
POST /wan/videos
|
|
73
|
+
{
|
|
74
|
+
"action": "image2video",
|
|
75
|
+
"prompt": "camera slowly pans across the landscape",
|
|
76
|
+
"model": "wan2.6-i2v-flash",
|
|
77
|
+
"image_url": "https://example.com/scene.jpg"
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### 4. Reference Video Transfer
|
|
82
|
+
|
|
83
|
+
Extract characters or timbres from a reference video and transfer them into a new generation.
|
|
84
|
+
|
|
85
|
+
```json
|
|
86
|
+
POST /wan/videos
|
|
87
|
+
{
|
|
88
|
+
"action": "text2video",
|
|
89
|
+
"prompt": "the character walks through a futuristic city at night",
|
|
90
|
+
"model": "wan2.6-r2v",
|
|
91
|
+
"reference_video_urls": ["https://example.com/reference.mp4"]
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### 5. Multi-Cut Editing
|
|
96
|
+
|
|
97
|
+
Generate a video with multiple shots rather than a single continuous take.
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
POST /wan/videos
|
|
101
|
+
{
|
|
102
|
+
"action": "text2video",
|
|
103
|
+
"prompt": "a chef preparing a meal in a busy kitchen",
|
|
104
|
+
"model": "wan2.6-t2v",
|
|
105
|
+
"shot_type": "multi",
|
|
106
|
+
"duration": 10
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### 6. Video with Audio
|
|
111
|
+
|
|
112
|
+
Enable audio generation alongside the video.
|
|
113
|
+
|
|
114
|
+
```json
|
|
115
|
+
POST /wan/videos
|
|
116
|
+
{
|
|
117
|
+
"action": "text2video",
|
|
118
|
+
"prompt": "ocean waves crashing on a rocky shore",
|
|
119
|
+
"model": "wan2.6-t2v",
|
|
120
|
+
"audio": true
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Parameters
|
|
125
|
+
|
|
126
|
+
| Parameter | Required | Values | Description |
|
|
127
|
+
|-----------|----------|--------|-------------|
|
|
128
|
+
| `action` | Yes | `"text2video"`, `"image2video"` | Action type |
|
|
129
|
+
| `prompt` | Yes | string | Scene description |
|
|
130
|
+
| `model` | Yes | `"wan2.6-t2v"`, `"wan2.6-i2v"`, `"wan2.6-r2v"`, `"wan2.6-i2v-flash"` | Model |
|
|
131
|
+
| `image_url` | For image2video | string | Source image URL (required for image-to-video) |
|
|
132
|
+
| `negative_prompt` | No | string (max 500 chars) | Content to exclude from generation |
|
|
133
|
+
| `reference_video_urls` | For r2v | array of strings | Reference videos for character/timbre extraction |
|
|
134
|
+
| `shot_type` | No | `"single"`, `"multi"` | Continuous shot or multi-cut editing |
|
|
135
|
+
| `audio` | No | boolean | Enable audio in the generated video |
|
|
136
|
+
| `audio_url` | No | string | Reference audio URL |
|
|
137
|
+
| `resolution` | No | `"480P"`, `"720P"`, `"1080P"` | Output resolution (default: 720P) |
|
|
138
|
+
| `size` | No | string | The size of the generated video |
|
|
139
|
+
| `duration` | No | `5`, `10`, `15` | Video duration in seconds |
|
|
140
|
+
| `prompt_extend` | No | boolean | Enable LLM-based prompt rewriting |
|
|
141
|
+
| `callback_url` | No | string | Async webhook notification URL |
|
|
142
|
+
|
|
143
|
+
## Gotchas
|
|
144
|
+
|
|
145
|
+
- `image_url` is **required** for `wan2.6-i2v` and `wan2.6-i2v-flash` models
|
|
146
|
+
- `reference_video_urls` is used only with `wan2.6-r2v` for character/timbre transfer
|
|
147
|
+
- `negative_prompt` has a maximum length of 500 characters
|
|
148
|
+
- Supported durations are 5, 10, or 15 seconds only
|
|
149
|
+
- Default resolution is 720P; use 1080P for higher quality at increased cost
|
|
150
|
+
- `shot_type: "multi"` produces multi-cut edits rather than a single continuous shot
|
|
151
|
+
|
|
152
|
+
> **MCP:** `pip install mcp-wan` | Hosted: `https://wan.mcp.acedata.cloud/mcp` | See [all MCP servers](../_shared/mcp-servers.md)
|