@framers/agentos-ext-image-generation 1.0.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.
Files changed (3) hide show
  1. package/LICENSE +23 -0
  2. package/manifest.json +29 -0
  3. package/package.json +49 -0
package/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Framers
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+
package/manifest.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "id": "com.framers.tools.image-generation",
3
+ "name": "@framers/agentos-ext-image-generation",
4
+ "displayName": "Image Generation",
5
+ "version": "1.0.0",
6
+ "description": "Generate images from text prompts using DALL-E 3 or Stability AI.",
7
+ "category": "tool",
8
+ "author": "Framers AI",
9
+ "license": "MIT",
10
+ "entry": "./src/index.ts",
11
+ "tools": ["generate_image"],
12
+ "requiredSecrets": [
13
+ {
14
+ "id": "openai.apiKey",
15
+ "envVar": "OPENAI_API_KEY",
16
+ "description": "OpenAI API key for DALL-E 3 image generation",
17
+ "optional": true,
18
+ "docsUrl": "https://platform.openai.com/api-keys"
19
+ },
20
+ {
21
+ "id": "stability.apiKey",
22
+ "envVar": "STABILITY_API_KEY",
23
+ "description": "Stability AI API key for Stable Diffusion image generation",
24
+ "optional": true,
25
+ "docsUrl": "https://platform.stability.ai/account/keys"
26
+ }
27
+ ],
28
+ "keywords": ["image", "generation", "dall-e", "stable-diffusion", "ai-art", "text-to-image"]
29
+ }
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@framers/agentos-ext-image-generation",
3
+ "version": "1.0.1",
4
+ "description": "Image generation extension for AgentOS — DALL-E 3 and Stability AI",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist",
9
+ "manifest.json"
10
+ ],
11
+ "keywords": [
12
+ "agentos",
13
+ "extension",
14
+ "image-generation",
15
+ "openai",
16
+ "stability"
17
+ ],
18
+ "author": {
19
+ "name": "Framers AI",
20
+ "url": "https://frame.dev"
21
+ },
22
+ "license": "MIT",
23
+ "peerDependencies": {
24
+ "@framers/agentos": "^0.1.0"
25
+ },
26
+ "dependencies": {
27
+ "@framers/agentos": "0.1.47"
28
+ },
29
+ "devDependencies": {
30
+ "@types/node": "^20.0.0",
31
+ "typescript": "^5.0.0",
32
+ "vitest": "^1.0.0"
33
+ },
34
+ "engines": {
35
+ "node": ">=18.0.0"
36
+ },
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "https://github.com/framersai/agentos-extensions",
40
+ "directory": "registry/curated/tools/image-generation"
41
+ },
42
+ "scripts": {
43
+ "build": "tsc",
44
+ "dev": "tsc --watch",
45
+ "test": "vitest run",
46
+ "test:watch": "vitest watch",
47
+ "clean": "rm -rf dist"
48
+ }
49
+ }