Cast media schema(转换媒体模式(Cast media schema))¶
Supported in:
Casts a media reference to a specific media schema and format. This is useful when the input media has a generic schema (multimodal) but the actual content is known to be a specific type (such as a png image). The cast narrows the type metadata to allow downstream operations that require specific schema types.
Expression categories: Media
Declared arguments¶
- Media: The media reference to cast the schema type of.
Expression\ - Media format: The specific format to cast to.
Enum\
Output type: Media reference
中文翻译¶
转换媒体模式(Cast media schema)¶
支持于:
将媒体引用转换为特定的媒体模式和格式。当输入媒体具有通用模式(多模态,multimodal)但实际内容已知为特定类型(如PNG图像)时,此功能非常有用。转换操作会缩小类型元数据范围,从而允许需要特定模式类型的下游操作执行。
表达式类别: 媒体(Media)
声明的参数¶
- 媒体(Media): 需要转换模式类型的媒体引用。
表达式\<媒体引用> - 媒体格式(Media format): 要转换到的特定格式。
枚举\
输出类型: 媒体引用