UNPKG

scrptly

Version:

Scrptly is a Video Development Kit (VDK) for programmatically generating AI-powered videos.

20 lines (19 loc) 824 B
import AuditoryLayer, { AuditoryLayerProperties, AuditoryLayerSettings } from './AuditoryLayer.js'; export type AudioLayerSettings = (AuditoryLayerSettings & { source: string; sourceType?: 'url' | 'asset' | 'base64' | 'file'; }) | (AuditoryLayerSettings & { prompt: string; duration?: number; modelSettings?: any; }); export type AudioLayerProperties = AuditoryLayerProperties; export default class AudioLayer extends AuditoryLayer { static type: string; settings: AudioLayerSettings; properties: AudioLayerProperties; constructor(parent: any, properties: AudioLayerProperties | undefined, settings: AudioLayerSettings); static get isAsset(): boolean; static get defaultSettings(): Partial<AudioLayerSettings>; static get defaultProperties(): Partial<AudioLayerProperties>; }