VideoModel - Go SDK
VideoModel - Go SDK
VideoModel type definition
The Go SDK and docs are currently in beta. Report issues on GitHub.
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
AllowedPassthroughParameters | []string | ✔️ | List of parameters that are allowed to be passed through to the provider | |
CanonicalSlug | string | ✔️ | Canonical slug for the model | openai/gpt-4 |
Created | int64 | ✔️ | Unix timestamp of when the model was created | 1692901234 |
Description | *string | ➖ | Description of the model | GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy. |
HuggingFaceID | optionalnullable.OptionalNullable[string] | ➖ | Hugging Face model identifier, if applicable | microsoft/DialoGPT-medium |
ID | string | ✔️ | Unique identifier for the model | openai/gpt-4 |
Name | string | ✔️ | Display name of the model | GPT-4 |
PricingSkus | optionalnullable.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) |