@acedatacloud/skills 2026.606.0 → 2026.606.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acedatacloud/skills",
3
- "version": "2026.606.0",
3
+ "version": "2026.606.1",
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",
@@ -21,7 +21,16 @@ Using `"callback_url": "https://api.acedata.cloud/health"` as a placeholder forc
21
21
  curl -X POST https://api.acedata.cloud/<service>/tasks \
22
22
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
23
23
  -H "Content-Type: application/json" \
24
- -d '{"task_id": "<task_id from step 1>"}'
24
+ -d '{"id": "<task_id from step 1>"}'
25
+ ```
26
+
27
+ For batch polling, use:
28
+
29
+ ```bash
30
+ curl -X POST https://api.acedata.cloud/<service>/tasks \
31
+ -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
32
+ -H "Content-Type: application/json" \
33
+ -d '{"action": "retrieve_batch", "ids": ["<task_id_1>", "<task_id_2>"]}'
25
34
  ```
26
35
 
27
36
  ## Important Notes
@@ -29,4 +38,4 @@ curl -X POST https://api.acedata.cloud/<service>/tasks \
29
38
  - Always use `callback_url` to avoid long-running HTTP connections that time out
30
39
  - Poll every 3-5 seconds for music, every 5 seconds for images/video
31
40
  - Terminal states vary by service (e.g., `succeeded`, `succeed`, `completed`, `failed`) — check each skill's Gotchas section
32
- - Some services use `id` instead of `task_id` in the poll request (e.g., Veo, Seedream, NanoBanana)
41
+ - Task polling uses `id` (single) or `ids` (batch). `action` defaults to `retrieve`; set `action: "retrieve_batch"` for `ids`.
@@ -23,7 +23,7 @@ curl -X POST https://api.acedata.cloud/fish/audios \
23
23
  -d '{"prompt": "Hello, this is a demonstration of AI voice synthesis."}'
24
24
  ```
25
25
 
26
- > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /fish/tasks` with `{"task_id": "..."}`.
26
+ > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /fish/tasks` with `{"id": "..."}`.
27
27
 
28
28
  ## Endpoints
29
29
 
@@ -23,7 +23,7 @@ curl -X POST https://api.acedata.cloud/hailuo/videos \
23
23
  -d '{"action": "generate", "prompt": "a dolphin jumping through ocean waves at golden hour", "model": "minimax-t2v"}'
24
24
  ```
25
25
 
26
- > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /hailuo/tasks` with `{"task_id": "..."}`.
26
+ > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /hailuo/tasks` with `{"id": "..."}`.
27
27
  ## Models
28
28
 
29
29
  | Model | Type | Best For |
@@ -23,7 +23,7 @@ curl -X POST https://api.acedata.cloud/kling/videos \
23
23
  -d '{"action": "text2video", "prompt": "a cat playing piano on a rooftop at sunset", "model": "kling-v3", "mode": "std", "duration": 5}'
24
24
  ```
25
25
 
26
- > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /kling/tasks` with `{"task_id": "..."}`.
26
+ > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /kling/tasks` with `{"id": "..."}`.
27
27
  ## Models
28
28
 
29
29
  | Model | Quality | Best For |
@@ -23,7 +23,7 @@ curl -X POST https://api.acedata.cloud/luma/videos \
23
23
  -d '{"prompt": "a drone flying over a mountain lake at sunrise", "action": "generate", "callback_url": "https://api.acedata.cloud/health"}'
24
24
  ```
25
25
 
26
- > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /luma/tasks` with `{"task_id": "..."}`.
26
+ > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /luma/tasks` with `{"id": "..."}`.
27
27
 
28
28
  ## Workflows
29
29
 
@@ -23,7 +23,7 @@ curl -X POST https://api.acedata.cloud/midjourney/imagine \
23
23
  -d '{"prompt": "a futuristic city at sunset, cyberpunk style --ar 16:9", "callback_url": "https://api.acedata.cloud/health"}'
24
24
  ```
25
25
 
26
- > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /midjourney/tasks` with `{"task_id": "..."}`.
26
+ > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /midjourney/tasks` with `{"id": "..."}`.
27
27
 
28
28
  ## Generation Modes
29
29
 
@@ -23,14 +23,14 @@ curl -X POST https://api.acedata.cloud/seedance/videos \
23
23
  -d '{"model": "doubao-seedance-1-0-pro-250528", "content": [{"type": "text", "text": "a dancer performing contemporary ballet in a misty forest"}], "callback_url": "https://api.acedata.cloud/health"}'
24
24
  ```
25
25
 
26
- > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /seedance/tasks` with `{"task_id": "..."}`.
26
+ > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /seedance/tasks` with `{"id": "..."}`.
27
27
  This returns a task ID immediately. Poll for the result:
28
28
 
29
29
  ```bash
30
30
  curl -X POST https://api.acedata.cloud/seedance/tasks \
31
31
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
32
32
  -H "Content-Type: application/json" \
33
- -d '{"task_id": "<task_id from above>"}'
33
+ -d '{"id": "<task_id from above>"}'
34
34
  ```
35
35
 
36
36
  ## Models
@@ -23,7 +23,7 @@ curl -X POST https://api.acedata.cloud/sora/videos \
23
23
  -d '{"prompt": "a golden retriever running on a beach at sunset", "model": "sora-2", "callback_url": "https://api.acedata.cloud/health"}'
24
24
  ```
25
25
 
26
- > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /sora/tasks` with `{"task_id": "..."}`.
26
+ > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /sora/tasks` with `{"id": "..."}`.
27
27
 
28
28
  ## Models
29
29
 
@@ -23,7 +23,7 @@ curl -X POST https://api.acedata.cloud/wan/videos \
23
23
  -d '{"action": "text2video", "prompt": "a dolphin jumping through ocean waves at golden hour", "model": "wan2.6-t2v"}'
24
24
  ```
25
25
 
26
- > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /wan/tasks` with `{"task_id": "..."}`.
26
+ > **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /wan/tasks` with `{"id": "..."}`.
27
27
  ## Models
28
28
 
29
29
  | Model | Type | Best For |