Python SDKAPI ReferenceComponents
VideoModel - Python SDK
VideoModel - Python SDK
VideoModel method reference
The Python SDK and docs are currently in beta. Report issues on GitHub.
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
allowed_passthrough_parameters | List[str] | ✔️ | List of parameters that are allowed to be passed through to the provider | |
canonical_slug | str | ✔️ | Canonical slug for the model | openai/gpt-4 |
created | int | ✔️ | Unix timestamp of when the model was created | 1692901234 |
description | Optional[str] | ➖ | Description of the model | GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy. |
generate_audio | Nullable[bool] | ✔️ | Whether the model supports generating audio alongside video | |
hugging_face_id | OptionalNullable[str] | ➖ | Hugging Face model identifier, if applicable | microsoft/DialoGPT-medium |
id | str | ✔️ | Unique identifier for the model | openai/gpt-4 |
name | str | ✔️ | Display name of the model | GPT-4 |
pricing_skus | Dict[str, str] | ➖ | Pricing SKUs with provider prefix stripped, values as strings | |
seed | Nullable[bool] | ✔️ | Whether the model supports deterministic generation via seed parameter | |
supported_aspect_ratios | List[components.SupportedAspectRatio] | ✔️ | Supported output aspect ratios | |
supported_durations | List[int] | ✔️ | Supported video durations in seconds | |
supported_frame_images | List[components.SupportedFrameImage] | ✔️ | Supported frame image types (e.g. first_frame, last_frame) | |
supported_resolutions | List[components.SupportedResolution] | ✔️ | Supported output resolutions | |
supported_sizes | List[components.SupportedSize] | ✔️ | Supported output sizes (width x height) |