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

NiuVideoGenerationInput

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

SDK source. All SDK types.

TypeScript
/** Niu domain inputs; model-specific capabilities remain server-validated. */
export type NiuVideoGenerationInput = {
model: string;
prompt?: string;
references?: Array<{
kind: 'image' | 'audio' | 'video';
url: string;
role?: string;
assetId?: never;
} | {
assetId: string;
role?: string;
kind?: never;
url?: never;
}>;
durationSeconds?: number;
resolution?: string;
aspectRatio?: string;
seed?: number;
watermark?: boolean;
cameraFixed?: boolean;
returnLastFrame?: boolean;
framesPerSecond?: number;
/** Additional model-specific controls; cannot override named fields. */
controls?: Record<string, unknown>;
};