abacusai.video_gen_settings

Classes

VideoGenSettings

Video generation settings

Module Contents

class abacusai.video_gen_settings.VideoGenSettings(client, prompt=None, aspectRatio=None, loop=None, rewritePrompt=None, startFrame=None, endFrame=None)

Bases: abacusai.return_class.AbstractApiClass

Video generation settings

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • prompt (dict) – The prompt for the video.

  • aspectRatio (dict) – The aspect ratio of the video.

  • loop (dict) – Whether the video should loop.

  • rewritePrompt (dict) – weather to rewrite the prompt.

  • startFrame (dict) – The start frame of the video.

  • endFrame (dict) – The end frame of the video.

prompt
aspect_ratio
loop
rewrite_prompt
start_frame
end_frame
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict