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

30 lines (29 loc) 1.03 kB
/** * Google Lyria 3 Pro Music Handler * * Synchronous generation against the Generative Language API. Returns * audio inline as base64 in the response. * * @module music/providers/LyriaMusic * @see https://ai.google.dev/gemini-api/docs/music-generation */ import type { MusicAudioFormat, MusicHandler, MusicOptions, MusicResult } from "../../types/index.js"; /** * Google Lyria 3 Pro Music Handler. * * Auth: `Authorization: Bearer ${GOOGLE_API_KEY}` or query-string * `?key=${GOOGLE_API_KEY}` (the latter is more compatible with the * Generative Language endpoints today). */ export declare class LyriaMusic implements MusicHandler { readonly maxDurationSeconds = 30; readonly supportedFormats: readonly MusicAudioFormat[]; readonly supportedGenres: readonly string[]; private readonly apiKey; private readonly baseUrl; private readonly model; constructor(apiKey?: string); isConfigured(): boolean; generate(options: MusicOptions): Promise<MusicResult>; private buildPrompt; }