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.4.0"
".": "4.5.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: 50
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-656482624bcaf91bbc524b761d1b3d9a97f84ea561a5b9f84db4122f38f342d0.yml
openapi_spec_hash: a6f0749dba9a9e3a46e75216b4d14467
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-23ffd494704e138fa0661fe69710c8cb20ba5881471ab1e13cdbf1461c2d6f49.yml
openapi_spec_hash: 26b75f2481835a63237b29404c3b56f1
config_hash: 955a0e451964a44778c5c0f54ca1c994
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.5.0 (2026-07-06)

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

### Features

* **api:** add outputCount and quality to marketing stock image ([aa5085b](https://github.com/runwayml/sdk-node/commit/aa5085beaa42b0ca67d83dc5fa02b8634b970f4c))

## 4.4.0 (2026-06-26)

Full Changelog: [v4.3.0...v4.4.0](https://github.com/runwayml/sdk-node/compare/v4.3.0...v4.4.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.4.0",
"version": "4.5.0",
"description": "The official TypeScript library for the RunwayML API",
"author": "RunwayML <dev-feedback@runwayml.com>",
"types": "dist/index.d.ts",
Expand Down
12 changes: 12 additions & 0 deletions src/resources/recipes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,18 @@ export interface RecipeMarketingStockImageParams {
*/
version: '2026-06' | 'unsafe-latest';

/**
* The number of images to generate (1–4). Defaults to 4. Increasing this number
* affects credits consumed.
*/
outputCount?: number;

/**
* GPT Image 2 rendering quality (`low`, `medium`, or `high`). Lower settings are
* faster and use fewer credits; `high` (default) is slowest and highest fidelity.
*/
quality?: 'low' | 'medium' | 'high';

/**
* Optional brand logo image to guide the generated marketing stock image. See
* [our docs](/assets/inputs#images) on image inputs.
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.4.0'; // x-release-please-version
export const VERSION = '4.5.0'; // x-release-please-version
2 changes: 2 additions & 0 deletions tests/api-resources/recipes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ describe('resource recipes', () => {
const response = await client.recipes.marketingStockImage({
prompt: 'x',
version: '2026-06',
outputCount: 1,
quality: 'low',
referenceImage: { uri: 'https://example.com/file' },
});
});
Expand Down
Loading