ugcinc 4.5.21 → 4.5.23
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.
|
@@ -25,8 +25,12 @@ interface AspectRatioOption {
|
|
|
25
25
|
/** Static or variable image input in the node config */
|
|
26
26
|
interface ImageInput {
|
|
27
27
|
isVariable: boolean;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
mediaItems: ImageMediaItem[];
|
|
29
|
+
}
|
|
30
|
+
/** A single media item in a selection pool */
|
|
31
|
+
interface ImageMediaItem {
|
|
32
|
+
id: string;
|
|
33
|
+
url: string;
|
|
30
34
|
}
|
|
31
35
|
declare const ALL_IMAGE_MODELS: ImageModelOption[];
|
|
32
36
|
declare const IMAGE_ASPECT_RATIOS: AspectRatioOption[];
|
|
@@ -50,5 +54,5 @@ declare const _default: typeof definition & {
|
|
|
50
54
|
};
|
|
51
55
|
export default _default;
|
|
52
56
|
export { isEditModel, getEditModelId, ALL_IMAGE_MODELS, IMAGE_ASPECT_RATIOS };
|
|
53
|
-
export type { ImageGenerationEditModel, ImageGenerationModel, ImageModelProvider, ImageModelOption, AspectRatioOption, ImageInput };
|
|
57
|
+
export type { ImageGenerationEditModel, ImageGenerationModel, ImageModelProvider, ImageModelOption, AspectRatioOption, ImageInput, ImageMediaItem };
|
|
54
58
|
export type GenerateImageNodeConfig = typeof definition.defaults;
|
package/dist/index.d.ts
CHANGED
|
@@ -51,8 +51,8 @@ export type { DeduplicateNodeConfig } from './automations/nodes/deduplicate';
|
|
|
51
51
|
export type { DestructureNodeConfig, DestructureNodeInputs, DestructureNodeOutputs, DestructureSelection, IndexExpression, } from './automations/nodes/destructure';
|
|
52
52
|
export { indexExpressionToIndexes, indexExpressionToString, resolvePath } from './automations/nodes/destructure';
|
|
53
53
|
export type { ForEachNodeConfig, ForEachNodeInputs, ForEachNodeOutputs, ForEachOutputProperty, } from './automations/nodes/for-each';
|
|
54
|
-
export type { GenerateImageNodeConfig, ImageGenerationEditModel, ImageGenerationModel, ImageModelProvider, ImageModelOption, AspectRatioOption, ImageInput, } from './automations/nodes/generate-image';
|
|
55
|
-
export type { GenerateVideoNodeConfig, VideoGenerationTextToVideoModel, VideoGenerationImageToVideoModel, VideoGenerationFirstLastFrameModel, VideoGenerationReferenceModel, VideoGenerationModel, VideoInputMode, VideoModelProvider, VideoModelTier, VideoAspectRatioOption, VideoDurationOption, VideoModelOption, ReferenceImageInput, } from './automations/nodes/generate-video';
|
|
54
|
+
export type { GenerateImageNodeConfig, ImageGenerationEditModel, ImageGenerationModel, ImageModelProvider, ImageModelOption, AspectRatioOption, ImageInput, ImageMediaItem, } from './automations/nodes/generate-image';
|
|
55
|
+
export type { GenerateVideoNodeConfig, VideoGenerationTextToVideoModel, VideoGenerationImageToVideoModel, VideoGenerationFirstLastFrameModel, VideoGenerationReferenceModel, VideoGenerationModel, VideoInputMode, VideoModelProvider, VideoModelTier, VideoAspectRatioOption, VideoDurationOption, VideoModelOption, VideoMediaItem, ReferenceImageInput, } from './automations/nodes/generate-video';
|
|
56
56
|
export type { IfNodeConfig, IfLogicOperator, IfBooleanInput, } from './automations/nodes/if';
|
|
57
57
|
export { IfLogicOperators, applyLogicOperator } from './automations/nodes/if';
|
|
58
58
|
export type { LLMNodeConfig, LLMNodeOutputs, LLMProvider, } from './automations/nodes/llm';
|