fal-endpoint-types 1.3.28 → 1.3.30
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/package.json +1 -1
- package/types/fal/endpoints/components.d.ts +278 -62
- package/types/fal/endpoints/index.d.ts +105 -25
- package/types/fal/endpoints/schema.d.ts +3638 -2800
package/package.json
CHANGED
|
@@ -1600,7 +1600,6 @@ export interface VideoAgentConfig {
|
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
1602
1602
|
export interface Video_1 {
|
|
1603
|
-
/** @description Audio track information if video has audio */
|
|
1604
1603
|
audio?: AudioTrack;
|
|
1605
1604
|
/**
|
|
1606
1605
|
* Bitrate
|
|
@@ -1642,7 +1641,6 @@ export interface Video_1 {
|
|
|
1642
1641
|
* @description Size of the file in bytes
|
|
1643
1642
|
*/
|
|
1644
1643
|
file_size: number;
|
|
1645
|
-
/** @description Detailed video format information */
|
|
1646
1644
|
format: VideoFormat;
|
|
1647
1645
|
/**
|
|
1648
1646
|
* Fps
|
|
@@ -1661,7 +1659,6 @@ export interface Video_1 {
|
|
|
1661
1659
|
* @constant
|
|
1662
1660
|
*/
|
|
1663
1661
|
media_type?: 'video';
|
|
1664
|
-
/** @description Video resolution information */
|
|
1665
1662
|
resolution: Resolution;
|
|
1666
1663
|
/**
|
|
1667
1664
|
* Start Frame Url
|
|
@@ -1790,11 +1787,8 @@ export interface UsageInfo_1 {
|
|
|
1790
1787
|
}
|
|
1791
1788
|
|
|
1792
1789
|
export interface UsageInfo {
|
|
1793
|
-
/** Completion Tokens */
|
|
1794
1790
|
completion_tokens?: number;
|
|
1795
|
-
/** Cost */
|
|
1796
1791
|
cost: number;
|
|
1797
|
-
/** Prompt Tokens */
|
|
1798
1792
|
prompt_tokens?: number;
|
|
1799
1793
|
/**
|
|
1800
1794
|
* Total Tokens
|
|
@@ -1804,9 +1798,7 @@ export interface UsageInfo {
|
|
|
1804
1798
|
}
|
|
1805
1799
|
|
|
1806
1800
|
export interface Turn {
|
|
1807
|
-
/** Speaker Id */
|
|
1808
1801
|
speaker_id: number;
|
|
1809
|
-
/** Text */
|
|
1810
1802
|
text: string;
|
|
1811
1803
|
}
|
|
1812
1804
|
|
|
@@ -1947,9 +1939,9 @@ export interface TextVoice {
|
|
|
1947
1939
|
/**
|
|
1948
1940
|
* Prompt
|
|
1949
1941
|
* @description The text that the avatar will speak in the video
|
|
1950
|
-
* @example The Tesla Cybertruck is a battery-electric full-size pickup truck manufactured by Tesla, Inc. since 2023.
|
|
1942
|
+
* @example The Tesla Cybertruck is a battery-electric full-size pickup truck manufactured by Tesla, Inc. since 2023.
|
|
1951
1943
|
*/
|
|
1952
|
-
prompt
|
|
1944
|
+
prompt?: string;
|
|
1953
1945
|
/**
|
|
1954
1946
|
* Speed
|
|
1955
1947
|
* @description Speed of the speech (0.5 to 2.0)
|
|
@@ -1963,9 +1955,9 @@ export interface TextVoice {
|
|
|
1963
1955
|
* Voice
|
|
1964
1956
|
* @description Name of the voice to use for the avatar
|
|
1965
1957
|
* @example Charming Charlie - Excited 🤩
|
|
1966
|
-
* @enum {
|
|
1958
|
+
* @enum {unknown}
|
|
1967
1959
|
*/
|
|
1968
|
-
voice
|
|
1960
|
+
voice?:
|
|
1969
1961
|
| 'Warm Pro Narrator'
|
|
1970
1962
|
| 'Chill Brian'
|
|
1971
1963
|
| 'Ivy'
|
|
@@ -2068,16 +2060,17 @@ export interface TextVoice {
|
|
|
2068
2060
|
| 'Rupert Blackwood'
|
|
2069
2061
|
| 'Ginny'
|
|
2070
2062
|
| 'Hope';
|
|
2063
|
+
/**
|
|
2064
|
+
* Voice Id
|
|
2065
|
+
* @description Direct voice ID. When provided, this is used instead of looking up the voice by name.
|
|
2066
|
+
*/
|
|
2067
|
+
voice_id?: string;
|
|
2071
2068
|
}
|
|
2072
2069
|
|
|
2073
2070
|
export interface TextureFiles {
|
|
2074
|
-
/** @description Base color texture */
|
|
2075
2071
|
base_color: File;
|
|
2076
|
-
/** @description Metallic texture (PBR) */
|
|
2077
2072
|
metallic?: File;
|
|
2078
|
-
/** @description Normal texture (PBR) */
|
|
2079
2073
|
normal?: File;
|
|
2080
|
-
/** @description Roughness texture (PBR) */
|
|
2081
2074
|
roughness?: File;
|
|
2082
2075
|
}
|
|
2083
2076
|
|
|
@@ -2114,8 +2107,55 @@ export interface TextRender {
|
|
|
2114
2107
|
text: string;
|
|
2115
2108
|
}
|
|
2116
2109
|
|
|
2110
|
+
export interface StructuredPrompt_2 {
|
|
2111
|
+
aesthetics?: Aesthetics_1;
|
|
2112
|
+
/**
|
|
2113
|
+
* Artistic Style
|
|
2114
|
+
* @description The artistic style of the image to be generated.
|
|
2115
|
+
*/
|
|
2116
|
+
artistic_style?: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* Background Setting
|
|
2119
|
+
* @description The background setting of the image to be generated.
|
|
2120
|
+
*/
|
|
2121
|
+
background_setting?: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* Color Palette
|
|
2124
|
+
* @description A list of colors that define the overall color palette of the image.
|
|
2125
|
+
*/
|
|
2126
|
+
color_palette?: Color[];
|
|
2127
|
+
/**
|
|
2128
|
+
* Context
|
|
2129
|
+
* @description The context of the image to be generated.
|
|
2130
|
+
*/
|
|
2131
|
+
context?: string;
|
|
2132
|
+
lighting?: Lighting_1;
|
|
2133
|
+
/**
|
|
2134
|
+
* Objects
|
|
2135
|
+
* @description A list of objects in the image to be generated, along with their attributes and relationships to other objects in the image.
|
|
2136
|
+
* @default []
|
|
2137
|
+
*/
|
|
2138
|
+
objects?: PromptObject_1[];
|
|
2139
|
+
photographic_characteristics?: PhotographicCharacteristics_1;
|
|
2140
|
+
/**
|
|
2141
|
+
* Short Description
|
|
2142
|
+
* @description A short description of the image to be generated.
|
|
2143
|
+
*/
|
|
2144
|
+
short_description?: string;
|
|
2145
|
+
/**
|
|
2146
|
+
* Style Medium
|
|
2147
|
+
* @description The style medium of the image to be generated.
|
|
2148
|
+
*/
|
|
2149
|
+
style_medium?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* Text Render
|
|
2152
|
+
* @description A list of text to be rendered in the image.
|
|
2153
|
+
* @default []
|
|
2154
|
+
*/
|
|
2155
|
+
text_render?: { [x: string]: any }[];
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2117
2158
|
export interface StructuredPrompt_1 {
|
|
2118
|
-
/** @description Details about the image aesthetics. */
|
|
2119
2159
|
aesthetics: AestheticsDetails;
|
|
2120
2160
|
/**
|
|
2121
2161
|
* Artistic Style
|
|
@@ -2132,14 +2172,12 @@ export interface StructuredPrompt_1 {
|
|
|
2132
2172
|
* @description Provide any additional context that helps understand the image better.
|
|
2133
2173
|
*/
|
|
2134
2174
|
context: string;
|
|
2135
|
-
/** @description Details about the lighting. */
|
|
2136
2175
|
lighting: LightingDetails;
|
|
2137
2176
|
/**
|
|
2138
2177
|
* Objects
|
|
2139
2178
|
* @description List of prominent foreground/midground objects.
|
|
2140
2179
|
*/
|
|
2141
2180
|
objects: ObjectDescription[];
|
|
2142
|
-
/** @description Details about photographic characteristics. */
|
|
2143
2181
|
photographic_characteristics?: PhotographicCharacteristicsDetails;
|
|
2144
2182
|
/**
|
|
2145
2183
|
* Short Description
|
|
@@ -2164,8 +2202,7 @@ export interface StructuredPrompt_1 {
|
|
|
2164
2202
|
}
|
|
2165
2203
|
|
|
2166
2204
|
export interface StructuredPrompt {
|
|
2167
|
-
|
|
2168
|
-
aesthetics?: Aesthetics;
|
|
2205
|
+
aesthetics?: Aesthetics_1;
|
|
2169
2206
|
/**
|
|
2170
2207
|
* Artistic Style
|
|
2171
2208
|
* @description The artistic style of the image to be generated.
|
|
@@ -2181,16 +2218,14 @@ export interface StructuredPrompt {
|
|
|
2181
2218
|
* @description The context of the image to be generated.
|
|
2182
2219
|
*/
|
|
2183
2220
|
context?: string;
|
|
2184
|
-
|
|
2185
|
-
lighting?: Lighting;
|
|
2221
|
+
lighting?: Lighting_1;
|
|
2186
2222
|
/**
|
|
2187
2223
|
* Objects
|
|
2188
2224
|
* @description A list of objects in the image to be generated, along with their attributes and relationships to other objects in the image.
|
|
2189
2225
|
* @default []
|
|
2190
2226
|
*/
|
|
2191
|
-
objects?:
|
|
2192
|
-
|
|
2193
|
-
photographic_characteristics?: PhotographicCharacteristics;
|
|
2227
|
+
objects?: PromptObject_1[];
|
|
2228
|
+
photographic_characteristics?: PhotographicCharacteristics_1;
|
|
2194
2229
|
/**
|
|
2195
2230
|
* Short Description
|
|
2196
2231
|
* @description A short description of the image to be generated.
|
|
@@ -2210,8 +2245,7 @@ export interface StructuredPrompt {
|
|
|
2210
2245
|
}
|
|
2211
2246
|
|
|
2212
2247
|
export interface StructuredInstruction {
|
|
2213
|
-
|
|
2214
|
-
aesthetics?: Aesthetics;
|
|
2248
|
+
aesthetics?: Aesthetics_1;
|
|
2215
2249
|
/**
|
|
2216
2250
|
* Artistic Style
|
|
2217
2251
|
* @description The artistic style of the image to be generated.
|
|
@@ -2232,16 +2266,14 @@ export interface StructuredInstruction {
|
|
|
2232
2266
|
* @description The edit instruction for the image.
|
|
2233
2267
|
*/
|
|
2234
2268
|
edit_instruction?: string;
|
|
2235
|
-
|
|
2236
|
-
lighting?: Lighting;
|
|
2269
|
+
lighting?: Lighting_1;
|
|
2237
2270
|
/**
|
|
2238
2271
|
* Objects
|
|
2239
2272
|
* @description A list of objects in the image to be generated, along with their attributes and relationships to other objects in the image.
|
|
2240
2273
|
* @default []
|
|
2241
2274
|
*/
|
|
2242
|
-
objects?:
|
|
2243
|
-
|
|
2244
|
-
photographic_characteristics?: PhotographicCharacteristics;
|
|
2275
|
+
objects?: PromptObject_1[];
|
|
2276
|
+
photographic_characteristics?: PhotographicCharacteristics_1;
|
|
2245
2277
|
/**
|
|
2246
2278
|
* Short Description
|
|
2247
2279
|
* @description A short description of the image to be generated.
|
|
@@ -2274,11 +2306,8 @@ export interface SpeechTimestamp {
|
|
|
2274
2306
|
}
|
|
2275
2307
|
|
|
2276
2308
|
export interface Speaker {
|
|
2277
|
-
/** Audio Url */
|
|
2278
2309
|
audio_url: string;
|
|
2279
|
-
/** Prompt */
|
|
2280
2310
|
prompt: string;
|
|
2281
|
-
/** Speaker Id */
|
|
2282
2311
|
speaker_id: number;
|
|
2283
2312
|
}
|
|
2284
2313
|
|
|
@@ -2559,9 +2588,7 @@ export interface RawImage {
|
|
|
2559
2588
|
* @default image/jpeg
|
|
2560
2589
|
*/
|
|
2561
2590
|
content_type?: string;
|
|
2562
|
-
/** Height */
|
|
2563
2591
|
height: number;
|
|
2564
|
-
/** Width */
|
|
2565
2592
|
width: number;
|
|
2566
2593
|
}
|
|
2567
2594
|
|
|
@@ -2586,6 +2613,100 @@ export interface PronunciationDict {
|
|
|
2586
2613
|
tone_list?: string[];
|
|
2587
2614
|
}
|
|
2588
2615
|
|
|
2616
|
+
export interface PromptObject_1 {
|
|
2617
|
+
/**
|
|
2618
|
+
* Action
|
|
2619
|
+
* @description The action of the object in the image.
|
|
2620
|
+
*/
|
|
2621
|
+
action?: string;
|
|
2622
|
+
/**
|
|
2623
|
+
* Appearance Details
|
|
2624
|
+
* @description The appearance details of the object.
|
|
2625
|
+
*/
|
|
2626
|
+
appearance_details?: string;
|
|
2627
|
+
/**
|
|
2628
|
+
* Bounding Boxes
|
|
2629
|
+
* @description Bounding boxes defining the location of the object in the image.
|
|
2630
|
+
*/
|
|
2631
|
+
bounding_boxes?: BoundingBox_1[];
|
|
2632
|
+
/**
|
|
2633
|
+
* Clothing
|
|
2634
|
+
* @description The clothing of the object in the image.
|
|
2635
|
+
*/
|
|
2636
|
+
clothing?: string;
|
|
2637
|
+
/**
|
|
2638
|
+
* Colors
|
|
2639
|
+
* @description A list of colors associated with the object.
|
|
2640
|
+
*/
|
|
2641
|
+
colors?: Color[];
|
|
2642
|
+
/**
|
|
2643
|
+
* Description
|
|
2644
|
+
* @description A description of the object to be generated.
|
|
2645
|
+
*/
|
|
2646
|
+
description?: string;
|
|
2647
|
+
/**
|
|
2648
|
+
* Expression
|
|
2649
|
+
* @description The expression of the object in the image.
|
|
2650
|
+
*/
|
|
2651
|
+
expression?: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* Gender
|
|
2654
|
+
* @description The gender of the object in the image.
|
|
2655
|
+
*/
|
|
2656
|
+
gender?: string;
|
|
2657
|
+
/**
|
|
2658
|
+
* Location
|
|
2659
|
+
* @description The location of the object in the image.
|
|
2660
|
+
*/
|
|
2661
|
+
location?: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* Number Of Objects
|
|
2664
|
+
* @description The number of objects in the image.
|
|
2665
|
+
*/
|
|
2666
|
+
number_of_objects?: number;
|
|
2667
|
+
/**
|
|
2668
|
+
* Orientation
|
|
2669
|
+
* @description The orientation of the object in the image.
|
|
2670
|
+
*/
|
|
2671
|
+
orientation?: string;
|
|
2672
|
+
/**
|
|
2673
|
+
* Pose
|
|
2674
|
+
* @description The pose of the object in the image.
|
|
2675
|
+
*/
|
|
2676
|
+
pose?: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* Relationship
|
|
2679
|
+
* @description The relationship of the object to other objects in the image.
|
|
2680
|
+
*/
|
|
2681
|
+
relationship?: string;
|
|
2682
|
+
/**
|
|
2683
|
+
* Relative Distance
|
|
2684
|
+
* @description The relative distance of the object from the camera or viewer.
|
|
2685
|
+
*/
|
|
2686
|
+
relative_distance?: number;
|
|
2687
|
+
/**
|
|
2688
|
+
* Relative Size
|
|
2689
|
+
* @description The relative size of the object in the image.
|
|
2690
|
+
*/
|
|
2691
|
+
relative_size?: string;
|
|
2692
|
+
/**
|
|
2693
|
+
* Shape And Color
|
|
2694
|
+
* @description The shape and color of the object.
|
|
2695
|
+
*/
|
|
2696
|
+
shape_and_color?: string;
|
|
2697
|
+
skin_color?: Color;
|
|
2698
|
+
/**
|
|
2699
|
+
* Skin Tone And Texture
|
|
2700
|
+
* @description The skin tone and texture of the object in the image.
|
|
2701
|
+
*/
|
|
2702
|
+
skin_tone_and_texture?: string;
|
|
2703
|
+
/**
|
|
2704
|
+
* Texture
|
|
2705
|
+
* @description The texture of the object.
|
|
2706
|
+
*/
|
|
2707
|
+
texture?: string;
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2589
2710
|
export interface PromptObject {
|
|
2590
2711
|
/**
|
|
2591
2712
|
* Action
|
|
@@ -2766,7 +2887,7 @@ export interface PointPrompt {
|
|
|
2766
2887
|
y?: number;
|
|
2767
2888
|
}
|
|
2768
2889
|
|
|
2769
|
-
export interface
|
|
2890
|
+
export interface Point_1 {
|
|
2770
2891
|
/**
|
|
2771
2892
|
* X
|
|
2772
2893
|
* @description X coordinate of the point in normalized format (0 to 1)
|
|
@@ -2779,6 +2900,19 @@ export interface Point {
|
|
|
2779
2900
|
y: number;
|
|
2780
2901
|
}
|
|
2781
2902
|
|
|
2903
|
+
export interface Point {
|
|
2904
|
+
/**
|
|
2905
|
+
* X
|
|
2906
|
+
* @description The x coordinate.
|
|
2907
|
+
*/
|
|
2908
|
+
x: number;
|
|
2909
|
+
/**
|
|
2910
|
+
* Y
|
|
2911
|
+
* @description The y coordinate.
|
|
2912
|
+
*/
|
|
2913
|
+
y: number;
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2782
2916
|
export interface PhotographicCharacteristicsDetails {
|
|
2783
2917
|
/**
|
|
2784
2918
|
* Camera Angle
|
|
@@ -2802,6 +2936,31 @@ export interface PhotographicCharacteristicsDetails {
|
|
|
2802
2936
|
lens_focal_length: string;
|
|
2803
2937
|
}
|
|
2804
2938
|
|
|
2939
|
+
export type PhotographicCharacteristics_1 = {
|
|
2940
|
+
/**
|
|
2941
|
+
* Camera Angle
|
|
2942
|
+
* @description The angle of the camera in the image to be generated.
|
|
2943
|
+
*/
|
|
2944
|
+
camera_angle?: string;
|
|
2945
|
+
/**
|
|
2946
|
+
* Depth Of Field
|
|
2947
|
+
* @description The depth of field in the image to be generated.
|
|
2948
|
+
*/
|
|
2949
|
+
depth_of_field?: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* Focus
|
|
2952
|
+
* @description The focus in the image to be generated.
|
|
2953
|
+
*/
|
|
2954
|
+
focus?: string;
|
|
2955
|
+
/**
|
|
2956
|
+
* Lens Focal Length
|
|
2957
|
+
* @description The focal length of the lens in the image to be generated.
|
|
2958
|
+
*/
|
|
2959
|
+
lens_focal_length?: string;
|
|
2960
|
+
} & {
|
|
2961
|
+
[key: string]: { [x: string]: any } | null;
|
|
2962
|
+
};
|
|
2963
|
+
|
|
2805
2964
|
export interface PhotographicCharacteristics {
|
|
2806
2965
|
/**
|
|
2807
2966
|
* Camera Angle
|
|
@@ -3012,43 +3171,27 @@ export interface MoondreamInputParam {
|
|
|
3012
3171
|
}
|
|
3013
3172
|
|
|
3014
3173
|
export interface ModelUrls_2 {
|
|
3015
|
-
/** @description FBX format 3D model */
|
|
3016
3174
|
fbx?: File;
|
|
3017
|
-
/** @description GLB format 3D model */
|
|
3018
3175
|
glb?: File;
|
|
3019
|
-
/** @description OBJ format 3D model */
|
|
3020
3176
|
obj?: File;
|
|
3021
|
-
/** @description USDZ format 3D model */
|
|
3022
3177
|
usdz?: File;
|
|
3023
3178
|
}
|
|
3024
3179
|
|
|
3025
3180
|
export interface ModelUrls_1 {
|
|
3026
|
-
/** @description FBX format 3D model */
|
|
3027
3181
|
fbx?: File;
|
|
3028
|
-
/** @description GLB format 3D model */
|
|
3029
3182
|
glb?: File;
|
|
3030
|
-
/** @description MTL material file for OBJ model */
|
|
3031
3183
|
mtl?: File;
|
|
3032
|
-
/** @description OBJ format 3D model */
|
|
3033
3184
|
obj?: File;
|
|
3034
|
-
/** @description Texture image for the 3D model */
|
|
3035
3185
|
texture?: File;
|
|
3036
|
-
/** @description USDZ format 3D model */
|
|
3037
3186
|
usdz?: File;
|
|
3038
3187
|
}
|
|
3039
3188
|
|
|
3040
3189
|
export interface ModelUrls {
|
|
3041
|
-
/** @description Blender format 3D model */
|
|
3042
3190
|
blend?: File;
|
|
3043
|
-
/** @description FBX format 3D model */
|
|
3044
3191
|
fbx?: File;
|
|
3045
|
-
/** @description GLB format 3D model */
|
|
3046
3192
|
glb?: File;
|
|
3047
|
-
/** @description OBJ format 3D model */
|
|
3048
3193
|
obj?: File;
|
|
3049
|
-
/** @description STL format 3D model */
|
|
3050
3194
|
stl?: File;
|
|
3051
|
-
/** @description USDZ format 3D model */
|
|
3052
3195
|
usdz?: File;
|
|
3053
3196
|
}
|
|
3054
3197
|
|
|
@@ -3367,6 +3510,26 @@ export interface LightingDetails {
|
|
|
3367
3510
|
shadows?: string;
|
|
3368
3511
|
}
|
|
3369
3512
|
|
|
3513
|
+
export type Lighting_1 = {
|
|
3514
|
+
/**
|
|
3515
|
+
* Conditions
|
|
3516
|
+
* @description The conditions of the lighting in the image to be generated.
|
|
3517
|
+
*/
|
|
3518
|
+
conditions?: string;
|
|
3519
|
+
/**
|
|
3520
|
+
* Direction
|
|
3521
|
+
* @description The direction of the lighting in the image to be generated.
|
|
3522
|
+
*/
|
|
3523
|
+
direction?: string;
|
|
3524
|
+
/**
|
|
3525
|
+
* Shadows
|
|
3526
|
+
* @description The shadows in the image to be generated.
|
|
3527
|
+
*/
|
|
3528
|
+
shadows?: string;
|
|
3529
|
+
} & {
|
|
3530
|
+
[key: string]: { [x: string]: any } | null;
|
|
3531
|
+
};
|
|
3532
|
+
|
|
3370
3533
|
export interface Lighting {
|
|
3371
3534
|
/**
|
|
3372
3535
|
* Conditions
|
|
@@ -3627,7 +3790,6 @@ export interface ImageSize {
|
|
|
3627
3790
|
}
|
|
3628
3791
|
|
|
3629
3792
|
export interface ImagePrompt {
|
|
3630
|
-
/** Image Url */
|
|
3631
3793
|
image_url?: string;
|
|
3632
3794
|
/**
|
|
3633
3795
|
* Stop At
|
|
@@ -3904,11 +4066,8 @@ export interface Image_1 {
|
|
|
3904
4066
|
* @default image/jpeg
|
|
3905
4067
|
*/
|
|
3906
4068
|
content_type?: string;
|
|
3907
|
-
/** Height */
|
|
3908
4069
|
height: number;
|
|
3909
|
-
/** Url */
|
|
3910
4070
|
url: string;
|
|
3911
|
-
/** Width */
|
|
3912
4071
|
width: number;
|
|
3913
4072
|
}
|
|
3914
4073
|
|
|
@@ -4639,7 +4798,6 @@ export interface ColorPaletteMember {
|
|
|
4639
4798
|
* @default 0.5
|
|
4640
4799
|
*/
|
|
4641
4800
|
color_weight?: number;
|
|
4642
|
-
/** @description RGB color value for the palette member */
|
|
4643
4801
|
rgb: RGBColor;
|
|
4644
4802
|
}
|
|
4645
4803
|
|
|
@@ -4656,6 +4814,29 @@ export interface ColorPalette {
|
|
|
4656
4814
|
name?: 'EMBER' | 'FRESH' | 'JUNGLE' | 'MAGIC' | 'MELON' | 'MOSAIC' | 'PASTEL' | 'ULTRAMARINE';
|
|
4657
4815
|
}
|
|
4658
4816
|
|
|
4817
|
+
export interface Color {
|
|
4818
|
+
/**
|
|
4819
|
+
* Blue
|
|
4820
|
+
* @description The blue component of the color (0-255).
|
|
4821
|
+
*/
|
|
4822
|
+
blue: number;
|
|
4823
|
+
/**
|
|
4824
|
+
* Green
|
|
4825
|
+
* @description The green component of the color (0-255).
|
|
4826
|
+
*/
|
|
4827
|
+
green: number;
|
|
4828
|
+
/**
|
|
4829
|
+
* Name
|
|
4830
|
+
* @description The name of the color.
|
|
4831
|
+
*/
|
|
4832
|
+
name?: string;
|
|
4833
|
+
/**
|
|
4834
|
+
* Red
|
|
4835
|
+
* @description The red component of the color (0-255).
|
|
4836
|
+
*/
|
|
4837
|
+
red: number;
|
|
4838
|
+
}
|
|
4839
|
+
|
|
4659
4840
|
export interface ChronoLoraWeight {
|
|
4660
4841
|
/**
|
|
4661
4842
|
* Path
|
|
@@ -6115,7 +6296,12 @@ export interface BoundingBoxes {
|
|
|
6115
6296
|
* Bboxes
|
|
6116
6297
|
* @description List of bounding boxes
|
|
6117
6298
|
*/
|
|
6118
|
-
bboxes:
|
|
6299
|
+
bboxes: BoundingBox_1[];
|
|
6300
|
+
}
|
|
6301
|
+
|
|
6302
|
+
export interface BoundingBox_1 {
|
|
6303
|
+
bottom_right: Point;
|
|
6304
|
+
top_left: Point;
|
|
6119
6305
|
}
|
|
6120
6306
|
|
|
6121
6307
|
export interface BoundingBox {
|
|
@@ -6483,7 +6669,7 @@ export interface AestheticsDetails {
|
|
|
6483
6669
|
preference_score: string;
|
|
6484
6670
|
}
|
|
6485
6671
|
|
|
6486
|
-
export interface
|
|
6672
|
+
export interface Aesthetics_2 {
|
|
6487
6673
|
/**
|
|
6488
6674
|
* Aesthetic Score
|
|
6489
6675
|
* @description The aesthetic score of the image.
|
|
@@ -6511,6 +6697,36 @@ export interface Aesthetics_1 {
|
|
|
6511
6697
|
preference_score: string;
|
|
6512
6698
|
}
|
|
6513
6699
|
|
|
6700
|
+
export type Aesthetics_1 = {
|
|
6701
|
+
/**
|
|
6702
|
+
* Aesthetic Score
|
|
6703
|
+
* @description The aesthetic score of the image (e.g., 'very high', 'high', 'medium', 'low').
|
|
6704
|
+
*/
|
|
6705
|
+
aesthetic_score?: string;
|
|
6706
|
+
/**
|
|
6707
|
+
* Color Scheme
|
|
6708
|
+
* @description The color scheme of the image to be generated.
|
|
6709
|
+
*/
|
|
6710
|
+
color_scheme?: string;
|
|
6711
|
+
/**
|
|
6712
|
+
* Composition
|
|
6713
|
+
* @description The composition of the image to be generated.
|
|
6714
|
+
*/
|
|
6715
|
+
composition?: string;
|
|
6716
|
+
/**
|
|
6717
|
+
* Mood Atmosphere
|
|
6718
|
+
* @description The mood and atmosphere of the image to be generated.
|
|
6719
|
+
*/
|
|
6720
|
+
mood_atmosphere?: string;
|
|
6721
|
+
/**
|
|
6722
|
+
* Preference Score
|
|
6723
|
+
* @description The preference score of the image (e.g., 'very high', 'high', 'medium', 'low').
|
|
6724
|
+
*/
|
|
6725
|
+
preference_score?: string;
|
|
6726
|
+
} & {
|
|
6727
|
+
[key: string]: { [x: string]: any } | null;
|
|
6728
|
+
};
|
|
6729
|
+
|
|
6514
6730
|
export interface Aesthetics {
|
|
6515
6731
|
/**
|
|
6516
6732
|
* Color Scheme
|