From 57e5ffbbbdc657b8decd1f4187d99c0f94bfb46d Mon Sep 17 00:00:00 2001 From: Kaustubh Maske Patil <37668193+nikochiko@users.noreply.github.com> Date: Wed, 11 Sep 2024 18:42:26 +0530 Subject: [PATCH] fix types for method arguments with vim macros --- src/gooey/client.py | 692 ++++++++++++++++++++++---------------------- 1 file changed, 346 insertions(+), 346 deletions(-) diff --git a/src/gooey/client.py b/src/gooey/client.py index a727019..d9c90dc 100644 --- a/src/gooey/client.py +++ b/src/gooey/client.py @@ -371,36 +371,36 @@ def qr_code( *, text_prompt: str, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[QrCodeRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - qr_code_data: typing.Optional[str] = None, - qr_code_input_image: typing.Optional[core.File] = None, - qr_code_vcard: typing.Optional[QrCodeRequestQrCodeVcard] = None, - qr_code_file: typing.Optional[core.File] = None, - use_url_shortener: typing.Optional[bool] = None, - negative_prompt: typing.Optional[str] = None, - image_prompt: typing.Optional[str] = None, + functions: typing.Optional[typing.List[QrCodeRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + qr_code_data: typing.Optional[str] = OMIT, + qr_code_input_image: typing.Optional[core.File] = OMIT, + qr_code_vcard: typing.Optional[QrCodeRequestQrCodeVcard] = OMIT, + qr_code_file: typing.Optional[core.File] = OMIT, + use_url_shortener: typing.Optional[bool] = OMIT, + negative_prompt: typing.Optional[str] = OMIT, + image_prompt: typing.Optional[str] = OMIT, image_prompt_controlnet_models: typing.Optional[ typing.List[QrCodeRequestImagePromptControlnetModelsItem] - ] = None, - image_prompt_strength: typing.Optional[float] = None, - image_prompt_scale: typing.Optional[float] = None, - image_prompt_pos_x: typing.Optional[float] = None, - image_prompt_pos_y: typing.Optional[float] = None, - selected_model: typing.Optional[QrCodeRequestSelectedModel] = None, - selected_controlnet_model: typing.Optional[typing.List[QrCodeRequestSelectedControlnetModelItem]] = None, - output_width: typing.Optional[int] = None, - output_height: typing.Optional[int] = None, - guidance_scale: typing.Optional[float] = None, - controlnet_conditioning_scale: typing.Optional[typing.List[float]] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[int] = None, - scheduler: typing.Optional[QrCodeRequestScheduler] = None, - seed: typing.Optional[int] = None, - obj_scale: typing.Optional[float] = None, - obj_pos_x: typing.Optional[float] = None, - obj_pos_y: typing.Optional[float] = None, - settings: typing.Optional[RunSettings] = None, + ] = OMIT, + image_prompt_strength: typing.Optional[float] = OMIT, + image_prompt_scale: typing.Optional[float] = OMIT, + image_prompt_pos_x: typing.Optional[float] = OMIT, + image_prompt_pos_y: typing.Optional[float] = OMIT, + selected_model: typing.Optional[QrCodeRequestSelectedModel] = OMIT, + selected_controlnet_model: typing.Optional[typing.List[QrCodeRequestSelectedControlnetModelItem]] = OMIT, + output_width: typing.Optional[int] = OMIT, + output_height: typing.Optional[int] = OMIT, + guidance_scale: typing.Optional[float] = OMIT, + controlnet_conditioning_scale: typing.Optional[typing.List[float]] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[int] = OMIT, + scheduler: typing.Optional[QrCodeRequestScheduler] = OMIT, + seed: typing.Optional[int] = OMIT, + obj_scale: typing.Optional[float] = OMIT, + obj_pos_x: typing.Optional[float] = OMIT, + obj_pos_y: typing.Optional[float] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> QrCodeGeneratorPageOutput: """ @@ -1268,10 +1268,10 @@ def bulk_run( input_columns: typing.Dict[str, str], output_columns: typing.Dict[str, str], example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[BulkRunRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - eval_urls: typing.Optional[typing.List[str]] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[BulkRunRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + eval_urls: typing.Optional[typing.List[str]] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> BulkRunnerPageOutput: """ @@ -1401,21 +1401,21 @@ def synthesize_data( *, documents: typing.List[core.File], example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[SynthesizeDataRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - sheet_url: typing.Optional[core.File] = None, - selected_asr_model: typing.Optional[SynthesizeDataRequestSelectedAsrModel] = None, - google_translate_target: typing.Optional[str] = None, - glossary_document: typing.Optional[core.File] = None, - task_instructions: typing.Optional[str] = None, - selected_model: typing.Optional[SynthesizeDataRequestSelectedModel] = None, - avoid_repetition: typing.Optional[bool] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[float] = None, - max_tokens: typing.Optional[int] = None, - sampling_temperature: typing.Optional[float] = None, - response_format_type: typing.Optional[SynthesizeDataRequestResponseFormatType] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[SynthesizeDataRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + sheet_url: typing.Optional[core.File] = OMIT, + selected_asr_model: typing.Optional[SynthesizeDataRequestSelectedAsrModel] = OMIT, + google_translate_target: typing.Optional[str] = OMIT, + glossary_document: typing.Optional[core.File] = OMIT, + task_instructions: typing.Optional[str] = OMIT, + selected_model: typing.Optional[SynthesizeDataRequestSelectedModel] = OMIT, + avoid_repetition: typing.Optional[bool] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[float] = OMIT, + max_tokens: typing.Optional[int] = OMIT, + sampling_temperature: typing.Optional[float] = OMIT, + response_format_type: typing.Optional[SynthesizeDataRequestResponseFormatType] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> DocExtractPageOutput: """ @@ -1860,21 +1860,21 @@ def doc_summary( *, documents: typing.List[core.File], example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[DocSummaryRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - task_instructions: typing.Optional[str] = None, - merge_instructions: typing.Optional[str] = None, - selected_model: typing.Optional[DocSummaryRequestSelectedModel] = None, - chain_type: typing.Optional[typing.Literal["map_reduce"]] = None, - selected_asr_model: typing.Optional[DocSummaryRequestSelectedAsrModel] = None, - google_translate_target: typing.Optional[str] = None, - avoid_repetition: typing.Optional[bool] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[float] = None, - max_tokens: typing.Optional[int] = None, - sampling_temperature: typing.Optional[float] = None, - response_format_type: typing.Optional[DocSummaryRequestResponseFormatType] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[DocSummaryRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + task_instructions: typing.Optional[str] = OMIT, + merge_instructions: typing.Optional[str] = OMIT, + selected_model: typing.Optional[DocSummaryRequestSelectedModel] = OMIT, + chain_type: typing.Optional[typing.Literal["map_reduce"]] = OMIT, + selected_asr_model: typing.Optional[DocSummaryRequestSelectedAsrModel] = OMIT, + google_translate_target: typing.Optional[str] = OMIT, + avoid_repetition: typing.Optional[bool] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[float] = OMIT, + max_tokens: typing.Optional[int] = OMIT, + sampling_temperature: typing.Optional[float] = OMIT, + response_format_type: typing.Optional[DocSummaryRequestResponseFormatType] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> DocSummaryPageOutput: """ @@ -2011,34 +2011,34 @@ def lipsync_tts( *, text_prompt: str, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[LipsyncTtsRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - tts_provider: typing.Optional[LipsyncTtsRequestTtsProvider] = None, - uberduck_voice_name: typing.Optional[str] = None, - uberduck_speaking_rate: typing.Optional[float] = None, - google_voice_name: typing.Optional[str] = None, - google_speaking_rate: typing.Optional[float] = None, - google_pitch: typing.Optional[float] = None, - bark_history_prompt: typing.Optional[str] = None, - elevenlabs_voice_name: typing.Optional[str] = None, - elevenlabs_api_key: typing.Optional[str] = None, - elevenlabs_voice_id: typing.Optional[str] = None, - elevenlabs_model: typing.Optional[str] = None, - elevenlabs_stability: typing.Optional[float] = None, - elevenlabs_similarity_boost: typing.Optional[float] = None, - elevenlabs_style: typing.Optional[float] = None, - elevenlabs_speaker_boost: typing.Optional[bool] = None, - azure_voice_name: typing.Optional[str] = None, - openai_voice_name: typing.Optional[LipsyncTtsRequestOpenaiVoiceName] = None, - openai_tts_model: typing.Optional[LipsyncTtsRequestOpenaiTtsModel] = None, - input_face: typing.Optional[core.File] = None, - face_padding_top: typing.Optional[int] = None, - face_padding_bottom: typing.Optional[int] = None, - face_padding_left: typing.Optional[int] = None, - face_padding_right: typing.Optional[int] = None, - sadtalker_settings: typing.Optional[LipsyncTtsRequestSadtalkerSettings] = None, - selected_model: typing.Optional[LipsyncTtsRequestSelectedModel] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[LipsyncTtsRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + tts_provider: typing.Optional[LipsyncTtsRequestTtsProvider] = OMIT, + uberduck_voice_name: typing.Optional[str] = OMIT, + uberduck_speaking_rate: typing.Optional[float] = OMIT, + google_voice_name: typing.Optional[str] = OMIT, + google_speaking_rate: typing.Optional[float] = OMIT, + google_pitch: typing.Optional[float] = OMIT, + bark_history_prompt: typing.Optional[str] = OMIT, + elevenlabs_voice_name: typing.Optional[str] = OMIT, + elevenlabs_api_key: typing.Optional[str] = OMIT, + elevenlabs_voice_id: typing.Optional[str] = OMIT, + elevenlabs_model: typing.Optional[str] = OMIT, + elevenlabs_stability: typing.Optional[float] = OMIT, + elevenlabs_similarity_boost: typing.Optional[float] = OMIT, + elevenlabs_style: typing.Optional[float] = OMIT, + elevenlabs_speaker_boost: typing.Optional[bool] = OMIT, + azure_voice_name: typing.Optional[str] = OMIT, + openai_voice_name: typing.Optional[LipsyncTtsRequestOpenaiVoiceName] = OMIT, + openai_tts_model: typing.Optional[LipsyncTtsRequestOpenaiTtsModel] = OMIT, + input_face: typing.Optional[core.File] = OMIT, + face_padding_top: typing.Optional[int] = OMIT, + face_padding_bottom: typing.Optional[int] = OMIT, + face_padding_left: typing.Optional[int] = OMIT, + face_padding_right: typing.Optional[int] = OMIT, + sadtalker_settings: typing.Optional[LipsyncTtsRequestSadtalkerSettings] = OMIT, + selected_model: typing.Optional[LipsyncTtsRequestSelectedModel] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LipsyncTtsPageOutput: """ @@ -2392,17 +2392,17 @@ def speech_recognition( *, documents: typing.List[core.File], example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[SpeechRecognitionRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - selected_model: typing.Optional[SpeechRecognitionRequestSelectedModel] = None, - language: typing.Optional[str] = None, - translation_model: typing.Optional[SpeechRecognitionRequestTranslationModel] = None, - output_format: typing.Optional[SpeechRecognitionRequestOutputFormat] = None, - google_translate_target: typing.Optional[str] = None, - translation_source: typing.Optional[str] = None, - translation_target: typing.Optional[str] = None, - glossary_document: typing.Optional[core.File] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[SpeechRecognitionRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + selected_model: typing.Optional[SpeechRecognitionRequestSelectedModel] = OMIT, + language: typing.Optional[str] = OMIT, + translation_model: typing.Optional[SpeechRecognitionRequestTranslationModel] = OMIT, + output_format: typing.Optional[SpeechRecognitionRequestOutputFormat] = OMIT, + google_translate_target: typing.Optional[str] = OMIT, + translation_source: typing.Optional[str] = OMIT, + translation_target: typing.Optional[str] = OMIT, + glossary_document: typing.Optional[core.File] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsrPageOutput: """ @@ -2662,14 +2662,14 @@ def translate( self, *, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[TranslateRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - texts: typing.Optional[typing.List[str]] = None, - selected_model: typing.Optional[TranslateRequestSelectedModel] = None, - translation_source: typing.Optional[str] = None, - translation_target: typing.Optional[str] = None, - glossary_document: typing.Optional[core.File] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[TranslateRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + texts: typing.Optional[typing.List[str]] = OMIT, + selected_model: typing.Optional[TranslateRequestSelectedModel] = OMIT, + translation_source: typing.Optional[str] = OMIT, + translation_target: typing.Optional[str] = OMIT, + glossary_document: typing.Optional[core.File] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> TranslationPageOutput: """ @@ -2782,22 +2782,22 @@ def remix_image( *, input_image: core.File, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[RemixImageRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - text_prompt: typing.Optional[str] = None, - selected_model: typing.Optional[RemixImageRequestSelectedModel] = None, - selected_controlnet_model: typing.Optional[RemixImageRequestSelectedControlnetModel] = None, - negative_prompt: typing.Optional[str] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[int] = None, - output_width: typing.Optional[int] = None, - output_height: typing.Optional[int] = None, - guidance_scale: typing.Optional[float] = None, - prompt_strength: typing.Optional[float] = None, - controlnet_conditioning_scale: typing.Optional[typing.List[float]] = None, - seed: typing.Optional[int] = None, - image_guidance_scale: typing.Optional[float] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[RemixImageRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + text_prompt: typing.Optional[str] = OMIT, + selected_model: typing.Optional[RemixImageRequestSelectedModel] = OMIT, + selected_controlnet_model: typing.Optional[RemixImageRequestSelectedControlnetModel] = OMIT, + negative_prompt: typing.Optional[str] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[int] = OMIT, + output_width: typing.Optional[int] = OMIT, + output_height: typing.Optional[int] = OMIT, + guidance_scale: typing.Optional[float] = OMIT, + prompt_strength: typing.Optional[float] = OMIT, + controlnet_conditioning_scale: typing.Optional[typing.List[float]] = OMIT, + seed: typing.Optional[int] = OMIT, + image_guidance_scale: typing.Optional[float] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> Img2ImgPageOutput: """ @@ -3096,22 +3096,22 @@ def product_image( input_image: core.File, text_prompt: str, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[ProductImageRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - obj_scale: typing.Optional[float] = None, - obj_pos_x: typing.Optional[float] = None, - obj_pos_y: typing.Optional[float] = None, - mask_threshold: typing.Optional[float] = None, - selected_model: typing.Optional[ProductImageRequestSelectedModel] = None, - negative_prompt: typing.Optional[str] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[int] = None, - output_width: typing.Optional[int] = None, - output_height: typing.Optional[int] = None, - guidance_scale: typing.Optional[float] = None, - sd2upscaling: typing.Optional[bool] = None, - seed: typing.Optional[int] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[ProductImageRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + obj_scale: typing.Optional[float] = OMIT, + obj_pos_x: typing.Optional[float] = OMIT, + obj_pos_y: typing.Optional[float] = OMIT, + mask_threshold: typing.Optional[float] = OMIT, + selected_model: typing.Optional[ProductImageRequestSelectedModel] = OMIT, + negative_prompt: typing.Optional[str] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[int] = OMIT, + output_width: typing.Optional[int] = OMIT, + output_height: typing.Optional[int] = OMIT, + guidance_scale: typing.Optional[float] = OMIT, + sd2upscaling: typing.Optional[bool] = OMIT, + seed: typing.Optional[int] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> ObjectInpaintingPageOutput: """ @@ -3257,21 +3257,21 @@ def portrait( input_image: core.File, text_prompt: str, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[PortraitRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - face_scale: typing.Optional[float] = None, - face_pos_x: typing.Optional[float] = None, - face_pos_y: typing.Optional[float] = None, - selected_model: typing.Optional[PortraitRequestSelectedModel] = None, - negative_prompt: typing.Optional[str] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[int] = None, - upscale_factor: typing.Optional[float] = None, - output_width: typing.Optional[int] = None, - output_height: typing.Optional[int] = None, - guidance_scale: typing.Optional[float] = None, - seed: typing.Optional[int] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[PortraitRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + face_scale: typing.Optional[float] = OMIT, + face_pos_x: typing.Optional[float] = OMIT, + face_pos_y: typing.Optional[float] = OMIT, + selected_model: typing.Optional[PortraitRequestSelectedModel] = OMIT, + negative_prompt: typing.Optional[str] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[int] = OMIT, + upscale_factor: typing.Optional[float] = OMIT, + output_width: typing.Optional[int] = OMIT, + output_height: typing.Optional[int] = OMIT, + guidance_scale: typing.Optional[float] = OMIT, + seed: typing.Optional[int] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FaceInpaintingPageOutput: """ @@ -3756,16 +3756,16 @@ def remove_background( *, input_image: core.File, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[RemoveBackgroundRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - selected_model: typing.Optional[RemoveBackgroundRequestSelectedModel] = None, - mask_threshold: typing.Optional[float] = None, - rect_persepective_transform: typing.Optional[bool] = None, - reflection_opacity: typing.Optional[float] = None, - obj_scale: typing.Optional[float] = None, - obj_pos_x: typing.Optional[float] = None, - obj_pos_y: typing.Optional[float] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[RemoveBackgroundRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + selected_model: typing.Optional[RemoveBackgroundRequestSelectedModel] = OMIT, + mask_threshold: typing.Optional[float] = OMIT, + rect_persepective_transform: typing.Optional[bool] = OMIT, + reflection_opacity: typing.Optional[float] = OMIT, + obj_scale: typing.Optional[float] = OMIT, + obj_pos_x: typing.Optional[float] = OMIT, + obj_pos_y: typing.Optional[float] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> ImageSegmentationPageOutput: """ @@ -3887,13 +3887,13 @@ def upscale( *, scale: int, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[UpscaleRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - input_image: typing.Optional[core.File] = None, - input_video: typing.Optional[core.File] = None, - selected_models: typing.Optional[typing.List[UpscaleRequestSelectedModelsItem]] = None, - selected_bg_model: typing.Optional[typing.Literal["real_esrgan_x2"]] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[UpscaleRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + input_image: typing.Optional[core.File] = OMIT, + input_video: typing.Optional[core.File] = OMIT, + selected_models: typing.Optional[typing.List[UpscaleRequestSelectedModelsItem]] = OMIT, + selected_bg_model: typing.Optional[typing.Literal["real_esrgan_x2"]] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CompareUpscalerPageOutput: """ @@ -4582,36 +4582,36 @@ async def qr_code( *, text_prompt: str, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[QrCodeRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - qr_code_data: typing.Optional[str] = None, - qr_code_input_image: typing.Optional[core.File] = None, - qr_code_vcard: typing.Optional[QrCodeRequestQrCodeVcard] = None, - qr_code_file: typing.Optional[core.File] = None, - use_url_shortener: typing.Optional[bool] = None, - negative_prompt: typing.Optional[str] = None, - image_prompt: typing.Optional[str] = None, + functions: typing.Optional[typing.List[QrCodeRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + qr_code_data: typing.Optional[str] = OMIT, + qr_code_input_image: typing.Optional[core.File] = OMIT, + qr_code_vcard: typing.Optional[QrCodeRequestQrCodeVcard] = OMIT, + qr_code_file: typing.Optional[core.File] = OMIT, + use_url_shortener: typing.Optional[bool] = OMIT, + negative_prompt: typing.Optional[str] = OMIT, + image_prompt: typing.Optional[str] = OMIT, image_prompt_controlnet_models: typing.Optional[ typing.List[QrCodeRequestImagePromptControlnetModelsItem] - ] = None, - image_prompt_strength: typing.Optional[float] = None, - image_prompt_scale: typing.Optional[float] = None, - image_prompt_pos_x: typing.Optional[float] = None, - image_prompt_pos_y: typing.Optional[float] = None, - selected_model: typing.Optional[QrCodeRequestSelectedModel] = None, - selected_controlnet_model: typing.Optional[typing.List[QrCodeRequestSelectedControlnetModelItem]] = None, - output_width: typing.Optional[int] = None, - output_height: typing.Optional[int] = None, - guidance_scale: typing.Optional[float] = None, - controlnet_conditioning_scale: typing.Optional[typing.List[float]] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[int] = None, - scheduler: typing.Optional[QrCodeRequestScheduler] = None, - seed: typing.Optional[int] = None, - obj_scale: typing.Optional[float] = None, - obj_pos_x: typing.Optional[float] = None, - obj_pos_y: typing.Optional[float] = None, - settings: typing.Optional[RunSettings] = None, + ] = OMIT, + image_prompt_strength: typing.Optional[float] = OMIT, + image_prompt_scale: typing.Optional[float] = OMIT, + image_prompt_pos_x: typing.Optional[float] = OMIT, + image_prompt_pos_y: typing.Optional[float] = OMIT, + selected_model: typing.Optional[QrCodeRequestSelectedModel] = OMIT, + selected_controlnet_model: typing.Optional[typing.List[QrCodeRequestSelectedControlnetModelItem]] = OMIT, + output_width: typing.Optional[int] = OMIT, + output_height: typing.Optional[int] = OMIT, + guidance_scale: typing.Optional[float] = OMIT, + controlnet_conditioning_scale: typing.Optional[typing.List[float]] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[int] = OMIT, + scheduler: typing.Optional[QrCodeRequestScheduler] = OMIT, + seed: typing.Optional[int] = OMIT, + obj_scale: typing.Optional[float] = OMIT, + obj_pos_x: typing.Optional[float] = OMIT, + obj_pos_y: typing.Optional[float] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> QrCodeGeneratorPageOutput: """ @@ -5519,10 +5519,10 @@ async def bulk_run( input_columns: typing.Dict[str, str], output_columns: typing.Dict[str, str], example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[BulkRunRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - eval_urls: typing.Optional[typing.List[str]] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[BulkRunRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + eval_urls: typing.Optional[typing.List[str]] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> BulkRunnerPageOutput: """ @@ -5660,21 +5660,21 @@ async def synthesize_data( *, documents: typing.List[core.File], example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[SynthesizeDataRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - sheet_url: typing.Optional[core.File] = None, - selected_asr_model: typing.Optional[SynthesizeDataRequestSelectedAsrModel] = None, - google_translate_target: typing.Optional[str] = None, - glossary_document: typing.Optional[core.File] = None, - task_instructions: typing.Optional[str] = None, - selected_model: typing.Optional[SynthesizeDataRequestSelectedModel] = None, - avoid_repetition: typing.Optional[bool] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[float] = None, - max_tokens: typing.Optional[int] = None, - sampling_temperature: typing.Optional[float] = None, - response_format_type: typing.Optional[SynthesizeDataRequestResponseFormatType] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[SynthesizeDataRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + sheet_url: typing.Optional[core.File] = OMIT, + selected_asr_model: typing.Optional[SynthesizeDataRequestSelectedAsrModel] = OMIT, + google_translate_target: typing.Optional[str] = OMIT, + glossary_document: typing.Optional[core.File] = OMIT, + task_instructions: typing.Optional[str] = OMIT, + selected_model: typing.Optional[SynthesizeDataRequestSelectedModel] = OMIT, + avoid_repetition: typing.Optional[bool] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[float] = OMIT, + max_tokens: typing.Optional[int] = OMIT, + sampling_temperature: typing.Optional[float] = OMIT, + response_format_type: typing.Optional[SynthesizeDataRequestResponseFormatType] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> DocExtractPageOutput: """ @@ -6143,21 +6143,21 @@ async def doc_summary( *, documents: typing.List[core.File], example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[DocSummaryRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - task_instructions: typing.Optional[str] = None, - merge_instructions: typing.Optional[str] = None, - selected_model: typing.Optional[DocSummaryRequestSelectedModel] = None, - chain_type: typing.Optional[typing.Literal["map_reduce"]] = None, - selected_asr_model: typing.Optional[DocSummaryRequestSelectedAsrModel] = None, - google_translate_target: typing.Optional[str] = None, - avoid_repetition: typing.Optional[bool] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[float] = None, - max_tokens: typing.Optional[int] = None, - sampling_temperature: typing.Optional[float] = None, - response_format_type: typing.Optional[DocSummaryRequestResponseFormatType] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[DocSummaryRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + task_instructions: typing.Optional[str] = OMIT, + merge_instructions: typing.Optional[str] = OMIT, + selected_model: typing.Optional[DocSummaryRequestSelectedModel] = OMIT, + chain_type: typing.Optional[typing.Literal["map_reduce"]] = OMIT, + selected_asr_model: typing.Optional[DocSummaryRequestSelectedAsrModel] = OMIT, + google_translate_target: typing.Optional[str] = OMIT, + avoid_repetition: typing.Optional[bool] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[float] = OMIT, + max_tokens: typing.Optional[int] = OMIT, + sampling_temperature: typing.Optional[float] = OMIT, + response_format_type: typing.Optional[DocSummaryRequestResponseFormatType] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> DocSummaryPageOutput: """ @@ -6302,34 +6302,34 @@ async def lipsync_tts( *, text_prompt: str, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[LipsyncTtsRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - tts_provider: typing.Optional[LipsyncTtsRequestTtsProvider] = None, - uberduck_voice_name: typing.Optional[str] = None, - uberduck_speaking_rate: typing.Optional[float] = None, - google_voice_name: typing.Optional[str] = None, - google_speaking_rate: typing.Optional[float] = None, - google_pitch: typing.Optional[float] = None, - bark_history_prompt: typing.Optional[str] = None, - elevenlabs_voice_name: typing.Optional[str] = None, - elevenlabs_api_key: typing.Optional[str] = None, - elevenlabs_voice_id: typing.Optional[str] = None, - elevenlabs_model: typing.Optional[str] = None, - elevenlabs_stability: typing.Optional[float] = None, - elevenlabs_similarity_boost: typing.Optional[float] = None, - elevenlabs_style: typing.Optional[float] = None, - elevenlabs_speaker_boost: typing.Optional[bool] = None, - azure_voice_name: typing.Optional[str] = None, - openai_voice_name: typing.Optional[LipsyncTtsRequestOpenaiVoiceName] = None, - openai_tts_model: typing.Optional[LipsyncTtsRequestOpenaiTtsModel] = None, - input_face: typing.Optional[core.File] = None, - face_padding_top: typing.Optional[int] = None, - face_padding_bottom: typing.Optional[int] = None, - face_padding_left: typing.Optional[int] = None, - face_padding_right: typing.Optional[int] = None, - sadtalker_settings: typing.Optional[LipsyncTtsRequestSadtalkerSettings] = None, - selected_model: typing.Optional[LipsyncTtsRequestSelectedModel] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[LipsyncTtsRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + tts_provider: typing.Optional[LipsyncTtsRequestTtsProvider] = OMIT, + uberduck_voice_name: typing.Optional[str] = OMIT, + uberduck_speaking_rate: typing.Optional[float] = OMIT, + google_voice_name: typing.Optional[str] = OMIT, + google_speaking_rate: typing.Optional[float] = OMIT, + google_pitch: typing.Optional[float] = OMIT, + bark_history_prompt: typing.Optional[str] = OMIT, + elevenlabs_voice_name: typing.Optional[str] = OMIT, + elevenlabs_api_key: typing.Optional[str] = OMIT, + elevenlabs_voice_id: typing.Optional[str] = OMIT, + elevenlabs_model: typing.Optional[str] = OMIT, + elevenlabs_stability: typing.Optional[float] = OMIT, + elevenlabs_similarity_boost: typing.Optional[float] = OMIT, + elevenlabs_style: typing.Optional[float] = OMIT, + elevenlabs_speaker_boost: typing.Optional[bool] = OMIT, + azure_voice_name: typing.Optional[str] = OMIT, + openai_voice_name: typing.Optional[LipsyncTtsRequestOpenaiVoiceName] = OMIT, + openai_tts_model: typing.Optional[LipsyncTtsRequestOpenaiTtsModel] = OMIT, + input_face: typing.Optional[core.File] = OMIT, + face_padding_top: typing.Optional[int] = OMIT, + face_padding_bottom: typing.Optional[int] = OMIT, + face_padding_left: typing.Optional[int] = OMIT, + face_padding_right: typing.Optional[int] = OMIT, + sadtalker_settings: typing.Optional[LipsyncTtsRequestSadtalkerSettings] = OMIT, + selected_model: typing.Optional[LipsyncTtsRequestSelectedModel] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LipsyncTtsPageOutput: """ @@ -6699,17 +6699,17 @@ async def speech_recognition( *, documents: typing.List[core.File], example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[SpeechRecognitionRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - selected_model: typing.Optional[SpeechRecognitionRequestSelectedModel] = None, - language: typing.Optional[str] = None, - translation_model: typing.Optional[SpeechRecognitionRequestTranslationModel] = None, - output_format: typing.Optional[SpeechRecognitionRequestOutputFormat] = None, - google_translate_target: typing.Optional[str] = None, - translation_source: typing.Optional[str] = None, - translation_target: typing.Optional[str] = None, - glossary_document: typing.Optional[core.File] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[SpeechRecognitionRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + selected_model: typing.Optional[SpeechRecognitionRequestSelectedModel] = OMIT, + language: typing.Optional[str] = OMIT, + translation_model: typing.Optional[SpeechRecognitionRequestTranslationModel] = OMIT, + output_format: typing.Optional[SpeechRecognitionRequestOutputFormat] = OMIT, + google_translate_target: typing.Optional[str] = OMIT, + translation_source: typing.Optional[str] = OMIT, + translation_target: typing.Optional[str] = OMIT, + glossary_document: typing.Optional[core.File] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsrPageOutput: """ @@ -6985,14 +6985,14 @@ async def translate( self, *, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[TranslateRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - texts: typing.Optional[typing.List[str]] = None, - selected_model: typing.Optional[TranslateRequestSelectedModel] = None, - translation_source: typing.Optional[str] = None, - translation_target: typing.Optional[str] = None, - glossary_document: typing.Optional[core.File] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[TranslateRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + texts: typing.Optional[typing.List[str]] = OMIT, + selected_model: typing.Optional[TranslateRequestSelectedModel] = OMIT, + translation_source: typing.Optional[str] = OMIT, + translation_target: typing.Optional[str] = OMIT, + glossary_document: typing.Optional[core.File] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> TranslationPageOutput: """ @@ -7113,22 +7113,22 @@ async def remix_image( *, input_image: core.File, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[RemixImageRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - text_prompt: typing.Optional[str] = None, - selected_model: typing.Optional[RemixImageRequestSelectedModel] = None, - selected_controlnet_model: typing.Optional[RemixImageRequestSelectedControlnetModel] = None, - negative_prompt: typing.Optional[str] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[int] = None, - output_width: typing.Optional[int] = None, - output_height: typing.Optional[int] = None, - guidance_scale: typing.Optional[float] = None, - prompt_strength: typing.Optional[float] = None, - controlnet_conditioning_scale: typing.Optional[typing.List[float]] = None, - seed: typing.Optional[int] = None, - image_guidance_scale: typing.Optional[float] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[RemixImageRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + text_prompt: typing.Optional[str] = OMIT, + selected_model: typing.Optional[RemixImageRequestSelectedModel] = OMIT, + selected_controlnet_model: typing.Optional[RemixImageRequestSelectedControlnetModel] = OMIT, + negative_prompt: typing.Optional[str] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[int] = OMIT, + output_width: typing.Optional[int] = OMIT, + output_height: typing.Optional[int] = OMIT, + guidance_scale: typing.Optional[float] = OMIT, + prompt_strength: typing.Optional[float] = OMIT, + controlnet_conditioning_scale: typing.Optional[typing.List[float]] = OMIT, + seed: typing.Optional[int] = OMIT, + image_guidance_scale: typing.Optional[float] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> Img2ImgPageOutput: """ @@ -7443,22 +7443,22 @@ async def product_image( input_image: core.File, text_prompt: str, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[ProductImageRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - obj_scale: typing.Optional[float] = None, - obj_pos_x: typing.Optional[float] = None, - obj_pos_y: typing.Optional[float] = None, - mask_threshold: typing.Optional[float] = None, - selected_model: typing.Optional[ProductImageRequestSelectedModel] = None, - negative_prompt: typing.Optional[str] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[int] = None, - output_width: typing.Optional[int] = None, - output_height: typing.Optional[int] = None, - guidance_scale: typing.Optional[float] = None, - sd2upscaling: typing.Optional[bool] = None, - seed: typing.Optional[int] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[ProductImageRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + obj_scale: typing.Optional[float] = OMIT, + obj_pos_x: typing.Optional[float] = OMIT, + obj_pos_y: typing.Optional[float] = OMIT, + mask_threshold: typing.Optional[float] = OMIT, + selected_model: typing.Optional[ProductImageRequestSelectedModel] = OMIT, + negative_prompt: typing.Optional[str] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[int] = OMIT, + output_width: typing.Optional[int] = OMIT, + output_height: typing.Optional[int] = OMIT, + guidance_scale: typing.Optional[float] = OMIT, + sd2upscaling: typing.Optional[bool] = OMIT, + seed: typing.Optional[int] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> ObjectInpaintingPageOutput: """ @@ -7612,21 +7612,21 @@ async def portrait( input_image: core.File, text_prompt: str, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[PortraitRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - face_scale: typing.Optional[float] = None, - face_pos_x: typing.Optional[float] = None, - face_pos_y: typing.Optional[float] = None, - selected_model: typing.Optional[PortraitRequestSelectedModel] = None, - negative_prompt: typing.Optional[str] = None, - num_outputs: typing.Optional[int] = None, - quality: typing.Optional[int] = None, - upscale_factor: typing.Optional[float] = None, - output_width: typing.Optional[int] = None, - output_height: typing.Optional[int] = None, - guidance_scale: typing.Optional[float] = None, - seed: typing.Optional[int] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[PortraitRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + face_scale: typing.Optional[float] = OMIT, + face_pos_x: typing.Optional[float] = OMIT, + face_pos_y: typing.Optional[float] = OMIT, + selected_model: typing.Optional[PortraitRequestSelectedModel] = OMIT, + negative_prompt: typing.Optional[str] = OMIT, + num_outputs: typing.Optional[int] = OMIT, + quality: typing.Optional[int] = OMIT, + upscale_factor: typing.Optional[float] = OMIT, + output_width: typing.Optional[int] = OMIT, + output_height: typing.Optional[int] = OMIT, + guidance_scale: typing.Optional[float] = OMIT, + seed: typing.Optional[int] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FaceInpaintingPageOutput: """ @@ -8135,16 +8135,16 @@ async def remove_background( *, input_image: core.File, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[RemoveBackgroundRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - selected_model: typing.Optional[RemoveBackgroundRequestSelectedModel] = None, - mask_threshold: typing.Optional[float] = None, - rect_persepective_transform: typing.Optional[bool] = None, - reflection_opacity: typing.Optional[float] = None, - obj_scale: typing.Optional[float] = None, - obj_pos_x: typing.Optional[float] = None, - obj_pos_y: typing.Optional[float] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[RemoveBackgroundRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + selected_model: typing.Optional[RemoveBackgroundRequestSelectedModel] = OMIT, + mask_threshold: typing.Optional[float] = OMIT, + rect_persepective_transform: typing.Optional[bool] = OMIT, + reflection_opacity: typing.Optional[float] = OMIT, + obj_scale: typing.Optional[float] = OMIT, + obj_pos_x: typing.Optional[float] = OMIT, + obj_pos_y: typing.Optional[float] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> ImageSegmentationPageOutput: """ @@ -8274,13 +8274,13 @@ async def upscale( *, scale: int, example_id: typing.Optional[str] = None, - functions: typing.Optional[typing.List[UpscaleRequestFunctionsItem]] = None, - variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None, - input_image: typing.Optional[core.File] = None, - input_video: typing.Optional[core.File] = None, - selected_models: typing.Optional[typing.List[UpscaleRequestSelectedModelsItem]] = None, - selected_bg_model: typing.Optional[typing.Literal["real_esrgan_x2"]] = None, - settings: typing.Optional[RunSettings] = None, + functions: typing.Optional[typing.List[UpscaleRequestFunctionsItem]] = OMIT, + variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + input_image: typing.Optional[core.File] = OMIT, + input_video: typing.Optional[core.File] = OMIT, + selected_models: typing.Optional[typing.List[UpscaleRequestSelectedModelsItem]] = OMIT, + selected_bg_model: typing.Optional[typing.Literal["real_esrgan_x2"]] = OMIT, + settings: typing.Optional[RunSettings] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CompareUpscalerPageOutput: """