diff --git a/examples/foundational/03-still-frame.py b/examples/foundational/03-still-frame.py index 5f6a6adc4..3e371da44 100644 --- a/examples/foundational/03-still-frame.py +++ b/examples/foundational/03-still-frame.py @@ -31,7 +31,9 @@ async def main(room_url): ) imagegen = FalImageGenService( - image_size="square_hd", + params=FalImageGenService.InputParams( + image_size="square_hd" + ), aiohttp_session=session, key_id=os.getenv("FAL_KEY_ID"), key_secret=os.getenv("FAL_KEY_SECRET"), diff --git a/examples/foundational/03a-image-local.py b/examples/foundational/03a-image-local.py index 46f811471..aaf686324 100644 --- a/examples/foundational/03a-image-local.py +++ b/examples/foundational/03a-image-local.py @@ -35,7 +35,9 @@ async def main(): ) imagegen = FalImageGenService( - image_size="square_hd", + params=FalImageGenService.InputParams( + image_size="square_hd" + ), aiohttp_session=session, key_id=os.getenv("FAL_KEY_ID"), key_secret=os.getenv("FAL_KEY_SECRET"), diff --git a/examples/foundational/05-sync-speech-and-image.py b/examples/foundational/05-sync-speech-and-image.py index 1d7900098..c036f06f6 100644 --- a/examples/foundational/05-sync-speech-and-image.py +++ b/examples/foundational/05-sync-speech-and-image.py @@ -85,7 +85,9 @@ async def main(room_url): model="gpt-4-turbo-preview") imagegen = FalImageGenService( - image_size="square_hd", + params=FalImageGenService.InputParams( + image_size="square_hd" + ), aiohttp_session=session, key_id=os.getenv("FAL_KEY_ID"), key_secret=os.getenv("FAL_KEY_SECRET"), diff --git a/examples/foundational/05a-local-sync-speech-and-text.py b/examples/foundational/05a-local-sync-speech-and-text.py index 5e2116496..9410f0601 100644 --- a/examples/foundational/05a-local-sync-speech-and-text.py +++ b/examples/foundational/05a-local-sync-speech-and-text.py @@ -45,7 +45,9 @@ async def main(): model="gpt-4-turbo-preview") imagegen = FalImageGenService( - image_size="1024x1024", + params=FalImageGenService.InputParams( + image_size="1024x1024" + ), aiohttp_session=session, key_id=os.getenv("FAL_KEY_ID"), key_secret=os.getenv("FAL_KEY_SECRET"), diff --git a/examples/foundational/08-bots-arguing.py b/examples/foundational/08-bots-arguing.py index dabd25117..82b7c0f81 100644 --- a/examples/foundational/08-bots-arguing.py +++ b/examples/foundational/08-bots-arguing.py @@ -51,7 +51,9 @@ async def main(room_url: str): voice_id="jBpfuIE2acCO8z3wKNLl", ) dalle = FalImageGenService( - image_size="1024x1024", + params=FalImageGenService.InputParams( + image_size="1024x1024" + ), aiohttp_session=session, key_id=os.getenv("FAL_KEY_ID"), key_secret=os.getenv("FAL_KEY_SECRET"), diff --git a/examples/starter-apps/storybot.py b/examples/starter-apps/storybot.py index e3e173086..d13c14d42 100644 --- a/examples/starter-apps/storybot.py +++ b/examples/starter-apps/storybot.py @@ -204,7 +204,9 @@ async def main(room_url: str, token): voice_id="Xb7hH8MSUJpSbSDYk0k2", ) # matilda img = FalImageGenService( - image_size="1024x1024", + params={ + image_size = "1024x1024", + }, aiohttp_session=session, key_id=os.getenv("FAL_KEY_ID"), key_secret=os.getenv("FAL_KEY_SECRET"),