@agentmedia/schema 0.2.0 → 0.2.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 +1 -1
- package/package.json +2 -2
- package/scripts/generate-openapi.ts +2 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Single source of truth for the [agent-media](https://agent-media.ai) platform — enums, Zod validation schemas, TypeScript types, and the generator registry.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@agentmedia/schema)
|
|
6
|
-
[](https://github.com/
|
|
6
|
+
[](https://github.com/gitroomhq/agent-media/blob/main/LICENSE)
|
|
7
7
|
|
|
8
8
|
## Why This Package Exists
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentmedia/schema",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Type-safe schema definitions for AI UGC video generation — enums, Zod validation, and generator registry. Single source of truth for the agent-media platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"homepage": "https://agent-media.ai/docs/api-reference",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/gitroomhq/agent-media.git",
|
|
11
11
|
"directory": "packages/schema"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
@@ -108,7 +108,7 @@ for (const [id, gen] of Object.entries(GENERATORS)) {
|
|
|
108
108
|
{
|
|
109
109
|
lang: 'curl',
|
|
110
110
|
label: 'cURL',
|
|
111
|
-
source: `curl -X POST https://api-
|
|
111
|
+
source: `curl -X POST https://api.agent-media.ai/v1/generate/ugc_video \\
|
|
112
112
|
-H "Authorization: Bearer ma_YOUR_KEY" \\
|
|
113
113
|
-H "Content-Type: application/json" \\
|
|
114
114
|
-d '{
|
|
@@ -296,7 +296,7 @@ Video generation is async. POST to /v1/generate/* returns a job_id immediately.
|
|
|
296
296
|
termsOfService: 'https://agent-media.ai/terms',
|
|
297
297
|
},
|
|
298
298
|
servers: [
|
|
299
|
-
{ url: 'https://api-
|
|
299
|
+
{ url: 'https://api.agent-media.ai', description: 'Production' },
|
|
300
300
|
],
|
|
301
301
|
paths,
|
|
302
302
|
components: {
|