@genfeedai/types 0.2.1 → 0.2.2
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 +11 -27
- package/dist/replicate.d.mts +3 -3
- package/dist/replicate.d.ts +3 -3
- package/package.json +1 -1
- package/src/replicate/schemas.json +3750 -4311
package/README.md
CHANGED
|
@@ -1,45 +1,29 @@
|
|
|
1
1
|
# @genfeedai/types
|
|
2
2
|
|
|
3
|
-
Type definitions for the Genfeed workflow engine.
|
|
3
|
+
Type definitions for the Genfeed workflow engine and node ecosystem.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm
|
|
9
|
-
# or
|
|
10
|
-
bun add @genfeedai/types
|
|
8
|
+
npm i @genfeedai/types
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
## Usage
|
|
14
12
|
|
|
15
|
-
```
|
|
13
|
+
```ts
|
|
16
14
|
import type { WorkflowFile, WorkflowNode, WorkflowEdge } from '@genfeedai/types';
|
|
17
|
-
import type {
|
|
15
|
+
import type { ImageNodeData } from '@genfeedai/types/nodes';
|
|
16
|
+
import replicateSchemas from '@genfeedai/types/replicate/schemas.json';
|
|
18
17
|
```
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
## Related Packages
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
import type { ImageNodeData, VideoNodeData } from '@genfeedai/types/nodes';
|
|
21
|
+
- `@genfeedai/core`
|
|
22
|
+
- `@genfeedai/workflow-ui`
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
import type { WorkflowFile } from '@genfeedai/types/workflow';
|
|
24
|
+
## Build Faster with Genfeed
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
import type { ComfyUIWorkflow } from '@genfeedai/types/comfyui';
|
|
31
|
-
|
|
32
|
-
// Replicate model schemas
|
|
33
|
-
import type { ReplicateModel } from '@genfeedai/types/replicate';
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Key Exports
|
|
37
|
-
|
|
38
|
-
- **Workflow types**: `WorkflowFile`, `WorkflowNode`, `WorkflowEdge`, `NodeGroup`
|
|
39
|
-
- **Node types**: Data interfaces for all 36 node types (image, video, audio, text)
|
|
40
|
-
- **Enums**: `NodeCategory`, `HandleType`, `EdgeStyle`
|
|
41
|
-
- **ComfyUI types**: ComfyUI workflow and prompt schemas
|
|
42
|
-
- **Replicate types**: Replicate model input/output schemas
|
|
26
|
+
Use strongly typed workflow contracts in your own apps, or use Genfeed at [https://genfeed.ai](https://genfeed.ai).
|
|
43
27
|
|
|
44
28
|
## License
|
|
45
29
|
|
package/dist/replicate.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Auto-generated Replicate model types
|
|
3
3
|
* DO NOT EDIT - Run `bun run sync:replicate` to regenerate
|
|
4
|
-
* Generated at: 2026-
|
|
4
|
+
* Generated at: 2026-03-06T02:26:55.223Z
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Input parameters for google/nano-banana
|
|
@@ -58,7 +58,7 @@ interface NanoBanana2Input {
|
|
|
58
58
|
*/
|
|
59
59
|
google_search?: boolean;
|
|
60
60
|
/**
|
|
61
|
-
* Use Google Image Search grounding to
|
|
61
|
+
* Use Google Image Search grounding to find web images as visual context for generation. When enabled, web search is also used automatically.
|
|
62
62
|
* @default false
|
|
63
63
|
*/
|
|
64
64
|
image_search?: boolean;
|
|
@@ -148,7 +148,7 @@ interface ZImageTurboInput {
|
|
|
148
148
|
*/
|
|
149
149
|
seed?: number;
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* Apply additional optimizations for faster generation
|
|
152
152
|
* @default false
|
|
153
153
|
*/
|
|
154
154
|
go_fast?: boolean;
|
package/dist/replicate.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Auto-generated Replicate model types
|
|
3
3
|
* DO NOT EDIT - Run `bun run sync:replicate` to regenerate
|
|
4
|
-
* Generated at: 2026-
|
|
4
|
+
* Generated at: 2026-03-06T02:26:55.223Z
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Input parameters for google/nano-banana
|
|
@@ -58,7 +58,7 @@ interface NanoBanana2Input {
|
|
|
58
58
|
*/
|
|
59
59
|
google_search?: boolean;
|
|
60
60
|
/**
|
|
61
|
-
* Use Google Image Search grounding to
|
|
61
|
+
* Use Google Image Search grounding to find web images as visual context for generation. When enabled, web search is also used automatically.
|
|
62
62
|
* @default false
|
|
63
63
|
*/
|
|
64
64
|
image_search?: boolean;
|
|
@@ -148,7 +148,7 @@ interface ZImageTurboInput {
|
|
|
148
148
|
*/
|
|
149
149
|
seed?: number;
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* Apply additional optimizations for faster generation
|
|
152
152
|
* @default false
|
|
153
153
|
*/
|
|
154
154
|
go_fast?: boolean;
|