Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

VideoCreateRequest

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
export type VideoCreateRequest = {
model: string;
content: Array<{
type: 'text';
text: string;
} | {
type: 'image_url';
image_url: {
url: string;
};
role?: string;
} | {
type: 'audio_url';
audio_url: {
url: string;
};
role?: string;
} | {
type: 'video_url';
video_url: {
url: string;
};
role?: string;
} | IngestedVideoImageInput | WorkspaceAssetVideoImageInput | ProviderAssetVideoInput>;
[control: string]: unknown;
};