VideoModel - Go SDK

VideoModel type definition

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

Fields

FieldTypeRequiredDescriptionExample
AllowedPassthroughParameters[]string✔️List of parameters that are allowed to be passed through to the provider
CanonicalSlugstring✔️Canonical slug for the modelopenai/gpt-4
Createdint64✔️Unix timestamp of when the model was created1692901234
Description*stringDescription of the modelGPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
HuggingFaceIDoptionalnullable.OptionalNullable[string]Hugging Face model identifier, if applicablemicrosoft/DialoGPT-medium
IDstring✔️Unique identifier for the modelopenai/gpt-4
Namestring✔️Display name of the modelGPT-4
PricingSkusoptionalnullable.OptionalNullable[map[string]string]Pricing SKUs with provider prefix stripped, values as strings
SupportedAspectRatios[]components.SupportedAspectRatio✔️Supported output aspect ratios
SupportedDurations[]int64✔️Supported video durations in seconds
SupportedResolutions[]components.SupportedResolution✔️Supported output resolutions
SupportedSizes[]components.SupportedSize✔️Supported output sizes (width x height)