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.12.0"
".": "4.13.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: 59
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-a31e62dafc005582320d354e7aed335c8df690338ca539c055aa4a5637b9ad3b.yml
openapi_spec_hash: ab95f9ae7163b960171e68f4ff95da4e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-b9f8776472c5558535b3c872d339d7a597c81666450a9c9f5e617cb2ab937c35.yml
openapi_spec_hash: 1e2e114b299226837005450ec47aef7f
config_hash: 95e64e640428abd4184a48762d9fd5f8
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.13.0 (2026-07-27)

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

### Features

* **api:** Update OpenAPI copy for asset URL and media field descriptions ([1cd194d](https://github.com/runwayml/sdk-node/commit/1cd194da0e0e4728b7fcc146fd85426859e4163c))

## 4.12.0 (2026-07-23)

Full Changelog: [v4.11.0...v4.12.0](https://github.com/runwayml/sdk-node/compare/v4.11.0...v4.12.0)
Expand Down
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ Methods:

Types:

- <code><a href="./src/resources/realtime-sessions.ts">DeprecatedLivekit</a></code>
- <code><a href="./src/resources/realtime-sessions.ts">RealtimeSessionCreateResponse</a></code>
- <code><a href="./src/resources/realtime-sessions.ts">RealtimeSessionRetrieveResponse</a></code>

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.12.0",
"version": "4.13.0",
"description": "The official TypeScript library for the RunwayML API",
"author": "RunwayML <dev-feedback@runwayml.com>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ import {
OrganizationRetrieveUsageResponse,
} from './resources/organization';
import {
DeprecatedLivekit,
RealtimeSessionCreateParams,
RealtimeSessionCreateResponse,
RealtimeSessionRetrieveResponse,
Expand Down Expand Up @@ -1158,6 +1159,7 @@ export declare namespace RunwayML {

export {
RealtimeSessions as RealtimeSessions,
type DeprecatedLivekit as DeprecatedLivekit,
type RealtimeSessionCreateResponse as RealtimeSessionCreateResponse,
type RealtimeSessionRetrieveResponse as RealtimeSessionRetrieveResponse,
type RealtimeSessionCreateParams as RealtimeSessionCreateParams,
Expand Down
4 changes: 3 additions & 1 deletion src/resources/avatar-videos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ export namespace AvatarVideoCreateParams {
*/
export interface Audio {
/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
* [our docs](/assets/inputs#audio) on audio inputs for more information.
*/
audio: string;

Expand Down
8 changes: 6 additions & 2 deletions src/resources/avatars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,9 @@ export interface AvatarCreateParams {
personality: string;

/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
* [our docs](/assets/inputs#images) on image inputs for more information.
*/
referenceImage: string;

Expand Down Expand Up @@ -2017,7 +2019,9 @@ export interface AvatarUpdateParams {
personality?: string;

/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
* [our docs](/assets/inputs#images) on image inputs for more information.
*/
referenceImage?: string;

Expand Down
14 changes: 10 additions & 4 deletions src/resources/character-performance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class CharacterPerformance extends APIResource {
* await client.characterPerformance.create({
* character: {
* type: 'image',
* uri: 'https://example.com/file',
* uri: 'https://example.com/image.jpg',
* },
* model: 'act_two',
* reference: {
Expand Down Expand Up @@ -100,7 +100,9 @@ export namespace CharacterPerformanceCreateParams {
type: 'image';

/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
* [our docs](/assets/inputs#images) on image inputs for more information.
*/
uri: string;
}
Expand All @@ -114,7 +116,9 @@ export namespace CharacterPerformanceCreateParams {
type: 'video';

/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
* [our docs](/assets/inputs#videos) on video inputs for more information.
*/
uri: string;
}
Expand All @@ -127,7 +131,9 @@ export namespace CharacterPerformanceCreateParams {
type: 'video';

/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
* [our docs](/assets/inputs#videos) on video inputs for more information.
*/
uri: string;
}
Expand Down
10 changes: 7 additions & 3 deletions src/resources/generate/audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export namespace AudioCreateResponse {
optimizeFor: 'cost' | 'latency' | 'quality';

/**
* The applied maximum credits per generation for this requests modality, or null
* The applied maximum credits per generation for this request's modality, or null
* if the config sets no ceiling.
*/
priceCeiling: number | null;
Expand Down Expand Up @@ -178,7 +178,9 @@ export namespace AudioCreateParams {
export namespace Input {
export interface ReferenceAudio {
/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
* [our docs](/assets/inputs#audio) on audio inputs for more information.
*/
uri: string;
}
Expand Down Expand Up @@ -251,7 +253,9 @@ export namespace AudioCreateParams {
*/
export interface ReferenceAudio {
/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
* [our docs](/assets/inputs#audio) on audio inputs for more information.
*/
audioUri: string;

Expand Down
8 changes: 5 additions & 3 deletions src/resources/generate/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export namespace ImageCreateResponse {
optimizeFor: 'cost' | 'latency' | 'quality';

/**
* The applied maximum credits per generation for this requests modality, or null
* The applied maximum credits per generation for this request's modality, or null
* if the config sets no ceiling.
*/
priceCeiling: number | null;
Expand Down Expand Up @@ -156,7 +156,7 @@ export namespace ImageCreateParams {
contentModeration?: Input.ContentModeration;

/**
* Number of images to generate (110). Models that cannot produce the exact count
* Number of images to generate (1-10). Models that cannot produce the exact count
* are excluded and cost scales with this value.
*/
outputCount?: number;
Expand Down Expand Up @@ -194,7 +194,9 @@ export namespace ImageCreateParams {

export interface ReferenceImage {
/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
* [our docs](/assets/inputs#images) on image inputs for more information.
*/
uri: string;
}
Expand Down
24 changes: 17 additions & 7 deletions src/resources/generate/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export namespace VideoCreateResponse {
optimizeFor: 'cost' | 'latency' | 'quality';

/**
* The applied maximum credits per generation for this requests modality, or null
* The applied maximum credits per generation for this request's modality, or null
* if the config sets no ceiling.
*/
priceCeiling: number | null;
Expand Down Expand Up @@ -149,7 +149,7 @@ export namespace VideoCreateParams {
* Whether to generate native audio with the video. When true, only models that
* output audio remain eligible; when false, silent models and models with an audio
* toggle remain eligible (always-on native-audio models are excluded). When
* omitted, the selected models default applies.
* omitted, the selected model's default applies.
*/
audio?: boolean;

Expand Down Expand Up @@ -226,7 +226,9 @@ export namespace VideoCreateParams {
seconds: number;

/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
* [our docs](/assets/inputs#images) on image inputs for more information.
*/
uri: string;

Expand All @@ -245,7 +247,9 @@ export namespace VideoCreateParams {
at: number;

/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
* [our docs](/assets/inputs#images) on image inputs for more information.
*/
uri: string;

Expand All @@ -262,7 +266,9 @@ export namespace VideoCreateParams {

export interface ReferenceAudio {
/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
* [our docs](/assets/inputs#audio) on audio inputs for more information.
*/
uri: string;
}
Expand All @@ -275,7 +281,9 @@ export namespace VideoCreateParams {
role: 'first' | 'last' | 'reference';

/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
* [our docs](/assets/inputs#images) on image inputs for more information.
*/
uri: string;
}
Expand All @@ -288,7 +296,9 @@ export namespace VideoCreateParams {
role: 'source' | 'reference';

/**
* A HTTPS URL.
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
* [our docs](/assets/inputs#videos) on video inputs for more information.
*/
uri: string;
}
Expand Down
Loading
Loading