@avclabs.ai/media-mcp 0.1.0 → 0.1.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/README.md +4 -0
- package/README_EN.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -154,6 +154,8 @@ AI 会自动调用相应工具完成任务。
|
|
|
154
154
|
|
|
155
155
|
创建视频增强任务(异步)。
|
|
156
156
|
|
|
157
|
+
> **推荐使用**:适用于绝大多数场景,尤其是时长超过 10 秒的视频,可避免长时间阻塞连接。
|
|
158
|
+
|
|
157
159
|
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|
|
158
160
|
|---|---|---|---|---|
|
|
159
161
|
| `video_source` | string | 是 | - | 视频 URL 或本地文件路径(URL 必须公网可访问,不支持需要登录或签名的链接) |
|
|
@@ -192,6 +194,8 @@ AI 会自动调用相应工具完成任务。
|
|
|
192
194
|
|
|
193
195
|
同步增强视频(阻塞等待完成)。
|
|
194
196
|
|
|
197
|
+
> **建议仅在视频时长较短(10 秒以内)时使用。** 长视频可能导致超时或长时间占用客户端连接。
|
|
198
|
+
|
|
195
199
|
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|
|
196
200
|
|---|---|---|---|---|
|
|
197
201
|
| `video_source` | string | 是 | - | 视频 URL 或本地文件路径(URL 必须公网可访问,不支持需要登录或签名的链接) |
|
package/README_EN.md
CHANGED
|
@@ -153,6 +153,8 @@ The agent will automatically call the appropriate tools.
|
|
|
153
153
|
|
|
154
154
|
Create an asynchronous video enhancement task.
|
|
155
155
|
|
|
156
|
+
> **Recommended for most use cases.** Ideal for longer videos (over 10 seconds) to avoid blocking the connection for an extended period.
|
|
157
|
+
|
|
156
158
|
| Parameter | Type | Required | Default | Description |
|
|
157
159
|
|---|---|---|---|---|
|
|
158
160
|
| `video_source` | string | Yes | - | Video URL or local file path (URL must be publicly accessible, links requiring login or signatures are not supported) |
|
|
@@ -191,6 +193,8 @@ Query task status.
|
|
|
191
193
|
|
|
192
194
|
Synchronously enhance video (blocks until completion).
|
|
193
195
|
|
|
196
|
+
> **Best for short videos (under 10 seconds).** Long videos may cause timeouts or keep the client connection occupied.
|
|
197
|
+
|
|
194
198
|
| Parameter | Type | Required | Default | Description |
|
|
195
199
|
|---|---|---|---|---|
|
|
196
200
|
| `video_source` | string | Yes | - | Video URL or local file path (URL must be publicly accessible, links requiring login or signatures are not supported) |
|
package/package.json
CHANGED