ugcinc 4.5.83 → 4.5.85
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.
|
@@ -307,7 +307,6 @@ export declare const nodeDefinitions: {
|
|
|
307
307
|
__TOutputs: import("./save-to-media").SaveToMediaNodeOutputs;
|
|
308
308
|
};
|
|
309
309
|
readonly 'scene-split': NodeDefinition<"scene-split", "generator", {
|
|
310
|
-
threshold: number;
|
|
311
310
|
outputMode: import("./types").OutputMode;
|
|
312
311
|
selectionMode: import("./types").SelectionMode | null;
|
|
313
312
|
}, import("./scene-split").SceneSplitNodeInputs, import("./scene-split").SceneSplitNodeOutputs, false> & {
|
|
@@ -8,6 +8,8 @@ export type MediaNodeOutputs = Record<string, PortValue | PortValue[]>;
|
|
|
8
8
|
export interface MediaNodeOutput extends NodePort {
|
|
9
9
|
type: MediaItemType;
|
|
10
10
|
selectedMediaIds: string[];
|
|
11
|
+
/** Tag group references for dynamic resolution at runtime */
|
|
12
|
+
selectedTags?: string[];
|
|
11
13
|
selectionConfig?: SelectionConfig;
|
|
12
14
|
}
|
|
13
15
|
declare const definition: import("./types").NodeDefinition<"media", "source", {
|
|
@@ -7,7 +7,6 @@ export interface SceneSplitNodeOutputs {
|
|
|
7
7
|
clips: VideoValue[];
|
|
8
8
|
}
|
|
9
9
|
declare const definition: import("./types").NodeDefinition<"scene-split", "generator", {
|
|
10
|
-
threshold: number;
|
|
11
10
|
outputMode: OutputMode;
|
|
12
11
|
selectionMode: SelectionMode | null;
|
|
13
12
|
}, SceneSplitNodeInputs, SceneSplitNodeOutputs, false>;
|
|
@@ -8,13 +8,12 @@ const definition = (0, types_1.defineNode)({
|
|
|
8
8
|
nodeId: 'scene-split',
|
|
9
9
|
label: 'Scene Split',
|
|
10
10
|
description: 'Split a video into clips at detected scene boundaries',
|
|
11
|
-
guide: 'Detects scene boundaries in a video
|
|
11
|
+
guide: 'Detects scene boundaries in a video and splits it into individual clips. Works with both hard cuts and fade transitions. Output is an array of video clips — connect to a For Each node to process each clip individually. Use cases: splitting long-form content into short clips, isolating scenes for selective reposting, breaking down compilation videos. No configuration needed.',
|
|
12
12
|
type: 'generator',
|
|
13
13
|
category: 'Generation',
|
|
14
14
|
outputModes: ['per-input', 'single'],
|
|
15
15
|
selectionModes: null,
|
|
16
16
|
defaults: {
|
|
17
|
-
threshold: 12,
|
|
18
17
|
outputMode: 'per-input',
|
|
19
18
|
selectionMode: null,
|
|
20
19
|
},
|
package/dist/render.d.ts
CHANGED
|
@@ -69,13 +69,13 @@ export interface SubmitDeduplicationJobParams {
|
|
|
69
69
|
deduplication: DeduplicationInput;
|
|
70
70
|
}
|
|
71
71
|
export interface SceneSplitDetectorConfig {
|
|
72
|
-
/**
|
|
73
|
-
threshold
|
|
72
|
+
/** AdaptiveDetector threshold — lower = more sensitive (default: 2) */
|
|
73
|
+
threshold?: number;
|
|
74
74
|
}
|
|
75
75
|
export interface SubmitSceneSplitJobParams {
|
|
76
76
|
/** URL of the video to split into scenes */
|
|
77
77
|
video_url: string;
|
|
78
|
-
/** Scene detection configuration */
|
|
78
|
+
/** Scene detection configuration (optional — server defaults are used) */
|
|
79
79
|
scene_split_config: SceneSplitDetectorConfig;
|
|
80
80
|
}
|
|
81
81
|
export interface SubmitScreenshotAnimationRenderJobParams {
|