Skip to content

Commit baa63b3

Browse files
authored
feat: add desc for sora image_url
feat: add desc for sora image_url
2 parents 929bc39 + eda5616 commit baa63b3

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

packages/openapi/descriptions/video.js

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,23 @@ export default {
2626
desc: `URL of the input image to animate. Should be 720p or higher resolution.`,
2727
},
2828
images: {
29-
desc: `Reference images for dual-character effects (Base64 encoded or URL)`
30-
}
29+
desc: `Reference images for dual-character effects (Base64 encoded or URL)`,
30+
},
31+
sora: {
32+
desc: `A URL or a Base64-encoded image file used as the initial frame for video generation.
33+
The image dimensions must match the selected video resolution and aspect ratio.
34+
Supported configurations include:
35+
720p with aspect ratios:
36+
- 16:9 — 1280x720
37+
- 9:16 — 720x1280
38+
39+
1080p with aspect ratios:
40+
- 16:9 — 1792x1024
41+
- 9:16 — 1024x1792`,
42+
},
3143
},
3244
first_image_url: {
33-
desc: `URL of the image to be used as the first frame of the video.`,
45+
desc: `URL of the image to be used as the first frame of the video.`,
3446
},
3547
last_image_url: {
3648
default: {
@@ -173,7 +185,7 @@ export default {
173185
desc: `The style of the generated video.`,
174186
},
175187
num_frames: {
176-
desc: `Number of frames to generate. Must be between 81 to 241 (inclusive)`
188+
desc: `Number of frames to generate. Must be between 81 to 241 (inclusive)`,
177189
},
178190
match_input_frames_per_second: {
179191
desc: `Whether to match the input video's frames per second (FPS).`,
@@ -213,5 +225,5 @@ export default {
213225
},
214226
image_list: {
215227
desc: `Array of image URLs (2-4 images) for multi-image-to-video generation.`,
216-
}
228+
},
217229
};

0 commit comments

Comments
 (0)