@@ -35,7 +35,7 @@ client = RunwayML(
35
35
image_to_video = client.image_to_video.create(
36
36
model = " gen4_turbo" ,
37
37
prompt_image = " https://example.com/assets/bunny.jpg" ,
38
- ratio = " 1280:720 " ,
38
+ ratio = " 1280:768 " ,
39
39
prompt_text = " The bunny is eating a carrot" ,
40
40
)
41
41
print (image_to_video.id)
@@ -64,7 +64,7 @@ async def main() -> None:
64
64
image_to_video = await client.image_to_video.create(
65
65
model = " gen4_turbo" ,
66
66
prompt_image = " https://example.com/assets/bunny.jpg" ,
67
- ratio = " 1280:720 " ,
67
+ ratio = " 1280:768 " ,
68
68
prompt_text = " The bunny is eating a carrot" ,
69
69
)
70
70
print (image_to_video.id)
@@ -102,7 +102,7 @@ async def main() -> None:
102
102
image_to_video = await client.image_to_video.create(
103
103
model = " gen4_turbo" ,
104
104
prompt_image = " https://example.com/assets/bunny.jpg" ,
105
- ratio = " 1280:720 " ,
105
+ ratio = " 1280:768 " ,
106
106
prompt_text = " The bunny is eating a carrot" ,
107
107
)
108
108
print (image_to_video.id)
156
156
client.image_to_video.create(
157
157
model = " gen4_turbo" ,
158
158
prompt_image = " https://example.com/assets/bunny.jpg" ,
159
- ratio = " 1280:720 " ,
159
+ ratio = " 1280:768 " ,
160
160
prompt_text = " The bunny is eating a carrot" ,
161
161
)
162
162
except runwayml.APIConnectionError as e:
@@ -204,7 +204,7 @@ client = RunwayML(
204
204
client.with_options(max_retries = 5 ).image_to_video.create(
205
205
model = " gen4_turbo" ,
206
206
prompt_image = " https://example.com/assets/bunny.jpg" ,
207
- ratio = " 1280:720 " ,
207
+ ratio = " 1280:768 " ,
208
208
prompt_text = " The bunny is eating a carrot" ,
209
209
)
210
210
```
@@ -232,7 +232,7 @@ client = RunwayML(
232
232
client.with_options(timeout = 5.0 ).image_to_video.create(
233
233
model = " gen4_turbo" ,
234
234
prompt_image = " https://example.com/assets/bunny.jpg" ,
235
- ratio = " 1280:720 " ,
235
+ ratio = " 1280:768 " ,
236
236
prompt_text = " The bunny is eating a carrot" ,
237
237
)
238
238
```
@@ -278,7 +278,7 @@ client = RunwayML()
278
278
response = client.image_to_video.with_raw_response.create(
279
279
model = " gen4_turbo" ,
280
280
prompt_image = " https://example.com/assets/bunny.jpg" ,
281
- ratio = " 1280:720 " ,
281
+ ratio = " 1280:768 " ,
282
282
prompt_text = " The bunny is eating a carrot" ,
283
283
)
284
284
print (response.headers.get(' X-My-Header' ))
@@ -301,7 +301,7 @@ To stream the response body, use `.with_streaming_response` instead, which requi
301
301
with client.image_to_video.with_streaming_response.create(
302
302
model = " gen4_turbo" ,
303
303
prompt_image = " https://example.com/assets/bunny.jpg" ,
304
- ratio = " 1280:720 " ,
304
+ ratio = " 1280:768 " ,
305
305
prompt_text = " The bunny is eating a carrot" ,
306
306
) as response:
307
307
print (response.headers.get(" X-My-Header" ))
0 commit comments