Skip to content

Commit f79336c

Browse files
committed
feat: update video descs
1 parent 098e6d6 commit f79336c

1 file changed

Lines changed: 39 additions & 5 deletions

File tree

packages/openapi/descriptions/video.js

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ export default {
66
default: {
77
desc: `A direct link to an online image or a Base64-encoded local image that will serve as the visual base or the first frame for the video.`,
88
},
9+
wan_animate: {
10+
desc: `A direct link to an online image or a Base64-encoded local image. If the input image does not match the chosen aspect ratio, it is resized and center cropped`,
11+
},
912
runway: {
1013
desc: `A HTTPS URL or data URI containing an encoded image to be used as the first frame of the generated video.`,
1114
},
@@ -118,6 +121,9 @@ Supported configurations include:
118121
},
119122
shift: {
120123
desc: `Noise schedule shift parameter. Affects temporal dynamics.`,
124+
wan_animate: {
125+
desc: `Shift value for the video.`,
126+
},
121127
},
122128
sampler: {
123129
desc: `The sampler to use for generation.`,
@@ -151,7 +157,7 @@ Supported configurations include:
151157
desc: `An enumeration where the short side of the video frame determines the resolution.`,
152158
},
153159
veed: {
154-
desc: `The resolution of the generated video. Available options are 480p, and 720p.`,
160+
desc: `The resolution of the generated video.`,
155161
},
156162
},
157163
watermark: {
@@ -170,6 +176,9 @@ Supported configurations include:
170176
omnihuman: {
171177
desc: `The URL of the audio file for lip-sync animation. The model detects spoken parts and syncs the character's mouth to them. Audio must be under 30s long.`,
172178
},
179+
pixverse: {
180+
desc: `A direct link to an online audio file or a Base64-encoded local to an audio file used for lip-syncing in the video. Use either audio_url or (lip_sync_tts_speaker together with lip_sync_tts_content), but not both.`,
181+
},
173182
},
174183
frame_size: {
175184
desc: `The width and height of the video.`,
@@ -223,6 +232,9 @@ Supported configurations include:
223232
},
224233
video_write_mode: {
225234
desc: `The method used to write the video.`,
235+
wan_animate: {
236+
desc: `The write mode of the output video. Faster write mode means faster results but larger file size, balanced write mode is a good compromise between speed and quality, and small write mode is the slowest but produces the smallest file size`,
237+
},
226238
},
227239
num_interpolated_frames: {
228240
desc: `Number of frames to interpolate between the original frames.`,
@@ -275,9 +287,31 @@ Supported configurations include:
275287
},
276288
},
277289
},
278-
audio_url: {
279-
pixverse: {
280-
desc: `A direct link to an online audio file or a Base64-encoded local to an audio file used for lip-syncing in the video. Use either audio_url or (lip_sync_tts_speaker together with lip_sync_tts_content), but not both.`,
281-
},
290+
mask_video_url: {
291+
desc: `URL to the source mask file`,
292+
},
293+
expand_left: {
294+
desc: `Whether to expand the video to the left`,
295+
},
296+
expand_right: {
297+
desc: `Whether to expand the video to the right`,
298+
},
299+
expand_top: {
300+
desc: `Whether to expand the video to the top`,
301+
},
302+
expand_bottom: {
303+
desc: `Whether to expand the video to the bottom`,
304+
},
305+
expand_ratio: {
306+
desc: `Amount of expansion. This is a float value between 0 and 1, where 0.25 adds 25% to the original video size on the specified sides`,
307+
},
308+
zoom_factor: {
309+
desc: `Zoom factor for the video. When this value is greater than 0, the video will be zoomed in by this factor (in relation to the canvas size,) cutting off the edges of the video. A value of 0 means no zoom`,
310+
},
311+
trim_borders: {
312+
desc: `Whether to trim borders from the video`,
313+
},
314+
num_inference_steps: {
315+
desc: `Number of inference steps for sampling. Higher values give better quality but take longer`,
282316
},
283317
};

0 commit comments

Comments
 (0)