Skip to content

Commit 037bc6e

Browse files
feat(api): api update
1 parent 712f80d commit 037bc6e

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-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: 44
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-bfa7422593036f383fcc5209e8a52705f582be9480f90747f8962a46ed5b1152.yml
3-
openapi_spec_hash: 400da476d5f86a3493bf6dacfe6826f0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-335f1c5cd2d7e7bea03eb55e784ec08401ca370c1f45be0fa107cebe4ee70421.yml
3+
openapi_spec_hash: bc9e61f5573e30f26d8df776210173a4
44
config_hash: 87a5832ab2ecefe567d22108531232f5

src/resources/images.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ export interface ImageGenerateParams {
115115
*/
116116
output_format?: 'jpeg' | 'png';
117117

118+
/**
119+
* An array of image URLs that guide the overall appearance and style of the
120+
* generated image. These reference images influence the visual characteristics
121+
* consistently across the generation.
122+
*/
123+
reference_images?: Array<string>;
124+
118125
/**
119126
* Format of the image response. Can be either a base64 string or a URL.
120127
*/

tests/api-resources/images.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ describe('resource images', () => {
3434
n: 0,
3535
negative_prompt: 'negative_prompt',
3636
output_format: 'jpeg',
37+
reference_images: ['string'],
3738
response_format: 'base64',
3839
seed: 0,
3940
steps: 0,

0 commit comments

Comments
 (0)