vikit.common.config

Overview

Function

get_cleanup_tempfiles()

Whether to cleanup temporary files or not. By default we set it to False

get_default_background_music()

-

get_default_working_folder_root()

-

get_elevenLabs_url()

-

get_environment()

-

get_gcs_upload_timeout_sec()

-

get_initial_audio_file_name()

The file name of the user provided or llm generated audio file

get_max_file_size_url_gemini()

-

get_media_polling_interval()

-

get_nb_retries_http_calls()

-

get_nb_subs_per_video()

The number of subtitles to generate per video

get_prompt_mp3_file_name(uuid)

The name of the mp3 file either converted from user or

get_seconds_per_word()

-

get_sub_audio_for_subtitle_prefix()

The prefix for the file name of the audio file that will be used for the subtitles video

get_subtitles_default_file_name(uuid)

The default name used to save the subtitles file in the working directory

get_subtitles_min_duration()

-

get_test_mode()

Are we using the real Vikit Gateway or a fake one for local_integration tests

get_videho_email_contact()

-

get_video_length_per_subtitle()

The length of the video generated for each subtitle is currently directly

get_video_list_file_name(uuid)

The file name of the list of videos files to mix with ffmpeg

get_vikit_backend_url()

-

Functions

vikit.common.config.get_cleanup_tempfiles() bool

Whether to cleanup temporary files or not. By default we set it to False as we prefer to keep the files for debugging purposes or to train future models, or even reuse the produced sub videos

vikit.common.config.get_default_background_music() str
vikit.common.config.get_default_working_folder_root() str
vikit.common.config.get_elevenLabs_url() str
vikit.common.config.get_environment()
vikit.common.config.get_gcs_upload_timeout_sec() int
vikit.common.config.get_initial_audio_file_name()

The file name of the user provided or llm generated audio file

vikit.common.config.get_max_file_size_url_gemini() int
vikit.common.config.get_media_polling_interval() int
vikit.common.config.get_nb_retries_http_calls() int
vikit.common.config.get_nb_subs_per_video() int

The number of subtitles to generate per video

vikit.common.config.get_prompt_mp3_file_name(uuid=creation_uuid) str

The name of the mp3 file either converted from user or generated using an llm and that we use to extract subtitles from the video

vikit.common.config.get_seconds_per_word() float
vikit.common.config.get_sub_audio_for_subtitle_prefix()

The prefix for the file name of the audio file that will be used for the subtitles video

vikit.common.config.get_subtitles_default_file_name(uuid=creation_uuid) str

The default name used to save the subtitles file in the working directory It is typically build from smaller subtitles generated for subvideos

vikit.common.config.get_subtitles_min_duration() int
vikit.common.config.get_test_mode() bool

Are we using the real Vikit Gateway or a fake one for local_integration tests

vikit.common.config.get_videho_email_contact() str
vikit.common.config.get_video_length_per_subtitle() int

The length of the video generated for each subtitle is currently directly linked to the maximum amount of time allowed by videocrafter

vikit.common.config.get_video_list_file_name(uuid=creation_uuid)

The file name of the list of videos files to mix with ffmpeg

vikit.common.config.get_vikit_backend_url() str

Attributes

vikit.common.config.creation_uuid
vikit.common.config.env_file
vikit.common.config.repo_root
vikit.common.config.sdk_root