Skip to content

Commit 575ffcf

Browse files
feat(api): api update
1 parent c3a0886 commit 575ffcf

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
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: 13
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/luma-ai-karanganesan%2Fluma_ai-3eb911b4125c57ada1096eaeb4cadab8ac71ac4f6e5cf178209ebd1a3d7f826a.yml
3-
openapi_spec_hash: 69a6757bf5c41f96ae0694e0b9c86491
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/luma-ai-karanganesan%2Fluma_ai-965c8e97a488f5378849ba7564b44a272c141329700a6af65b24a4ea408880de.yml
3+
openapi_spec_hash: 7ba050249c3c434b4a4632c41c8de405
44
config_hash: 8017bd140eecc6eedb1d788d7b0edb3b

src/lumaai/resources/generations/video.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def modify(
135135
"reimagine_2",
136136
"reimagine_3",
137137
],
138-
model: Literal["ray-2"],
138+
model: Literal["ray-2", "ray-flash-2"],
139139
callback_url: str | NotGiven = NOT_GIVEN,
140140
first_frame: video_modify_params.FirstFrame | NotGiven = NOT_GIVEN,
141141
prompt: str | NotGiven = NOT_GIVEN,
@@ -399,7 +399,7 @@ async def modify(
399399
"reimagine_2",
400400
"reimagine_3",
401401
],
402-
model: Literal["ray-2"],
402+
model: Literal["ray-2", "ray-flash-2"],
403403
callback_url: str | NotGiven = NOT_GIVEN,
404404
first_frame: video_modify_params.FirstFrame | NotGiven = NOT_GIVEN,
405405
prompt: str | NotGiven = NOT_GIVEN,

src/lumaai/types/generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ class RequestModifyVideoRequest(BaseModel):
371371
]
372372
"""The mode of the modify video"""
373373

374-
model: Literal["ray-2"]
374+
model: Literal["ray-2", "ray-flash-2"]
375375
"""The model used for the modify video"""
376376

377377
callback_url: Optional[str] = None

src/lumaai/types/generations/video_modify_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class VideoModifyParams(TypedDict, total=False):
2828
]
2929
"""The mode of the modify video"""
3030

31-
model: Required[Literal["ray-2"]]
31+
model: Required[Literal["ray-2", "ray-flash-2"]]
3232
"""The model used for the modify video"""
3333

3434
callback_url: str

0 commit comments

Comments
 (0)