Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "4.2.0"
".": "4.3.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 49
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-ae784dbc3407e86a6458d2848f2e9720eea6b3c534c3bbe101b614e3eb547dac.yml
openapi_spec_hash: e84013ce9a3d7c14175ba3050cbb5bc1
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-a71b15907f45c6c7b3cf9a277bfc7483817c1596130abd497e95b761bb14bd42.yml
openapi_spec_hash: dd22cae2258805fbe0b4ddf9632f9ffb
config_hash: 702846e1d30f519e56e425ca5455febe
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.3.0 (2026-06-25)

Full Changelog: [v4.2.0...v4.3.0](https://github.com/runwayml/sdk-node/compare/v4.2.0...v4.3.0)

### Features

* **api:** document product_ad 2026-07 ([afdb3e3](https://github.com/runwayml/sdk-node/commit/afdb3e356c84af9cb0be6ccb512622fd2bc14e77))

## 4.2.0 (2026-06-17)

Full Changelog: [v4.1.0...v4.2.0](https://github.com/runwayml/sdk-node/compare/v4.1.0...v4.2.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@runwayml/sdk",
"version": "4.2.0",
"version": "4.3.0",
"description": "The official TypeScript library for the RunwayML API",
"author": "RunwayML <dev-feedback@runwayml.com>",
"types": "dist/index.d.ts",
Expand Down
8 changes: 7 additions & 1 deletion src/resources/image-to-video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,13 @@ export declare namespace ImageToVideoCreateParams {
| '1664:1248'
| '1440:1440'
| '1248:1664'
| '1080:1920';
| '1080:1920'
| '3840:1646'
| '3840:2160'
| '3840:2880'
| '3840:3840'
| '2880:3840'
| '2160:3840';

/**
* An optional array of audio references. Audio references require a text prompt,
Expand Down
4 changes: 2 additions & 2 deletions src/resources/recipes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,10 @@ export interface RecipeProductAdParams {
productImages: Array<RecipeProductAdParams.ProductImage>;

/**
* Workflow version. Use a dated version (e.g. "2026-06") to pin behavior, or
* Workflow version. Use a dated version (e.g. "2026-07") to pin behavior, or
* "unsafe-latest" to track the newest stable version (may break without notice).
*/
version: '2026-06' | 'unsafe-latest';
version: '2026-06' | '2026-07' | 'unsafe-latest';

/**
* Whether to generate audio for the video.
Expand Down
9 changes: 3 additions & 6 deletions src/resources/text-to-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ export declare namespace TextToImageCreateParams {
model: 'gemini_image3_pro';

/**
* A non-empty string up to 5,500 characters (measured in UTF-16 code units). This
* should describe in detail what should appear in the output.
* This should describe in detail what should appear in the output.
*/
promptText: string;

Expand Down Expand Up @@ -357,8 +356,7 @@ export declare namespace TextToImageCreateParams {
model: 'gemini_image3.1_flash';

/**
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
* should describe in detail what should appear in the output.
* This should describe in detail what should appear in the output.
*/
promptText: string;

Expand Down Expand Up @@ -465,8 +463,7 @@ export declare namespace TextToImageCreateParams {
model: 'gemini_2.5_flash';

/**
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
* should describe in detail what should appear in the output.
* This should describe in detail what should appear in the output.
*/
promptText: string;

Expand Down
20 changes: 7 additions & 13 deletions src/resources/text-to-video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,13 @@ export declare namespace TextToVideoCreateParams {
| '1664:1248'
| '1440:1440'
| '1248:1664'
| '1080:1920';
| '1080:1920'
| '3840:1646'
| '3840:2160'
| '3840:2880'
| '3840:3840'
| '2880:3840'
| '2160:3840';

/**
* An optional array of audio references. Audio references require a text prompt,
Expand Down Expand Up @@ -245,12 +251,6 @@ export declare namespace TextToVideoCreateParams {
* A HTTPS URL.
*/
uri: string;

/**
* The position of the image in the output video. "first" will use the image as the
* first frame, "last" as the last frame. Omit for a reference image.
*/
position?: 'first' | 'last';
}

/**
Expand Down Expand Up @@ -343,12 +343,6 @@ export declare namespace TextToVideoCreateParams {
* A HTTPS URL.
*/
uri: string;

/**
* The position of the image in the output video. "first" will use the image as the
* first frame, "last" as the last frame. Omit for a reference image.
*/
position?: 'first' | 'last';
}

/**
Expand Down
20 changes: 7 additions & 13 deletions src/resources/video-to-video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,13 @@ export declare namespace VideoToVideoCreateParams {
| '1664:1248'
| '1440:1440'
| '1248:1664'
| '1080:1920';
| '1080:1920'
| '3840:1646'
| '3840:2160'
| '3840:2880'
| '3840:3840'
| '2880:3840'
| '2160:3840';

/**
* An optional array of audio references. Audio references require a text prompt,
Expand Down Expand Up @@ -211,12 +217,6 @@ export declare namespace VideoToVideoCreateParams {
* A HTTPS URL.
*/
uri: string;

/**
* The position of the image in the output video. "first" will use the image as the
* first frame, "last" as the last frame. Omit for a reference image.
*/
position?: 'first' | 'last';
}

/**
Expand Down Expand Up @@ -314,12 +314,6 @@ export declare namespace VideoToVideoCreateParams {
* A HTTPS URL.
*/
uri: string;

/**
* The position of the image in the output video. "first" will use the image as the
* first frame, "last" as the last frame. Omit for a reference image.
*/
position?: 'first' | 'last';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '4.2.0'; // x-release-please-version
export const VERSION = '4.3.0'; // x-release-please-version
Loading