ugcinc 2.99.6 → 2.99.7
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/dist/automations.js +16 -0
- package/dist/types.d.ts +25 -1
- package/package.json +1 -1
package/dist/automations.js
CHANGED
|
@@ -167,6 +167,22 @@ function getAllNodes() {
|
|
|
167
167
|
},
|
|
168
168
|
],
|
|
169
169
|
},
|
|
170
|
+
{
|
|
171
|
+
type: "video-import",
|
|
172
|
+
label: "Import Video",
|
|
173
|
+
description: "Import videos from YouTube, TikTok, Instagram & more",
|
|
174
|
+
category: "Sources",
|
|
175
|
+
nodeCategory: "source",
|
|
176
|
+
inputs: [],
|
|
177
|
+
outputs: [
|
|
178
|
+
{
|
|
179
|
+
id: "video",
|
|
180
|
+
title: "video",
|
|
181
|
+
type: "video",
|
|
182
|
+
required: true,
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
170
186
|
// Hidden legacy source nodes (replaced by media node)
|
|
171
187
|
{
|
|
172
188
|
type: "image",
|
package/dist/types.d.ts
CHANGED
|
@@ -825,7 +825,7 @@ export interface NodeControlConfig {
|
|
|
825
825
|
*/
|
|
826
826
|
isInitializer?: boolean;
|
|
827
827
|
}
|
|
828
|
-
export type NodeTypeEnum = 'image' | 'video' | 'audio' | 'social-audio' | 'text' | 'media' | 'image-editor' | 'video-editor' | 'image-generation' | 'video-generation' | 'custom-model' | 'llm' | 'output' | 'manual-trigger' | 'recurrence' | 'workflow' | 'account' | 'post-video' | 'post-slideshow' | 'save-to-media' | 'deduplicate';
|
|
828
|
+
export type NodeTypeEnum = 'image' | 'video' | 'audio' | 'social-audio' | 'text' | 'media' | 'video-import' | 'image-editor' | 'video-editor' | 'image-generation' | 'video-generation' | 'custom-model' | 'llm' | 'output' | 'manual-trigger' | 'recurrence' | 'workflow' | 'account' | 'post-video' | 'post-slideshow' | 'save-to-media' | 'deduplicate';
|
|
829
829
|
export interface OutputSchemaProperty {
|
|
830
830
|
type: 'string' | 'number' | 'boolean' | 'array' | 'object';
|
|
831
831
|
items?: 'string' | 'number' | 'boolean';
|
|
@@ -927,6 +927,7 @@ export interface WorkflowNodeDefinition {
|
|
|
927
927
|
postSlideshowConfig?: PostSlideshowNodeConfig;
|
|
928
928
|
saveToMediaConfig?: SaveToMediaNodeConfig;
|
|
929
929
|
deduplicateConfig?: DeduplicateNodeConfig;
|
|
930
|
+
videoImportConfig?: VideoImportNodeConfig;
|
|
930
931
|
videoGeneration?: VideoGenerationNodeConfig;
|
|
931
932
|
customModelConfig?: CustomModelNodeConfig;
|
|
932
933
|
};
|
|
@@ -1093,6 +1094,29 @@ export interface DeduplicateNodeConfig {
|
|
|
1093
1094
|
/** Deduplication settings - preset level or custom config */
|
|
1094
1095
|
deduplication: DeduplicationInput;
|
|
1095
1096
|
}
|
|
1097
|
+
/**
|
|
1098
|
+
* Supported platforms for video import
|
|
1099
|
+
*/
|
|
1100
|
+
export type VideoImportPlatform = 'youtube' | 'tiktok' | 'instagram' | 'twitter' | 'reddit';
|
|
1101
|
+
/**
|
|
1102
|
+
* Video quality options for video import
|
|
1103
|
+
*/
|
|
1104
|
+
export type VideoImportQuality = '360' | '480' | '720' | '1080' | '1440' | '2160';
|
|
1105
|
+
/**
|
|
1106
|
+
* Video Import node configuration - imports videos from social media platforms
|
|
1107
|
+
*/
|
|
1108
|
+
export interface VideoImportNodeConfig {
|
|
1109
|
+
/** Platform to import from */
|
|
1110
|
+
platform: VideoImportPlatform;
|
|
1111
|
+
/** URL options (like textOptions in text node) */
|
|
1112
|
+
urlOptions: string[];
|
|
1113
|
+
/** Video quality preference */
|
|
1114
|
+
videoQuality?: VideoImportQuality;
|
|
1115
|
+
/** Selection mode for multiple URLs */
|
|
1116
|
+
selectionConfig?: {
|
|
1117
|
+
mode: 'random' | 'sequential';
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1096
1120
|
/**
|
|
1097
1121
|
* Video Generation Model IDs
|
|
1098
1122
|
* Text-to-video models take just a prompt, image-to-video models require an image input
|