VideoModel - Python SDK

VideoModel method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
allowed_passthrough_parametersList[str]✔️List of parameters that are allowed to be passed through to the provider
canonical_slugstr✔️Canonical slug for the modelopenai/gpt-4
createdint✔️Unix timestamp of when the model was created1692901234
descriptionOptional[str]Description of the modelGPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
generate_audioNullable[bool]✔️Whether the model supports generating audio alongside video
hugging_face_idOptionalNullable[str]Hugging Face model identifier, if applicablemicrosoft/DialoGPT-medium
idstr✔️Unique identifier for the modelopenai/gpt-4
namestr✔️Display name of the modelGPT-4
pricing_skusDict[str, str]Pricing SKUs with provider prefix stripped, values as strings
seedNullable[bool]✔️Whether the model supports deterministic generation via seed parameter
supported_aspect_ratiosList[components.SupportedAspectRatio]✔️Supported output aspect ratios
supported_durationsList[int]✔️Supported video durations in seconds
supported_frame_imagesList[components.SupportedFrameImage]✔️Supported frame image types (e.g. first_frame, last_frame)
supported_resolutionsList[components.SupportedResolution]✔️Supported output resolutions
supported_sizesList[components.SupportedSize]✔️Supported output sizes (width x height)