VideoUrl¶
- 
class oci.generative_ai_inference.models.VideoUrl(**kwargs)¶
- Bases: - object- The base64 encoded video data or a video uri if it’s supported. - Attributes - DETAIL_AUTO- A constant which can be used with the detail property of a VideoUrl. - DETAIL_HIGH- A constant which can be used with the detail property of a VideoUrl. - DETAIL_LOW- A constant which can be used with the detail property of a VideoUrl. - detail- Gets the detail of this VideoUrl. - url- [Required] Gets the url of this VideoUrl. - Methods - __init__(**kwargs)- Initializes a new VideoUrl object with values from keyword arguments. - 
DETAIL_AUTO= 'AUTO'¶
- A constant which can be used with the detail property of a VideoUrl. This constant has a value of “AUTO” 
 - 
DETAIL_HIGH= 'HIGH'¶
- A constant which can be used with the detail property of a VideoUrl. This constant has a value of “HIGH” 
 - 
DETAIL_LOW= 'LOW'¶
- A constant which can be used with the detail property of a VideoUrl. This constant has a value of “LOW” 
 - 
__init__(**kwargs)¶
- Initializes a new VideoUrl object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - url (str) – The value to assign to the url property of this VideoUrl.
- detail (str) – The value to assign to the detail property of this VideoUrl. Allowed values for this property are: “AUTO”, “HIGH”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
 
 - 
detail¶
- Gets the detail of this VideoUrl. The default value is AUTO and only AUTO is supported. This option controls how to convert the base64 encoded video to tokens. - Allowed values for this property are: “AUTO”, “HIGH”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The detail of this VideoUrl. - Return type: - str 
 - 
url¶
- [Required] Gets the url of this VideoUrl. The base64 encoded video data or a video uri if it’s supported. - Example for an mp4 video:
- `{
- “type”: “VIDEO”, “videoUrl”: { “url”: “data:video/mp4;base64,<base64 encoded video content>”- } 
 - }` 
- Example with a video uri:
- `{
- “type”: “VIDEO”, “videoUrl”: { “url”: “data:video/mp4;uri,<video uri>”- } 
 - }` 
 - Returns: - The url of this VideoUrl. - Return type: - str 
 
-