utils ¶
Functions:¶
fastvideo.entrypoints.openai.utils.choose_image_ext ¶
Pick a file extension for image outputs
Source code in fastvideo/entrypoints/openai/utils.py
fastvideo.entrypoints.openai.utils.merge_image_input_list ¶
Merge multiple image input sources into a single flat list
Source code in fastvideo/entrypoints/openai/utils.py
fastvideo.entrypoints.openai.utils.parse_size ¶
Parse a 'WIDTHxHEIGHT' string into (width, height)
Source code in fastvideo/entrypoints/openai/utils.py
fastvideo.entrypoints.openai.utils.save_image_to_path async ¶
Save an uploaded file or download from URL to target_path