PlatformVideoInput
type PlatformVideoInput = { audioUrl?: string; duration?: number; imageUrls?: string[]; inputs?: ( | { kind: "image"; role: "reference" | "firstFrame" | "lastFrame"; url: string; } | { kind: "video"; role: "source" | "reference"; url: string; } | { kind: "audio"; role: "soundtrack"; url: string; })[]; model?: string; negativePrompt?: string; prompt: string; ratio?: string; resolution?: "480p" | "540p" | "720p" | "768p" | "1080p"; seed?: number;};视频生成的提示词、媒体来源、输出尺寸与时长选项。
audioUrl?
Section titled “audioUrl?”optional audioUrl?: string;duration?
Section titled “duration?”optional duration?: number;imageUrls?
Section titled “imageUrls?”optional imageUrls?: string[];inputs?
Section titled “inputs?”optional inputs?: ( | { kind: "image"; role: "reference" | "firstFrame" | "lastFrame"; url: string;} | { kind: "video"; role: "source" | "reference"; url: string;} | { kind: "audio"; role: "soundtrack"; url: string;})[];model?
Section titled “model?”optional model?: string;negativePrompt?
Section titled “negativePrompt?”optional negativePrompt?: string;prompt
Section titled “prompt”prompt: string;ratio?
Section titled “ratio?”optional ratio?: string;resolution?
Section titled “resolution?”optional resolution?: "480p" | "540p" | "720p" | "768p" | "1080p";optional seed?: number;本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。