Skip to content

Commit fa0bca8

Browse files
fix(api): Fix for parameters with missing descriptions
1 parent e336bf6 commit fa0bca8

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 4
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml%2Frunwayml-50d72f887af30d0d676f216865284f2bc36899cc197f81774445e00bc0228c02.yml
3-
openapi_spec_hash: c692214e7e704169e0e82d5b367e8f8c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml%2Frunwayml-34491bc11ee43039ff5f1828a4caf68847a7346ab283bbefe88d1690951dd4d6.yml
3+
openapi_spec_hash: 4fc80b2e354cf70ebc85e0ef4e7e6f51
44
config_hash: 77ce816c37172a537f337abfaf2d65a9

src/resources/image-to-video.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,35 @@ export interface ImageToVideoCreateParams {
3636
*/
3737
promptImage: string | Array<ImageToVideoCreateParams.PromptImage>;
3838

39+
/**
40+
* The resolution of the output video.
41+
*
42+
* `gen4_turbo` supports the following values:
43+
*
44+
* - `1280:720`
45+
* - `720:1280`
46+
* - `1104:832`
47+
* - `832:1104`
48+
* - `960:960`
49+
* - `1584:672`
50+
*
51+
* `gen3a_turbo` supports the following values:
52+
*
53+
* - `1280:768`
54+
* - `768:1280`
55+
*/
3956
ratio: '1280:720' | '720:1280' | '1104:832' | '832:1104' | '960:960' | '1584:672' | '1280:768' | '768:1280';
4057

4158
/**
4259
* The number of seconds of duration for the output video.
4360
*/
4461
duration?: 5 | 10;
4562

63+
/**
64+
* A non-empty string up to 1000 UTF-16 code points in length (that is,
65+
* `promptText.length === 1000` in JavaScript). This should describe in detail what
66+
* should appear in the output.
67+
*/
4668
promptText?: string;
4769

4870
/**

0 commit comments

Comments
 (0)