agent-media 0.5.0 → 0.6.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 +119 -106
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -3,116 +3,81 @@
|
|
|
3
3
|
Media processing CLI for AI agents.
|
|
4
4
|
|
|
5
5
|
- **Image**: generate, edit, remove-background, resize, convert, extend
|
|
6
|
-
- **Video**:
|
|
7
|
-
- **Audio**: transcribe (with speaker identification)
|
|
6
|
+
- **Video**: generate (text-to-video and image-to-video)
|
|
7
|
+
- **Audio**: extract from video, transcribe (with speaker identification)
|
|
8
8
|
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
### Local processing (no API key needed)
|
|
9
|
+
## Installation
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
### Global
|
|
14
12
|
|
|
15
13
|
```bash
|
|
16
|
-
|
|
17
|
-
bunx agent-media@latest image convert --in sunset-mountains.png --format webp
|
|
18
|
-
bunx agent-media@latest image extend --in sunset-mountains.jpg --padding 50 --color "#FFFFFF"
|
|
19
|
-
bunx agent-media@latest image remove-background --in portrait-headshot.png
|
|
20
|
-
bunx agent-media@latest audio extract --in video.mp4
|
|
21
|
-
bunx agent-media@latest audio transcribe --in audio.mp3
|
|
14
|
+
npm install -g agent-media@latest
|
|
22
15
|
```
|
|
23
16
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
**Provider auto-selection**: Without an API key, local processing is used. With an API key (`FAL_API_KEY`, `REPLICATE_API_TOKEN`, or `RUNPOD_API_KEY`), cloud providers are used. Override with `--provider <name>`.
|
|
27
|
-
|
|
28
|
-
### AI-powered features
|
|
29
|
-
|
|
30
|
-
Requires an API key from one of these providers:
|
|
31
|
-
|
|
32
|
-
- [fal.ai](https://fal.ai/dashboard/keys) → `FAL_API_KEY`
|
|
33
|
-
- [Replicate](https://replicate.com/account/api-tokens) → `REPLICATE_API_TOKEN`
|
|
34
|
-
- [Runpod](https://www.runpod.io/console/user/settings) → `RUNPOD_API_KEY`
|
|
35
|
-
|
|
36
|
-
### bunx
|
|
17
|
+
### From Source
|
|
37
18
|
|
|
38
19
|
```bash
|
|
39
|
-
|
|
40
|
-
|
|
20
|
+
git clone https://github.com/TimPietrusky/agent-media
|
|
21
|
+
cd agent-media
|
|
22
|
+
pnpm install && pnpm build && pnpm link --global
|
|
23
|
+
```
|
|
41
24
|
|
|
42
|
-
|
|
43
|
-
bunx agent-media@latest image edit --in .agent-media/generated_*.png --prompt "add a cat watching"
|
|
25
|
+
### Via bunx / npx
|
|
44
26
|
|
|
45
|
-
|
|
46
|
-
bunx agent-media@latest image remove-background --in .agent-media/edited_*.png
|
|
27
|
+
Run directly without installing:
|
|
47
28
|
|
|
48
|
-
|
|
49
|
-
bunx agent-media@latest
|
|
29
|
+
```bash
|
|
30
|
+
bunx agent-media@latest --help
|
|
31
|
+
npx agent-media@latest --help
|
|
50
32
|
```
|
|
51
33
|
|
|
52
|
-
|
|
34
|
+
## Quick Start
|
|
53
35
|
|
|
54
36
|
```bash
|
|
55
37
|
# Generate an image
|
|
56
|
-
|
|
38
|
+
agent-media image generate --prompt "a robot painting a sunset"
|
|
57
39
|
|
|
58
40
|
# Edit the generated image
|
|
59
|
-
|
|
41
|
+
agent-media image edit --in .agent-media/generated_*.png --prompt "add a cat watching"
|
|
60
42
|
|
|
61
43
|
# Remove background
|
|
62
|
-
|
|
44
|
+
agent-media image remove-background --in .agent-media/edited_*.png
|
|
63
45
|
|
|
64
|
-
#
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
## Installation
|
|
46
|
+
# Convert to different format
|
|
47
|
+
agent-media image convert --in .agent-media/nobg_*.png --format webp
|
|
69
48
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
bunx agent-media@latest --help
|
|
73
|
-
|
|
74
|
-
# Or with npx
|
|
75
|
-
npx agent-media@latest --help
|
|
49
|
+
# Generate a video from an image (with audio)
|
|
50
|
+
agent-media video generate --in woman-portrait.png --prompt "The woman speaks: 'Hello! Welcome to Agent Media.'" --audio --duration 10
|
|
76
51
|
|
|
77
|
-
#
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### From Source
|
|
52
|
+
# Extract audio from video
|
|
53
|
+
agent-media audio extract --in .agent-media/generated_*.mp4
|
|
82
54
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
cd agent-media
|
|
86
|
-
pnpm install && pnpm build && pnpm link --global
|
|
55
|
+
# Transcribe the audio
|
|
56
|
+
agent-media audio transcribe --in .agent-media/*_extracted_*.mp3
|
|
87
57
|
```
|
|
88
58
|
|
|
89
59
|
## Requirements
|
|
90
60
|
|
|
91
61
|
- Node.js >= 18.0.0
|
|
92
|
-
- API key
|
|
62
|
+
- API key from [fal.ai](https://fal.ai/dashboard/keys), [Replicate](https://replicate.com/account/api-tokens), or [Runpod](https://www.runpod.io/console/user/settings) for AI features
|
|
93
63
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
## image
|
|
97
|
-
|
|
98
|
-
```bash
|
|
99
|
-
# Resize image
|
|
100
|
-
agent-media@latest image resize --in <path> [options]
|
|
64
|
+
**Local processing** (no API key): resize, convert, extend, audio extract, remove-background, transcribe
|
|
101
65
|
|
|
102
|
-
|
|
103
|
-
agent-media@latest image convert --in <path> --format <f>
|
|
66
|
+
**Cloud processing** (API key required): image generate, image edit, video generate
|
|
104
67
|
|
|
105
|
-
|
|
106
|
-
agent-media@latest image extend --in <path> --padding <px> --color <hex>
|
|
68
|
+
> **Note**: You may see a `mutex lock failed` error when using local remove-background or transcribe — ignore it, the output is correct if JSON shows `"ok": true`.
|
|
107
69
|
|
|
108
|
-
|
|
109
|
-
agent-media@latest image generate --prompt <text>
|
|
70
|
+
---
|
|
110
71
|
|
|
111
|
-
|
|
112
|
-
agent-media@latest image edit --in <path> --prompt <text>
|
|
72
|
+
## image
|
|
113
73
|
|
|
114
|
-
|
|
115
|
-
agent-media
|
|
74
|
+
```bash
|
|
75
|
+
agent-media image resize --in <path> [options]
|
|
76
|
+
agent-media image convert --in <path> --format <f>
|
|
77
|
+
agent-media image extend --in <path> --padding <px> --color <hex>
|
|
78
|
+
agent-media image generate --prompt <text>
|
|
79
|
+
agent-media image edit --in <path> --prompt <text>
|
|
80
|
+
agent-media image remove-background --in <path>
|
|
116
81
|
```
|
|
117
82
|
|
|
118
83
|
### resize
|
|
@@ -120,9 +85,9 @@ agent-media@latest image remove-background --in <path>
|
|
|
120
85
|
*local*
|
|
121
86
|
|
|
122
87
|
```bash
|
|
123
|
-
agent-media
|
|
124
|
-
agent-media
|
|
125
|
-
agent-media
|
|
88
|
+
agent-media image resize --in sunset-mountains.jpg --width 800
|
|
89
|
+
agent-media image resize --in sunset-mountains.jpg --height 600
|
|
90
|
+
agent-media image resize --in https://ytrzap04kkm0giml.public.blob.vercel-storage.com/sunset-mountains.jpg --width 800
|
|
126
91
|
```
|
|
127
92
|
|
|
128
93
|
| Option | Description |
|
|
@@ -137,9 +102,9 @@ agent-media@latest image resize --in https://ytrzap04kkm0giml.public.blob.vercel
|
|
|
137
102
|
*local*
|
|
138
103
|
|
|
139
104
|
```bash
|
|
140
|
-
agent-media
|
|
141
|
-
agent-media
|
|
142
|
-
agent-media
|
|
105
|
+
agent-media image convert --in sunset-mountains.png --format webp
|
|
106
|
+
agent-media image convert --in sunset-mountains.jpg --format png
|
|
107
|
+
agent-media image convert --in https://ytrzap04kkm0giml.public.blob.vercel-storage.com/sunset-mountains.png --format jpg --quality 90
|
|
143
108
|
```
|
|
144
109
|
|
|
145
110
|
| Option | Description |
|
|
@@ -156,8 +121,8 @@ agent-media@latest image convert --in https://ytrzap04kkm0giml.public.blob.verce
|
|
|
156
121
|
Extend image canvas by adding padding on all sides with a solid background color.
|
|
157
122
|
|
|
158
123
|
```bash
|
|
159
|
-
agent-media
|
|
160
|
-
agent-media
|
|
124
|
+
agent-media image extend --in sunset-mountains.jpg --padding 50 --color "#E4ECF8"
|
|
125
|
+
agent-media image extend --in https://ytrzap04kkm0giml.public.blob.vercel-storage.com/sunset-mountains.png --padding 100 --color "#FFFFFF"
|
|
161
126
|
```
|
|
162
127
|
|
|
163
128
|
| Option | Description |
|
|
@@ -173,8 +138,8 @@ agent-media@latest image extend --in https://ytrzap04kkm0giml.public.blob.vercel
|
|
|
173
138
|
*API key required*
|
|
174
139
|
|
|
175
140
|
```bash
|
|
176
|
-
agent-media
|
|
177
|
-
agent-media
|
|
141
|
+
agent-media image generate --prompt "a cat wearing a hat"
|
|
142
|
+
agent-media image generate --prompt "sunset over mountains" --width 1024 --height 768
|
|
178
143
|
```
|
|
179
144
|
|
|
180
145
|
| Option | Description |
|
|
@@ -193,8 +158,8 @@ agent-media@latest image generate --prompt "sunset over mountains" --width 1024
|
|
|
193
158
|
Edit an image using a text prompt (image-to-image).
|
|
194
159
|
|
|
195
160
|
```bash
|
|
196
|
-
agent-media
|
|
197
|
-
agent-media
|
|
161
|
+
agent-media image edit --in sunset-mountains.jpg --prompt "make the sky more vibrant"
|
|
162
|
+
agent-media image edit --in https://ytrzap04kkm0giml.public.blob.vercel-storage.com/man-portrait.png --prompt "add sunglasses"
|
|
198
163
|
```
|
|
199
164
|
|
|
200
165
|
| Option | Description |
|
|
@@ -210,8 +175,8 @@ agent-media@latest image edit --in https://ytrzap04kkm0giml.public.blob.vercel-s
|
|
|
210
175
|
*API key required*
|
|
211
176
|
|
|
212
177
|
```bash
|
|
213
|
-
agent-media
|
|
214
|
-
agent-media
|
|
178
|
+
agent-media image remove-background --in man-portrait.png
|
|
179
|
+
agent-media image remove-background --in https://ytrzap04kkm0giml.public.blob.vercel-storage.com/man-portrait.png
|
|
215
180
|
```
|
|
216
181
|
|
|
217
182
|
| Option | Description |
|
|
@@ -222,14 +187,59 @@ agent-media@latest image remove-background --in https://ytrzap04kkm0giml.public.
|
|
|
222
187
|
|
|
223
188
|
---
|
|
224
189
|
|
|
190
|
+
## video
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
# Generate video from text
|
|
194
|
+
agent-media video generate --prompt <text>
|
|
195
|
+
|
|
196
|
+
# Generate video from image (animate an image)
|
|
197
|
+
agent-media video generate --in <image> --prompt <text>
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### generate
|
|
201
|
+
|
|
202
|
+
*API key required*
|
|
203
|
+
|
|
204
|
+
Generate video from a text prompt. Optionally provide an input image to animate it (image-to-video). The prompt describes what should happen in the video.
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
# Text-to-video
|
|
208
|
+
agent-media video generate --prompt "a cat walking through a garden"
|
|
209
|
+
|
|
210
|
+
# Image-to-video (animate an image)
|
|
211
|
+
agent-media video generate --in woman-portrait.png --prompt "person smiles and waves hello"
|
|
212
|
+
|
|
213
|
+
# With audio generation
|
|
214
|
+
agent-media video generate --prompt "fireworks in the night sky" --audio --duration 10
|
|
215
|
+
|
|
216
|
+
# Higher resolution
|
|
217
|
+
agent-media video generate --prompt "ocean waves" --resolution 1080p
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
| Option | Description |
|
|
221
|
+
|--------|-------------|
|
|
222
|
+
| `--prompt <text>` | Text description of the video (required) |
|
|
223
|
+
| `--in <path>` | Input image for image-to-video (optional) |
|
|
224
|
+
| `--duration <s>` | Duration: 6, 8, 10, 12, 14, 16, 18, 20 (default: 6) |
|
|
225
|
+
| `--resolution <r>` | Resolution: 720p, 1080p, 1440p, 2160p (default: 720p) |
|
|
226
|
+
| `--fps <n>` | Frame rate: 25, 50 (default: 25) |
|
|
227
|
+
| `--audio` | Generate audio track |
|
|
228
|
+
| `--out <dir>` | Output directory |
|
|
229
|
+
| `--name <filename>` | Output filename (extension auto-added) |
|
|
230
|
+
| `--provider <name>` | Provider (fal, replicate) |
|
|
231
|
+
| `--model <name>` | Model override |
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
225
235
|
## audio
|
|
226
236
|
|
|
227
237
|
```bash
|
|
228
238
|
# Extract audio from video
|
|
229
|
-
agent-media
|
|
239
|
+
agent-media audio extract --in <video>
|
|
230
240
|
|
|
231
241
|
# Transcribe audio to text
|
|
232
|
-
agent-media
|
|
242
|
+
agent-media audio transcribe --in <audio>
|
|
233
243
|
```
|
|
234
244
|
|
|
235
245
|
### extract
|
|
@@ -239,8 +249,9 @@ agent-media@latest audio transcribe --in <audio>
|
|
|
239
249
|
Extract audio track from a video file.
|
|
240
250
|
|
|
241
251
|
```bash
|
|
242
|
-
agent-media
|
|
243
|
-
agent-media
|
|
252
|
+
agent-media audio extract --in woman-greeting.mp4
|
|
253
|
+
agent-media audio extract --in woman-greeting.mp4 --format wav
|
|
254
|
+
agent-media audio extract --in https://ytrzap04kkm0giml.public.blob.vercel-storage.com/woman-greeting.mp4
|
|
244
255
|
```
|
|
245
256
|
|
|
246
257
|
| Option | Description |
|
|
@@ -256,8 +267,9 @@ agent-media@latest audio extract --in video.mp4 --format wav
|
|
|
256
267
|
Transcribe audio to text with timestamps. Supports speaker identification.
|
|
257
268
|
|
|
258
269
|
```bash
|
|
259
|
-
agent-media
|
|
260
|
-
agent-media
|
|
270
|
+
agent-media audio transcribe --in woman-greeting.mp3
|
|
271
|
+
agent-media audio transcribe --in woman-greeting.mp3 --diarize --speakers 2
|
|
272
|
+
agent-media audio transcribe --in https://ytrzap04kkm0giml.public.blob.vercel-storage.com/woman-greeting.mp3
|
|
261
273
|
```
|
|
262
274
|
|
|
263
275
|
| Option | Description |
|
|
@@ -306,13 +318,15 @@ Exit code is `0` on success, `1` on error.
|
|
|
306
318
|
|
|
307
319
|
### Default Models
|
|
308
320
|
|
|
309
|
-
| Provider | resize | convert | extend | generate | edit | remove-background | transcribe |
|
|
310
|
-
|
|
311
|
-
| **local** |
|
|
312
|
-
| **
|
|
313
|
-
| **
|
|
314
|
-
| **
|
|
315
|
-
|
|
321
|
+
| Provider | resize | convert | extend | image generate | image edit | remove-background | video generate | transcribe |
|
|
322
|
+
|----------|--------|---------|--------|----------------|------------|-------------------|----------------|------------|
|
|
323
|
+
| **local** | ✓* | ✓* | ✓* | - | - | `Xenova/modnet`** | - | `moonshine-base`** |
|
|
324
|
+
| **fal** | - | - | - | `fal-ai/flux-2` | `fal-ai/flux-2/edit` | `fal-ai/birefnet/v2` | `fal-ai/ltx-2` | `fal-ai/wizper` |
|
|
325
|
+
| **replicate** | - | - | - | `black-forest-labs/flux-2-dev` | `black-forest-labs/flux-kontext-dev` | `men1scus/birefnet` | `lightricks/ltx-video` | `whisper-diarization` |
|
|
326
|
+
| **runpod** | - | - | - | `alibaba/wan-2.6` | `google/nano-banana-pro-edit` | - | - | - |
|
|
327
|
+
|
|
328
|
+
\* Powered by [Sharp](https://sharp.pixelplumbing.com/) for fast image processing
|
|
329
|
+
\** Powered by [Transformers.js](https://huggingface.co/docs/transformers.js) for local ML inference (models downloaded on first use)
|
|
316
330
|
|
|
317
331
|
Use `--model <name>` to override the default model for any command.
|
|
318
332
|
|
|
@@ -330,12 +344,11 @@ Use `--model <name>` to override the default model for any command.
|
|
|
330
344
|
| `FAL_API_KEY` | fal.ai API key | [fal.ai](https://fal.ai/dashboard/keys) |
|
|
331
345
|
| `REPLICATE_API_TOKEN` | Replicate API token | [replicate.com](https://replicate.com/account/api-tokens) |
|
|
332
346
|
| `RUNPOD_API_KEY` | Runpod API key | [runpod.io](https://www.runpod.io/console/user/settings) |
|
|
333
|
-
| `HUGGINGFACE_ACCESS_TOKEN` | For transcription with speaker ID (replicate only) | [huggingface.co](https://huggingface.co/settings/tokens) |
|
|
334
347
|
| `AGENT_MEDIA_DIR` | Output directory (default: `.agent-media/`) | - |
|
|
335
348
|
|
|
336
349
|
## Roadmap
|
|
337
350
|
|
|
338
|
-
- [x] Local
|
|
339
|
-
- [x] Local
|
|
340
|
-
- [
|
|
351
|
+
- [x] Local background removal (zero API keys)
|
|
352
|
+
- [x] Local transcription (zero API keys)
|
|
353
|
+
- [x] Video generation (text-to-video and image-to-video)
|
|
341
354
|
- [ ] Batch processing support
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import { Command } from 'commander';
|
|
|
4
4
|
import { registerAllProviders } from '@agent-media/providers';
|
|
5
5
|
import { resize, convert, removeBackground, generate, extend, edit, printResult } from '@agent-media/image';
|
|
6
6
|
import { extract, transcribe } from '@agent-media/audio';
|
|
7
|
+
import { generate as videoGenerate } from '@agent-media/video';
|
|
7
8
|
import { getConfig, mergeConfig } from '@agent-media/core';
|
|
8
9
|
// Register all providers on startup
|
|
9
10
|
registerAllProviders();
|
|
@@ -220,6 +221,42 @@ audioCommand
|
|
|
220
221
|
printResult(result);
|
|
221
222
|
process.exit(result.ok ? 0 : 1);
|
|
222
223
|
});
|
|
224
|
+
// Video command group
|
|
225
|
+
const videoCommand = program
|
|
226
|
+
.command('video')
|
|
227
|
+
.description('Video processing commands');
|
|
228
|
+
// Video generate command
|
|
229
|
+
videoCommand
|
|
230
|
+
.command('generate')
|
|
231
|
+
.description('Generate video from a text prompt, optionally animating an input image')
|
|
232
|
+
.requiredOption('--prompt <text>', 'Text description of the video to generate')
|
|
233
|
+
.option('--in <path>', 'Input image for image-to-video')
|
|
234
|
+
.option('--duration <seconds>', 'Duration in seconds (6, 8, 10, 12, 14, 16, 18, 20)', parseInt)
|
|
235
|
+
.option('--resolution <res>', 'Video resolution (720p, 1080p, 1440p, 2160p)')
|
|
236
|
+
.option('--fps <rate>', 'Frame rate (25 or 50)', parseInt)
|
|
237
|
+
.option('--audio', 'Generate audio track')
|
|
238
|
+
.option('--out <path>', 'Output directory')
|
|
239
|
+
.option('--name <filename>', 'Output filename (extension auto-added if missing)')
|
|
240
|
+
.option('--provider <name>', 'Provider to use (fal, replicate)')
|
|
241
|
+
.option('--model <name>', 'Model to use (overrides provider default)')
|
|
242
|
+
.action(async (options) => {
|
|
243
|
+
const config = getConfig();
|
|
244
|
+
const merged = mergeConfig(config, { out: options.out, provider: options.provider, name: options.name });
|
|
245
|
+
const result = await videoGenerate({
|
|
246
|
+
prompt: options.prompt,
|
|
247
|
+
input: options.in,
|
|
248
|
+
duration: options.duration,
|
|
249
|
+
resolution: options.resolution,
|
|
250
|
+
fps: options.fps,
|
|
251
|
+
audio: options.audio,
|
|
252
|
+
out: merged.outputDir,
|
|
253
|
+
name: merged.outputName,
|
|
254
|
+
provider: merged.provider,
|
|
255
|
+
model: options.model,
|
|
256
|
+
});
|
|
257
|
+
printResult(result);
|
|
258
|
+
process.exit(result.ok ? 0 : 1);
|
|
259
|
+
});
|
|
223
260
|
// Parse and execute
|
|
224
261
|
program.parse();
|
|
225
262
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC5G,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC5G,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,QAAQ,IAAI,a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C;IACpB,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClC,CAAC,CAAC,CAAC;AAEL,oBAAoB;AACpB,OAAO,CAAC,KAAK,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-media",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Agent-first media toolkit CLI",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -34,10 +34,11 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"commander": "^12.0.0",
|
|
36
36
|
"dotenv": "^17.2.3",
|
|
37
|
-
"@agent-media/
|
|
38
|
-
"@agent-media/
|
|
39
|
-
"@agent-media/
|
|
40
|
-
"@agent-media/
|
|
37
|
+
"@agent-media/image": "0.3.2",
|
|
38
|
+
"@agent-media/audio": "0.4.2",
|
|
39
|
+
"@agent-media/providers": "0.5.1",
|
|
40
|
+
"@agent-media/core": "0.5.0",
|
|
41
|
+
"@agent-media/video": "0.2.1"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"@types/node": "^22.0.0",
|