Skip to content

Commit 4bd70c8

Browse files
feat(api): api update
1 parent ea14f8c commit 4bd70c8

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 10
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/luma-ai-karanganesan%2Fluma_ai-ab7a0e79cde55b79693fcafeb72a5f691be8fe87b60909f8fabf4823107ec2b7.yml
3-
openapi_spec_hash: 5e861f2431bafd7b34733b013e89a917
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/luma-ai-karanganesan%2Fluma_ai-5c94a45e1507a63d577c463ae180dc2dc199b986ceb23bf60a33cc9d7e7c1f0d.yml
3+
openapi_spec_hash: d67513010cef7bc78f23ef2f667fd714
44
config_hash: 340ab81846cdf3a6dd774f425fd612aa

src/resources/generations/generations.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,11 @@ export namespace Generation {
290290

291291
character_ref?: ImageGenerationRequest.CharacterRef;
292292

293+
/**
294+
* The format of the image
295+
*/
296+
format?: 'jpg' | 'png';
297+
293298
generation_type?: 'image';
294299

295300
image_ref?: Array<ImageGenerationRequest.ImageRef>;

src/resources/generations/image.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ export interface ImageCreateParams {
2626

2727
character_ref?: ImageCreateParams.CharacterRef;
2828

29+
/**
30+
* The format of the image
31+
*/
32+
format?: 'jpg' | 'png';
33+
2934
generation_type?: 'image';
3035

3136
image_ref?: Array<ImageCreateParams.ImageRef>;

0 commit comments

Comments
 (0)