@civitai/client 0.2.0-beta.54 → 0.2.0-beta.55
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.
|
@@ -289,6 +289,12 @@ export {
|
|
|
289
289
|
type HaiperVideoGenInput,
|
|
290
290
|
HaiperVideoGenModel,
|
|
291
291
|
type HaiperVideoGenOutput,
|
|
292
|
+
type HappyHorseV1ImageToVideoInput,
|
|
293
|
+
type HappyHorseV1ReferenceToVideoInput,
|
|
294
|
+
type HappyHorseV1TextToVideoInput,
|
|
295
|
+
type HappyHorseV1VideoEditInput,
|
|
296
|
+
type HappyHorseV1VideoGenInput,
|
|
297
|
+
type HappyHorseVideoGenInput,
|
|
292
298
|
type HeadBlobData,
|
|
293
299
|
type HeadBlobError,
|
|
294
300
|
type HeadBlobErrors,
|
|
@@ -856,6 +856,7 @@ export type ComfyErnieStandardImageGenInput = Omit<
|
|
|
856
856
|
loras?: {
|
|
857
857
|
[key: string]: number;
|
|
858
858
|
};
|
|
859
|
+
diffusionModel?: null | string;
|
|
859
860
|
model: 'ernie';
|
|
860
861
|
ecosystem: 'ernie';
|
|
861
862
|
engine: 'comfy';
|
|
@@ -887,6 +888,7 @@ export type ComfyErnieTurboImageGenInput = Omit<
|
|
|
887
888
|
loras?: {
|
|
888
889
|
[key: string]: number;
|
|
889
890
|
};
|
|
891
|
+
diffusionModel?: null | string;
|
|
890
892
|
model: 'turbo';
|
|
891
893
|
ecosystem: 'ernie';
|
|
892
894
|
engine: 'comfy';
|
|
@@ -2134,6 +2136,82 @@ export type HaiperVideoGenOutput = VideoGenOutput & {
|
|
|
2134
2136
|
externalTOSViolation?: null | boolean;
|
|
2135
2137
|
message?: null | string;
|
|
2136
2138
|
};
|
|
2139
|
+
/**
|
|
2140
|
+
* Animate a single source image (used as the first frame) into a video.
|
|
2141
|
+
*/
|
|
2142
|
+
export type HappyHorseV1ImageToVideoInput = Omit<
|
|
2143
|
+
HappyHorseV1VideoGenInput,
|
|
2144
|
+
'engine' | 'version' | 'operation'
|
|
2145
|
+
> & {
|
|
2146
|
+
/**
|
|
2147
|
+
* Either A URL, A DataURL or a Base64 string
|
|
2148
|
+
*/
|
|
2149
|
+
image: string;
|
|
2150
|
+
operation: 'imageToVideo';
|
|
2151
|
+
version: 'v1.0';
|
|
2152
|
+
engine: 'happyHorse';
|
|
2153
|
+
};
|
|
2154
|
+
/**
|
|
2155
|
+
* Generate a video using 1–9 reference images for subject consistency.
|
|
2156
|
+
* Reference subjects via "character1" through "character9" placeholders in the prompt.
|
|
2157
|
+
*/
|
|
2158
|
+
export type HappyHorseV1ReferenceToVideoInput = Omit<
|
|
2159
|
+
HappyHorseV1VideoGenInput,
|
|
2160
|
+
'engine' | 'version' | 'operation'
|
|
2161
|
+
> & {
|
|
2162
|
+
images: Array<string>;
|
|
2163
|
+
aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
|
|
2164
|
+
operation: 'referenceToVideo';
|
|
2165
|
+
version: 'v1.0';
|
|
2166
|
+
engine: 'happyHorse';
|
|
2167
|
+
};
|
|
2168
|
+
/**
|
|
2169
|
+
* Generate a video from a text prompt only.
|
|
2170
|
+
*/
|
|
2171
|
+
export type HappyHorseV1TextToVideoInput = Omit<
|
|
2172
|
+
HappyHorseV1VideoGenInput,
|
|
2173
|
+
'engine' | 'version' | 'operation'
|
|
2174
|
+
> & {
|
|
2175
|
+
aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
|
|
2176
|
+
operation: 'textToVideo';
|
|
2177
|
+
version: 'v1.0';
|
|
2178
|
+
engine: 'happyHorse';
|
|
2179
|
+
};
|
|
2180
|
+
/**
|
|
2181
|
+
* Edit an existing video, optionally guided by reference images.
|
|
2182
|
+
* FAL bills both the input and output seconds — the per-second rate is doubled.
|
|
2183
|
+
*/
|
|
2184
|
+
export type HappyHorseV1VideoEditInput = Omit<
|
|
2185
|
+
HappyHorseV1VideoGenInput,
|
|
2186
|
+
'engine' | 'version' | 'operation'
|
|
2187
|
+
> & {
|
|
2188
|
+
sourceVideo: string;
|
|
2189
|
+
referenceImages?: Array<string>;
|
|
2190
|
+
audioSetting?: 'auto' | 'origin';
|
|
2191
|
+
operation: 'videoEdit';
|
|
2192
|
+
version: 'v1.0';
|
|
2193
|
+
engine: 'happyHorse';
|
|
2194
|
+
};
|
|
2195
|
+
/**
|
|
2196
|
+
* Version-level base for Happy-Horse v1.0. Carries common v1.0 parameters and the operation discriminator.
|
|
2197
|
+
*/
|
|
2198
|
+
export type HappyHorseV1VideoGenInput = Omit<HappyHorseVideoGenInput, 'engine' | 'version'> & {
|
|
2199
|
+
operation: string;
|
|
2200
|
+
resolution?: '720p' | '1080p';
|
|
2201
|
+
duration?: number;
|
|
2202
|
+
seed?: null | number;
|
|
2203
|
+
enableSafetyChecker?: boolean;
|
|
2204
|
+
version: 'v1.0';
|
|
2205
|
+
engine: 'happyHorse';
|
|
2206
|
+
};
|
|
2207
|
+
/**
|
|
2208
|
+
* Engine-level base for Alibaba Happy-Horse video generation (FAL).
|
|
2209
|
+
* The version derived type carries the operation-level discriminator.
|
|
2210
|
+
*/
|
|
2211
|
+
export type HappyHorseVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
2212
|
+
version: string;
|
|
2213
|
+
engine: 'happyHorse';
|
|
2214
|
+
};
|
|
2137
2215
|
export declare const HumanoidImageMaskCategory: {
|
|
2138
2216
|
readonly DRESSES: 'dresses';
|
|
2139
2217
|
readonly UPPER_BODY: 'upperBody';
|