@acedatacloud/skills 2026.822.2 → 2026.905.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/README.md +2 -0
- package/package.json +2 -2
- package/skills/ai-chat/SKILL.md +1 -1
- package/skills/fish-audio/SKILL.md +26 -3
- package/skills/maestro-video/SKILL.md +5 -12
- package/skills/qwen-image/SKILL.md +59 -0
- package/skills/seedream-image/SKILL.md +79 -71
- package/skills/wan-video/SKILL.md +22 -0
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ Compatible with **30+ AI coding agents** via the [agentskills.io](https://agents
|
|
|
27
27
|
| Skill | Description |
|
|
28
28
|
|-------|-------------|
|
|
29
29
|
| [flux-image](skills/flux-image/) | Generate and edit images with Flux (Black Forest Labs) |
|
|
30
|
+
| [qwen-image](skills/qwen-image/) | Generate and edit images with Qwen Image 3 |
|
|
30
31
|
| [seedream-image](skills/seedream-image/) | Generate and edit images with ByteDance Seedream |
|
|
31
32
|
| [nano-banana-image](skills/nano-banana-image/) | Generate and edit images with Google Gemini (NanoBanana) |
|
|
32
33
|
|
|
@@ -211,6 +212,7 @@ Skills provide **knowledge** (when to use, parameters, gotchas). MCP servers pro
|
|
|
211
212
|
| luma-video | [mcp-luma](https://pypi.org/project/mcp-luma/) | `pip install mcp-luma` | `https://luma.mcp.acedata.cloud/mcp` |
|
|
212
213
|
| sora-video | [mcp-sora](https://pypi.org/project/mcp-sora/) | `pip install mcp-sora` | `https://sora.mcp.acedata.cloud/mcp` |
|
|
213
214
|
| veo-video | [mcp-veo](https://pypi.org/project/mcp-veo/) | `pip install mcp-veo` | `https://veo.mcp.acedata.cloud/mcp` |
|
|
215
|
+
| qwen-image | [mcp-qwen-image](https://pypi.org/project/mcp-qwen-image/) | `pip install mcp-qwen-image` | `https://qwen-image.mcp.acedata.cloud/mcp` |
|
|
214
216
|
| seedream-image | [mcp-seedream](https://pypi.org/project/mcp-seedream/) | `pip install mcp-seedream` | `https://seedream.mcp.acedata.cloud/mcp` |
|
|
215
217
|
| seedance-video | [mcp-seedance](https://pypi.org/project/mcp-seedance/) | `pip install mcp-seedance` | `https://seedance.mcp.acedata.cloud/mcp` |
|
|
216
218
|
| happyhorse-video | [mcp-happyhorse](https://pypi.org/project/mcp-happyhorse/) | `pip install mcp-happyhorse` | `https://happyhorse.mcp.acedata.cloud/mcp` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acedatacloud/skills",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.905.0",
|
|
4
4
|
"description": "Agent Skills for AceDataCloud AI services — music, image, video generation, LLM chat, web search. Compatible with Claude Code, GitHub Copilot, Gemini CLI, OpenAI Codex, and 30+ AI coding agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-skills",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
31
|
-
"url": "
|
|
31
|
+
"url": "https://github.com/AceDataCloud/Skills.git"
|
|
32
32
|
},
|
|
33
33
|
"license": "Apache-2.0",
|
|
34
34
|
"author": {
|
package/skills/ai-chat/SKILL.md
CHANGED
|
@@ -58,7 +58,7 @@ models include:
|
|
|
58
58
|
|--------|------------------|
|
|
59
59
|
| OpenAI / reasoning | `gpt-5.6-luna`, `gpt-5.6-terra`, `gpt-5.6-sol`, `gpt-5.5`, `gpt-5.5-pro`, `gpt-5.4`, `gpt-5.4-pro`, `gpt-5.2`, `gpt-5.1`, `gpt-5`, `gpt-5-mini`, `gpt-5-nano`, `gpt-4.1`, `gpt-4.1-mini`, `gpt-4.1-nano`, `gpt-4o`, `gpt-4o-mini`, `o1`, `o3`, `o4-mini` |
|
|
60
60
|
| OpenAI free-tier chat-completions | `gpt-5.5:free`, `gpt-5:free`, `gpt-4.1:free`, `gpt-4o:free`, `gpt-4o-mini:free`, `gpt-oss:free` |
|
|
61
|
-
| Claude | `claude-fable-5`, `claude-opus-5`, `claude-sonnet-5`, `claude-opus-4-8`, `claude-opus-4-7`, `claude-opus-4-6`, `claude-opus-4-5-20251101`, `claude-sonnet-4-6`, `claude-sonnet-4-5-20250929`, `claude-sonnet-4-20250514`, `claude-haiku-4-5-20251001`, `claude-3-7-sonnet-20250219` |
|
|
61
|
+
| Claude | `claude-fable-5-1`, `claude-fable-5`, `claude-opus-5`, `claude-sonnet-5`, `claude-opus-4-8`, `claude-opus-4-7`, `claude-opus-4-6`, `claude-opus-4-5-20251101`, `claude-sonnet-4-6`, `claude-sonnet-4-5-20250929`, `claude-sonnet-4-20250514`, `claude-haiku-4-5-20251001`, `claude-3-7-sonnet-20250219` |
|
|
62
62
|
| Gemini | `gemini-3.6-flash`, `gemini-3.5-flash`, `gemini-3.1-pro`, `gemini-3.1-pro-preview`, `gemini-3.1-flash-lite-preview`, `gemini-3-pro-preview`, `gemini-2.5-flash-lite`, `gemini-2.0-flash-lite` |
|
|
63
63
|
| Grok | `grok-4.5`, `grok-4`, `grok-4-0709`, `grok-3`, `grok-3-fast` |
|
|
64
64
|
| DeepSeek | `deepseek-v4-pro`, `deepseek-v4-flash`, `deepseek-r1`, `deepseek-r1-0528`, `deepseek-v3`, `deepseek-v3-250324`, `deepseek-v3.2-exp` |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: fish-audio
|
|
3
|
-
description: Generate AI text-to-speech audio
|
|
3
|
+
description: Generate AI text-to-speech audio, use saved voices, or create a one-shot voice clone from an HTTPS reference audio URL and exact transcript via AceDataCloud API.
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
metadata:
|
|
6
6
|
author: acedatacloud
|
|
@@ -66,7 +66,28 @@ Headers:
|
|
|
66
66
|
}
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
### 3.
|
|
69
|
+
### 3. One-shot voice cloning
|
|
70
|
+
|
|
71
|
+
Use a temporary reference voice without creating a persistent model:
|
|
72
|
+
|
|
73
|
+
```json
|
|
74
|
+
POST /fish/tts
|
|
75
|
+
Headers:
|
|
76
|
+
model: s2-pro
|
|
77
|
+
|
|
78
|
+
{
|
|
79
|
+
"text": "New speech in the referenced voice.",
|
|
80
|
+
"format": "mp3",
|
|
81
|
+
"references": [{
|
|
82
|
+
"audio": "https://cdn.acedata.cloud/reference.mp3",
|
|
83
|
+
"text": "The exact words spoken in the reference audio."
|
|
84
|
+
}]
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
`audio` must be a public HTTPS MP3/WAV URL and `text` must be the exact transcript. Use one reference lasting 10–270 seconds. Do not combine `references` with `reference_id`; use `reference_id` when the same saved/public voice will be reused. Raw bytes, Base64, data URIs, and MessagePack are not accepted by the AceDataCloud endpoint.
|
|
89
|
+
|
|
90
|
+
### 4. Async TTS
|
|
70
91
|
|
|
71
92
|
```json
|
|
72
93
|
POST /fish/tts
|
|
@@ -105,7 +126,7 @@ Headers:
|
|
|
105
126
|
| `max_new_tokens` | integer | Maximum generated tokens |
|
|
106
127
|
| `normalize` | boolean | Normalize generated audio |
|
|
107
128
|
| `prosody` | object | Prosody tuning |
|
|
108
|
-
| `references` | array |
|
|
129
|
+
| `references` | array | One `{audio, text}` object for a one-shot voice clone; mutually exclusive with `reference_id` |
|
|
109
130
|
| `callback_url` | string | Async callback URL |
|
|
110
131
|
| `async` | boolean | Run asynchronously and poll `/fish/tasks` |
|
|
111
132
|
|
|
@@ -114,4 +135,6 @@ Headers:
|
|
|
114
135
|
- The documented TTS endpoint is `POST /fish/tts` — not `/fish/audios`.
|
|
115
136
|
- Choose the Fish engine with the **`model` request header**, not a JSON `model` field.
|
|
116
137
|
- Use `reference_id` from `GET /fish/model` — not `voice_id`.
|
|
138
|
+
- Use `references` for a one-shot clone that is not saved as a model.
|
|
139
|
+
- Billing is based on the target text UTF-8 byte count; the reference audio does not add a separate clone fee.
|
|
117
140
|
- Synchronous requests return `audio_url` directly; async jobs should be polled via `/fish/tasks`.
|
|
@@ -34,7 +34,6 @@ curl -X POST https://api.acedata.cloud/maestro/videos \
|
|
|
34
34
|
"prompt": "Create a 30-second beginner-friendly video explaining vector databases. End with one memorable takeaway.",
|
|
35
35
|
"aspect": "16:9",
|
|
36
36
|
"duration": 30,
|
|
37
|
-
"quality": "standard",
|
|
38
37
|
"scenario": "narrated",
|
|
39
38
|
"langs": ["en"]
|
|
40
39
|
}'
|
|
@@ -72,29 +71,23 @@ Polling and history queries are free; the video task is settled after production
|
|
|
72
71
|
| `file_urls` | string[] | - | Public image, video, or audio references, up to the limits enforced by the API |
|
|
73
72
|
| `langs` | string[] | `["zh-cn"]` | Output language codes; each creates a localized rendered variant |
|
|
74
73
|
| `aspect` | string | `9:16` | `9:16`, `16:9`, or `1:1` |
|
|
75
|
-
| `duration` | integer | `30` | Target duration from 5 to 300 seconds
|
|
76
|
-
| `
|
|
77
|
-
| `scenario` | string | `auto` | `auto`, `narrated`, `captions`, `avatar`, or `drama`; availability depends on SKU |
|
|
74
|
+
| `duration` | integer | `30` | Target duration from 5 to 300 seconds |
|
|
75
|
+
| `scenario` | string | `auto` | `auto`, `narrated`, `captions`, `avatar`, or `drama` |
|
|
78
76
|
| `style` | string | `auto` | Preset or freeform visual direction |
|
|
79
77
|
| `voice` | string | `auto` | Cross-lingual voice preset or a 32-hex-character Fish reference ID |
|
|
80
78
|
| `callback_url` | string | - | Optional webhook called on success or failure |
|
|
81
79
|
|
|
82
|
-
### Production
|
|
80
|
+
### Production contract
|
|
83
81
|
|
|
84
|
-
|
|
85
|
-
|---|---:|---:|---|---:|---|
|
|
86
|
-
| `lite` | 0.20 Credits/second | 5–30s | 720p/24fps | 1 | auto/narrated/captions; generate/edit |
|
|
87
|
-
| `standard` | 0.60 Credits/second | 5–120s | 1080p/30fps | 2 | adds avatar and remix |
|
|
88
|
-
| `pro` | 1.20 Credits/second | 5–300s | 1080p/30fps | 4 | adds drama and extend |
|
|
82
|
+
Every request uses the complete production capability: all actions and scenarios, 5–300 seconds, up to 4 languages, and 1080p/30fps output. The base price is 0.60 Credits per delivered second. Avatar uses a 1.15× multiplier, drama uses 1.35×, and each additional delivered language adds 6 Credits. Failed tasks and polling are free.
|
|
89
83
|
|
|
90
|
-
Successful tasks are billed by delivered integer-second duration, with no 30-second minimum. Avatar uses a 1.15× multiplier, drama uses 1.35×, and each additional delivered language adds 6 Credits. Failed tasks and polling are free.
|
|
91
84
|
|
|
92
85
|
### Scenarios
|
|
93
86
|
|
|
94
87
|
- `auto`: let the director choose from the brief.
|
|
95
88
|
- `narrated`: multi-scene explainer, documentary, brand, history, or product video with voiceover.
|
|
96
89
|
- `captions`: add kinetic captions to a source video supplied in `file_urls`.
|
|
97
|
-
- `avatar`: talking-head or digital-human video; provide a portrait in `file_urls
|
|
90
|
+
- `avatar`: talking-head or digital-human video; provide a portrait in `file_urls`.
|
|
98
91
|
- `drama`: acted short drama with characters and dialogue (Pro only).
|
|
99
92
|
|
|
100
93
|
### Styles
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qwen-image
|
|
3
|
+
description: Generate and edit images with Qwen Image 3 via Ace Data Cloud. Use for text-to-image, 1-3 reference-image editing, batch output, precise text rendering, or asynchronous image tasks.
|
|
4
|
+
license: Apache-2.0
|
|
5
|
+
metadata:
|
|
6
|
+
author: acedatacloud
|
|
7
|
+
version: "1.0"
|
|
8
|
+
compatibility: Requires ACEDATACLOUD_API_TOKEN. Optionally pair with mcp-qwen-image.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Qwen Image 3
|
|
12
|
+
|
|
13
|
+
Use `POST https://api.acedata.cloud/qwen-image/images` for generation and editing.
|
|
14
|
+
|
|
15
|
+
## Models
|
|
16
|
+
|
|
17
|
+
| Model | Best for |
|
|
18
|
+
|---|---|
|
|
19
|
+
| `qwen-image-3.0` | Value, throughput, batch production |
|
|
20
|
+
| `qwen-image-3.0-pro` | Complex layouts, small text, fine detail |
|
|
21
|
+
|
|
22
|
+
## Generate
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
curl -X POST https://api.acedata.cloud/qwen-image/images \
|
|
26
|
+
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
|
|
27
|
+
-H "Content-Type: application/json" \
|
|
28
|
+
-d '{"model":"qwen-image-3.0","prompt":"A clean bilingual product poster","size":"1024*1024","n":1}'
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Edit with references
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"model": "qwen-image-3.0-pro",
|
|
36
|
+
"prompt": "Keep the subject and change the scene to a cinematic city at night",
|
|
37
|
+
"image_urls": ["https://cdn.acedata.cloud/r9vsv9.png"],
|
|
38
|
+
"size": "2048*2048",
|
|
39
|
+
"n": 1,
|
|
40
|
+
"prompt_extend": true,
|
|
41
|
+
"enable_thinking": true,
|
|
42
|
+
"watermark": false
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Use 1–3 reference images. `prompt_extend_mode=agent` is text-to-image only. `n` supports 1–6. Output size uses `WIDTH*HEIGHT`, with pixel area between 512×512 and 2048×2048 and aspect ratio between 1:8 and 8:1.
|
|
47
|
+
|
|
48
|
+
## Async tasks
|
|
49
|
+
|
|
50
|
+
Set `async: true` or provide `callback_url`. Poll the returned task with:
|
|
51
|
+
|
|
52
|
+
```json
|
|
53
|
+
POST /qwen-image/tasks
|
|
54
|
+
{"action":"retrieve","id":"TASK_ID"}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Task retrieval is free. Keep polling every 15 seconds until the response is terminal.
|
|
58
|
+
|
|
59
|
+
> **MCP:** `pip install mcp-qwen-image` | Hosted: `https://qwen-image.mcp.acedata.cloud/mcp`
|
|
@@ -1,115 +1,123 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: seedream-image
|
|
3
|
-
description: Generate
|
|
3
|
+
description: Generate, edit, stream, or decompose images with Seedream 5.0 via AceDataCloud. Use for text-to-image, reference-image editing, related image sets, transparent-background edits, or editable layer extraction.
|
|
4
4
|
license: Apache-2.0
|
|
5
5
|
metadata:
|
|
6
6
|
author: acedatacloud
|
|
7
|
-
version: "1.
|
|
8
|
-
compatibility: Requires ACEDATACLOUD_API_TOKEN
|
|
7
|
+
version: "1.1"
|
|
8
|
+
compatibility: Requires ACEDATACLOUD_API_TOKEN (see ../_shared/authentication.md). Optionally pair with mcp-seedream-pro or seedream-cli.
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# Seedream Image
|
|
11
|
+
# Seedream Image
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Use `POST https://api.acedata.cloud/seedream/images`. Authenticate with `Authorization: Bearer $ACEDATACLOUD_API_TOKEN` and JSON request bodies.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Pick the model from the requested capability
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
| Capability | Seedream 5.0 Pro | Seedream 5.0 Lite |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| Model ID | `doubao-seedream-5-0-pro-260628` | `doubao-seedream-5-0-260128` (alias: `doubao-seedream-5-0-lite-260128`) |
|
|
20
|
+
| Generate/edit one image | Yes | Yes |
|
|
21
|
+
| Reference images | Up to 10 | Up to 14 |
|
|
22
|
+
| Related image set | No | Yes; input + output ≤ 15 |
|
|
23
|
+
| Streaming / web search | No | Yes |
|
|
24
|
+
| Layer decomposition / transparent background | Yes | No |
|
|
25
|
+
| Prompt optimization | `standard`, `fast` | `standard` |
|
|
26
|
+
| Preset sizes | `1K`, `1.5K`, `2K` | `2K`, `3K`, `4K` |
|
|
27
|
+
|
|
28
|
+
Seedream 4.5 and 4.0 remain available for compatibility. Do not send a parameter to a model that does not support it.
|
|
29
|
+
|
|
30
|
+
## Generate or edit
|
|
18
31
|
|
|
19
32
|
```bash
|
|
20
|
-
curl
|
|
33
|
+
curl https://api.acedata.cloud/seedream/images \
|
|
21
34
|
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
|
|
22
35
|
-H "Content-Type: application/json" \
|
|
23
|
-
-d '{
|
|
36
|
+
-d '{
|
|
37
|
+
"model": "doubao-seedream-5-0-260128",
|
|
38
|
+
"prompt": "a four-panel storyboard of a courier crossing a rainy neon city",
|
|
39
|
+
"size": "2K",
|
|
40
|
+
"sequential_image_generation": "auto",
|
|
41
|
+
"sequential_image_generation_options": {"max_images": 4},
|
|
42
|
+
"watermark": false
|
|
43
|
+
}'
|
|
24
44
|
```
|
|
25
45
|
|
|
26
|
-
|
|
27
|
-
## Models
|
|
28
|
-
|
|
29
|
-
| Model | Version | Best For |
|
|
30
|
-
|-------|---------|----------|
|
|
31
|
-
| `doubao-seedream-5-0-260128` | Seedream 5.0 | Latest, highest quality (default) |
|
|
32
|
-
| `doubao-seedream-5-0-pro-260628` | Seedream 5.0 Pro | Highest-quality Seedream 5.0 model |
|
|
33
|
-
| `doubao-seedream-4-5-251128` | Seedream 4.5 | High quality, balanced |
|
|
34
|
-
| `doubao-seedream-4-0-250828` | Seedream 4.0 | Reliable generation |
|
|
35
|
-
|
|
36
|
-
## Workflows
|
|
46
|
+
For editing, add `image` as one URL/Base64 string or an array. `response_format` is `url` or `b64_json`; 5.0 Pro/Lite also support `output_format` as `jpeg` or `png`. Explicit dimensions use `WIDTHxHEIGHT` and must satisfy the selected model's pixel and aspect-ratio limits.
|
|
37
47
|
|
|
38
|
-
|
|
48
|
+
Use Lite web search only when current information matters:
|
|
39
49
|
|
|
40
50
|
```json
|
|
41
|
-
|
|
42
|
-
{
|
|
43
|
-
"prompt": "a serene Japanese garden with cherry blossoms and a red bridge",
|
|
44
|
-
"model": "doubao-seedream-5-0-260128",
|
|
45
|
-
"size": "1K"
|
|
46
|
-
}
|
|
51
|
+
{"tools": [{"type": "web_search"}]}
|
|
47
52
|
```
|
|
48
53
|
|
|
49
|
-
|
|
54
|
+
## Transparent-background Pro edit
|
|
50
55
|
|
|
51
|
-
|
|
56
|
+
Use one transparent PNG input and PNG output:
|
|
52
57
|
|
|
53
58
|
```json
|
|
54
|
-
POST /seedream/images
|
|
55
59
|
{
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"image":
|
|
60
|
+
"model": "doubao-seedream-5-0-pro-260628",
|
|
61
|
+
"prompt": "replace the parrot with a peacock",
|
|
62
|
+
"image": "https://example.com/layer.png",
|
|
63
|
+
"background": "transparent",
|
|
64
|
+
"output_format": "png",
|
|
65
|
+
"size": "1.5K"
|
|
59
66
|
}
|
|
60
67
|
```
|
|
61
68
|
|
|
62
|
-
|
|
69
|
+
Do not combine `background` with layer decomposition. `transparent` with JPEG is invalid.
|
|
63
70
|
|
|
64
|
-
|
|
71
|
+
## Decompose an image into editable layers
|
|
65
72
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
+
`layer_decomposition` is Pro-only and requires exactly one PNG/JPEG. Omit `prompt` for automatic decomposition, describe desired elements in natural language, or use normalized `<bbox>` coordinates.
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
curl https://api.acedata.cloud/seedream/images \
|
|
77
|
+
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
|
|
78
|
+
-H "Content-Type: application/json" \
|
|
79
|
+
-d '{
|
|
80
|
+
"model": "doubao-seedream-5-0-pro-260628",
|
|
81
|
+
"image": "https://example.com/poster.png",
|
|
82
|
+
"layer_decomposition": true,
|
|
83
|
+
"size": "auto",
|
|
84
|
+
"watermark": false
|
|
85
|
+
}'
|
|
73
86
|
```
|
|
74
87
|
|
|
75
|
-
|
|
88
|
+
The response contains one base image (`z_index: 0`) and up to 16 transparent PNG layers. Each layer can include `name`, `description`, and `bounding_box.absolute`/`normalized`. To recompose, scale each layer to its bounding-box width and height, place it at left/top, and draw in ascending `z_index`. Any layer failure fails the whole decomposition.
|
|
89
|
+
|
|
90
|
+
## Async tasks
|
|
91
|
+
|
|
92
|
+
Generation can take time. Prefer `"async": true`; the response returns `task_id`. Poll using:
|
|
76
93
|
|
|
77
94
|
```json
|
|
78
95
|
POST /seedream/tasks
|
|
79
|
-
{"id": "<task_id>"}
|
|
96
|
+
{"action": "retrieve", "id": "<task_id>"}
|
|
80
97
|
```
|
|
81
98
|
|
|
82
|
-
|
|
99
|
+
Follow [async task polling](../_shared/async-tasks.md). Use `callback_url` only when a real public webhook exists. Do not use a health endpoint as a fake callback.
|
|
100
|
+
|
|
101
|
+
## Streaming
|
|
83
102
|
|
|
84
|
-
|
|
103
|
+
Lite/4.x support streaming. Send `"stream": true` with `Accept: application/x-ndjson`; read one normalized JSON event per line until `image_generation.completed`. Do not combine streaming with `async` or `callback_url`.
|
|
85
104
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
| `prompt` | string | Image description (required) |
|
|
90
|
-
| `size` | `"1K"`, `"2K"`, `"3K"`, `"4K"`, `"adaptive"` | Output resolution; available presets depend on the selected model |
|
|
91
|
-
| `sequential_image_generation` | `"auto"`, `"disabled"` | Generate related images in sequence (5.0, 4.5, 4.0 only) |
|
|
92
|
-
| `stream` | boolean | Stream images as they're generated (5.0, 4.5, 4.0 only) |
|
|
93
|
-
| `watermark` | boolean | Add AI-generated watermark (default: true) |
|
|
94
|
-
| `output_format` | `"jpeg"`, `"png"` | Output file format (Seedream 5.0 only; default: jpeg) |
|
|
95
|
-
| `response_format` | `"url"`, `"b64_json"` | Response format (default: url) |
|
|
96
|
-
| `tools` | array | Enable tools, e.g. `[{"type": "web_search"}]` (Seedream 5.0 only) |
|
|
97
|
-
| `callback_url` | string | Webhook URL for async delivery; returns `task_id` immediately |
|
|
105
|
+
- `image_generation.partial_succeeded`: one generated image
|
|
106
|
+
- `image_generation.partial_failed`: one failed item; other Lite images may still succeed
|
|
107
|
+
- `image_generation.completed`: final usage and the only billing completion
|
|
98
108
|
|
|
99
|
-
|
|
109
|
+
## Agent tools
|
|
100
110
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
| `prompt` | Yes | Describe the desired edit |
|
|
111
|
+
- MCP: `pip install mcp-seedream-pro`; use `seedream_generate_image`, `seedream_edit_image`, `seedream_decompose_image`, then poll with `seedream_get_task`.
|
|
112
|
+
- CLI: `pip install seedream-cli`; use `seedream generate`, `seedream edit`, `seedream decompose`, or `seedream generate --stream --json`.
|
|
113
|
+
- Hosted MCP: `https://seedream.mcp.acedata.cloud/mcp`.
|
|
105
114
|
|
|
106
|
-
|
|
115
|
+
MCP image tools are asynchronous, so use REST or CLI for real-time streaming.
|
|
107
116
|
|
|
108
|
-
|
|
109
|
-
- Image editing uses the same `/seedream/images` endpoint with the `image` array parameter (no separate edit endpoint)
|
|
110
|
-
- `size` replaces separate `width`/`height` params; use `"1K"` for 1024×1024, `"2K"` for 2048×2048, etc.
|
|
111
|
-
- 5.0 Pro supports `1K`/`2K`; 5.0 Lite supports `2K`/`3K`/`4K`; 4.5 supports `2K`/`4K`; 4.0 supports `1K`/`2K`/`4K`; `adaptive` selects a size from the reference image
|
|
112
|
-
- `stream` and `sequential_image_generation` are only available for Seedream 5.0, 4.5, and 4.0
|
|
113
|
-
- Pass `callback_url` to get a `task_id` immediately and avoid blocking; poll `/seedream/tasks` for the result — use `"https://api.acedata.cloud/health"` as a placeholder to force async mode without a real webhook
|
|
117
|
+
## Result and billing safeguards
|
|
114
118
|
|
|
115
|
-
|
|
119
|
+
- URL results expire; persist files promptly.
|
|
120
|
+
- Lite `data[]` may mix successful images and per-item `error` objects. Count only successful images.
|
|
121
|
+
- Pro layer items are billed individually by actual output size; the base and every successful layer count separately.
|
|
122
|
+
- Preserve `z_index`, bounding boxes, item errors, `tools`, and `usage`; do not flatten the response to a URL list.
|
|
123
|
+
- Never estimate final billed cost from requested size alone. Use the returned `cost`/usage and the live pricing page: https://platform.acedata.cloud/services/seedream?tab=pricing.
|
|
@@ -32,6 +32,7 @@ curl -X POST https://api.acedata.cloud/wan/videos \
|
|
|
32
32
|
| `wan2.6-i2v` | Image-to-Video | Animating a still image into video |
|
|
33
33
|
| `wan2.6-r2v` | Reference Video-to-Video | Character extraction and transfer from reference video |
|
|
34
34
|
| `wan2.6-i2v-flash` | Image-to-Video (Fast) | Quick image-to-video generation |
|
|
35
|
+
| `wan3.0-video` | All-in-One | Text, frames, reference media, files, and public links |
|
|
35
36
|
|
|
36
37
|
## Workflows
|
|
37
38
|
|
|
@@ -150,3 +151,24 @@ POST /wan/videos
|
|
|
150
151
|
- `shot_type: "multi"` produces multi-cut edits rather than a single continuous shot
|
|
151
152
|
|
|
152
153
|
> **MCP:** `pip install mcp-wan` | Hosted: `https://wan.mcp.acedata.cloud/mcp` | See [all MCP servers](../_shared/mcp-servers.md)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
## Wan 3 All-in-One
|
|
157
|
+
|
|
158
|
+
`wan3.0-video` infers the workflow from `media`. Supported types are `first_frame`, `last_frame`, `reference_image` (up to 10), `reference_video` (up to 5, 15 seconds total), `reference_audio` (up to 5, 15 seconds total), `file`, and `link`. Frame mode cannot be mixed with reference/file/link mode.
|
|
159
|
+
|
|
160
|
+
```json
|
|
161
|
+
POST /wan/videos
|
|
162
|
+
{
|
|
163
|
+
"model": "wan3.0-video",
|
|
164
|
+
"prompt": "Use image 1 to create a cinematic product video",
|
|
165
|
+
"media": [{"type":"reference_image","url":"https://cdn.acedata.cloud/r9vsv9.png"}],
|
|
166
|
+
"resolution": "720P",
|
|
167
|
+
"ratio": "16:9",
|
|
168
|
+
"duration": 5,
|
|
169
|
+
"audio": true,
|
|
170
|
+
"async": true
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Wan 3 supports 2–30 seconds or `-1` automatic duration. Poll with the existing `/wan/tasks` endpoint.
|