@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
30 lines (29 loc) • 1.25 kB
TypeScript
/**
* Replicate Video Handler
*
* Routes video generation through the universal Replicate prediction
* lifecycle. Default model is Wan-Alpha (RGBA video); callers can specify
* any image-to-video model on Replicate via `options.model`.
*
* @module adapters/video/replicateVideoHandler
* @see https://replicate.com/atonamy/wan-alpha
*/
import type { NeurolinkCredentials, VideoGenerationResult, VideoHandler, VideoOutputOptions } from "../../types/index.js";
/**
* Replicate Video Handler.
*
* Capabilities depend on the specific Replicate model — this handler
* advertises conservative bounds (any provider-supported aspect ratio /
* resolution; up to 10s typical for Wan-Alpha).
*/
export declare class ReplicateVideoHandler implements VideoHandler {
readonly maxDurationSeconds = 10;
readonly supportedAspectRatios: readonly ("9:16" | "16:9" | "1:1")[];
readonly supportedResolutions: readonly ("720p" | "1080p")[];
private readonly instanceCredentials;
constructor(credentials?: NeurolinkCredentials["replicate"]);
isConfigured(): boolean;
generate(image: Buffer, prompt: string, options: VideoOutputOptions): Promise<VideoGenerationResult>;
private detectImageType;
private calculateDimensions;
}