UNPKG

@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

32 lines (31 loc) 1.11 kB
/** * Beatoven.ai Music Generation Handler * * Async track-composition API. Submits a compose-track request, polls the * task status, and downloads the resulting audio. * * @module music/providers/BeatovenMusic * @see https://www.beatoven.ai/api-docs */ import type { MusicAudioFormat, MusicHandler, MusicOptions, MusicResult } from "../../types/index.js"; /** * Beatoven.ai Music Generation Handler. * * Beatoven is a royalty-free music generation API tuned for * background / cinematic / brand music. Tracks are composed * asynchronously: submit a prompt, poll the task, then download. */ export declare class BeatovenMusic implements MusicHandler { readonly maxDurationSeconds = 300; readonly supportedFormats: readonly MusicAudioFormat[]; readonly supportedGenres: readonly string[]; private readonly apiKey; private readonly baseUrl; constructor(apiKey?: string); isConfigured(): boolean; generate(options: MusicOptions): Promise<MusicResult>; private submitCompose; private pollUntilComposed; private fetchTaskStatus; private downloadTrack; }