VideoUltra API
    Preparing search index...

    Function parseAnswer

    @video-ultra/ai — optional AI for video-ultra. AI editing (v0.4): createChatAssistant connects the editor to your own model endpoint; text to speech: createSpeechEndpoint; captions in any language from your own speech service: createCaptionsEndpoint. Background removal (v0.3): a segmentation model runs in a worker on the device (single-threaded WebAssembly, no cross-origin isolation needed); nothing is uploaded. The model downloads once, the first time someone removes a background, and the browser keeps it.

    import { createBackgroundRemover } from '@video-ultra/ai';
    <VideoEditor backgroundRemover={createBackgroundRemover()} />
    • Reads a model's answer: JSON (possibly in a ``` block) with reply and actions.

      Parameters

      • text: string

      Returns EditingResponse