Use the vessl.Audio class to log audio data. This takes the audio data and saves it as a local WAV file in the vessl-media/audio directory with randomly generated names.
Parameter
Description
data_or_path
Supported types - numpy.ndarray : the audio data
- str: the audio path
sample_rate
The sample rate of the audio file. Required if the numpy.ndarray of audio data is provided as data_or_path
import vesslimport soundfile as sfaudio_path = "sample.wav"data, sample_rate = sf.read(audio_path)# Sample rate is required if numpy.ndarray is provided vessl.log( payload={ "test-audio": [ vessl.Audio(data, sample_rate=sample_rate, caption="audio with data example") ] })
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"VESSL AI","colors":{"primary":"#0069ED","light":"#4D9CFF","dark":"#0050B4"},"logo":{"light":"https://mintcdn.com/vesslai/ONhMTXRTdM7mlkKv/logo/light.png?fit=max\u0026auto=format\u0026n=ONhMTXRTdM7mlkKv\u0026q=85\u0026s=ad8341493ecb8d8efd7f0902123d0022","dark":"https://mintcdn.com/vesslai/ONhMTXRTdM7mlkKv/logo/dark.png?fit=max\u0026auto=format\u0026n=ONhMTXRTdM7mlkKv\u0026q=85\u0026s=3ee3d662fc13403adfbe757bf903179a","href":"https://app.vessl.ai/signup"},"favicon":"https://mintcdn.com/vesslai/BVHjKLa87Wnp_qJ8/favicon.svg?fit=max\u0026auto=format\u0026n=BVHjKLa87Wnp_qJ8\u0026q=85\u0026s=59d83fdd6a5cd3693641094a448e6e3a","api":{"playground":{"display":"simple"}},"navbar":{"links":[{"href":"https://vessl.ai/talk-to-sales","label":"Talk to Sales"}],"primary":{"type":"button","label":"Get Started","href":"https://app.vessl.ai/signup"}},"footer":{"socials":{"website":"https://vessl.ai","github":"https://github.com/vessl-ai/examples","linkedin":"https://www.linkedin.com/company/vesslai"}},"seo":{"metatags":{"og:description":"Enterprise MLOps \u0026 LLMOps Platform - Deploy, manage, and scale AI models, LLMs, and agents with enterprise-grade infrastructure","og:site_name":"VESSL AI Docs","og:title":"VESSL AI Documentation","og:type":"website","og:url":"https://docs.vessl.ai","twitter:card":"summary_large_image","twitter:title":"VESSL AI - Enterprise MLOps \u0026 LLMOps Platform","twitter:description":"Enterprise MLOps \u0026 LLMOps Platform - Deploy, manage, and scale AI models, LLMs, and agents with enterprise-grade infrastructure","keywords":"Enterprise MLOps, LLMOps, AI agents, machine learning, deep learning, model deployment, Kubernetes, GPU clusters, GPU-accelerated, GPUOps, GPU-optimized, enterprise AI, LLM deployment, AI infrastructure, model serving, ML pipeline, AI orchestration, enterprise machine learning, AI model management","author":"VESSL AI","robots":"noindex","viewport":"width=device-width, initial-scale=1.0","canonical":"https://docs.vessl.ai","description":"VESSL AI is an enterprise MLOps and LLMOps platform that helps organizations deploy, manage, and scale machine learning models, large language models (LLMs), and AI agents. Our platform provides GPU-accelerated infrastructure, Kubernetes orchestration, model serving capabilities, and comprehensive ML pipeline management for enterprise AI teams.","application-name":"VESSL AI Documentation","generator":"VESSL AI MLOps Platform","referrer":"origin-when-cross-origin","theme-color":"#0069ED","color-scheme":"light dark"},"indexing":"navigable"},"integrations":{"ga4":{"measurementId":"G-2671CG8YVB"},"gtm":{"tagId":"GTM-MGBL4PW"}},"banner":{"content":"ℹ️ This documentation is for the VESSL MLOps product. For the new VESSL Cloud docs, see [docs.cloud.vessl.ai](https://docs.cloud.vessl.ai/guides/get-started/introduction?utm_source=docs.vessl.ai\u0026utm_medium=banner\u0026utm_campaign=legacy_docs_notice).","dismissible":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Explore models","icon":"wand-sparkles","href":"https://app.vessl.ai/hub"},{"anchor":"Blog posts","icon":"newspaper","href":"https://blog.vessl.ai"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/@vesslai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vesslai","hasAudioNarration":false,"actualSubdomain":"vesslai","customDomains":["docs.vessl.ai"],"gitSource":{"type":"github","owner":"vessl-ai","repo":"run-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21a5c932881c474e320b7e","collectionId":"1463f401-0858-419d-b248-3d9f9152d231","schemaVersion":"v2"},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6a21a5c932881c474e320b7e:success","clientVersion":"0.0.3894","searchFilterCounts":[{"language":"default","tag":"Home","count":80},{"language":"default","tag":"Reference","count":43},{"language":"default","tag":"Compute","count":37},{"language":"default","tag":"SDK Reference","count":22},{"language":"default","tag":"Resource","count":19},{"language":"default","tag":"CLI Reference","count":15},{"language":"default","tag":"Admin","count":14},{"language":"default","tag":"Cluster","count":13},{"language":"default","tag":"Organization","count":11},{"language":"default","tag":"Settings","count":9}]},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"email":"support@vessl.ai","showHelpButton":true}},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2-autocommit","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"teamspace","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"client-snapshot-docs-config","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"reference/sdk/utilities/audio","slug":"/reference/sdk/utilities/audio","pageMetadata":{"title":"vessl.Audio","version":"EN","description":null,"href":"/reference/sdk/utilities/audio"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`vessl.Audio`}),` class to log audio data. This takes the audio data and saves it as a local WAV file in the `,_jsx(_components.code,{children:`vessl-media/audio`}),` directory with randomly generated names.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data_or_path`})}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Supported types - `,_jsx(`code`,{children:`numpy.ndarray`}),` : the audio data`]}),_jsxs(`p`,{children:[` - `,_jsx(`code`,{children:`str`}),`: the audio path`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sample_rate`})}),_jsxs(_components.td,{children:[`The sample rate of the audio file. Required if the `,_jsx(_components.code,{children:`numpy.ndarray`}),` of audio data is provided as `,_jsx(_components.code,{children:`data_or_path`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`Label of the given audio`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`numpy-ndarray`,children:_jsx(_components.code,{children:`numpy.ndarray`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` vessl`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` soundfile `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` sf`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`audio_path `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sample.wav\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data, sample_rate `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` sf.read(audio_path)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Sample rate is required if numpy.ndarray is provided `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`vessl.log(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` payload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"test-audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` vessl.Audio(data, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`sample_rate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`sample_rate, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`caption`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"audio with data example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`str`,children:_jsx(_components.code,{children:`str`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` vessl `})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`vessl.log(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` payload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"test-audio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` vessl.Audio(audio_path, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`caption`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"audio with path example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"vessl.Audio","version":"EN","description":null,"href":"/reference/sdk/utilities/audio"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"numpy.ndarray","slug":"numpy-ndarray","depth":3,"children":[]},{"title":"str","slug":"str","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"vesslai","siteName":"VESSL AI","title":"VESSL AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-11-19T01:47:00.351Z","originalFileLocation":"reference/sdk/utilities/audio.mdx"},"headHtml":"\u003cmeta data-mint-head name=\"description\" content=\"VESSL AI is an enterprise MLOps and LLMOps platform that helps organizations deploy, manage, and scale machine learning models, large language models (LLMs), and AI agents. Our platform provides GPU-accelerated infrastructure, Kubernetes orchestration, model serving capabilities, and comprehensive ML pipeline management for enterprise AI teams.\">\u003cmeta data-mint-head name=\"keywords\" content=\"Enterprise MLOps, LLMOps, AI agents, machine learning, deep learning, model deployment, Kubernetes, GPU clusters, GPU-accelerated, GPUOps, GPU-optimized, enterprise AI, LLM deployment, AI infrastructure, model serving, ML pipeline, AI orchestration, enterprise machine learning, AI model management\">\u003cmeta data-mint-head name=\"application-name\" content=\"VESSL AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"VESSL AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Enterprise MLOps \u0026amp; LLMOps Platform - Deploy, manage, and scale AI models, LLMs, and agents with enterprise-grade infrastructure\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VESSL AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vessl.ai/reference/sdk/utilities/audio\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"VESSL AI - Enterprise MLOps \u0026amp; LLMOps Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Enterprise MLOps \u0026amp; LLMOps Platform - Deploy, manage, and scale AI models, LLMs, and agents with enterprise-grade infrastructure\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VESSL AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0069ED\">\u003cmeta data-mint-head name=\"author\" content=\"VESSL AI\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"application-name\" content=\"VESSL AI Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"VESSL AI MLOps Platform\">\u003cmeta data-mint-head name=\"referrer\" content=\"origin-when-cross-origin\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#0069ED\">\u003cmeta data-mint-head name=\"color-scheme\" content=\"light dark\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vessl.ai/reference/sdk/utilities/audio\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/sdk/utilities/audio.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vessl.ai/#organization\",\"name\":\"VESSL AI\",\"url\":\"https://docs.vessl.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vesslai/ONhMTXRTdM7mlkKv/logo/light.png?fit=max\u0026auto=format\u0026n=ONhMTXRTdM7mlkKv\u0026q=85\u0026s=ad8341493ecb8d8efd7f0902123d0022\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vessl.ai#website\",\"name\":\"VESSL AI\",\"url\":\"https://docs.vessl.ai\",\"publisher\":{\"@id\":\"https://docs.vessl.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vessl.ai/reference/sdk/utilities/audio#webpage\",\"url\":\"https://docs.vessl.ai/reference/sdk/utilities/audio\",\"name\":\"vessl.Audio\",\"dateModified\":\"2025-11-19T01:47:00.351Z\",\"isPartOf\":{\"@id\":\"https://docs.vessl.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vessl.ai/reference/sdk/utilities/audio#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vessl.ai/reference/sdk/utilities/audio#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SDK Reference\",\"item\":\"https://docs.vessl.ai/reference/sdk/integrations/keras\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Utilities\",\"item\":\"https://docs.vessl.ai/reference/sdk/utilities/configure\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"vessl.Audio\",\"item\":\"https://docs.vessl.ai/reference/sdk/utilities/audio\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.vessl.ai/reference/sdk/utilities/audio#article\",\"headline\":\"vessl.Audio\",\"name\":\"vessl.Audio\",\"url\":\"https://docs.vessl.ai/reference/sdk/utilities/audio\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vessl.ai/reference/sdk/utilities/audio#webpage\"},\"dateModified\":\"2025-11-19T01:47:00.351Z\",\"publisher\":{\"@id\":\"https://docs.vessl.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vessl.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VESSL AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"VESSL AI","nav":{"global":{"anchors":[{"anchor":"Explore models","icon":"wand-sparkles","href":"https://app.vessl.ai/hub"},{"anchor":"Blog posts","icon":"newspaper","href":"https://blog.vessl.ai"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/@vesslai"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/guides/get-started/overview"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/examples/uses"}]},{"tab":"Reference","groups":[{"group":"YAML Reference","pages":[{"title":"Run YAML","version":"EN","href":"/reference/yaml/run-yaml"},{"title":"Serve YAML","version":"EN","href":"/reference/yaml/serve-yaml"},{"title":"Cheat Sheet","href":"/reference/yaml/cheatsheet"}]},{"group":"CLI Reference","pages":[{"title":"vessl cluster","version":"EN","href":"/reference/cli/cluster"},{"title":"vessl configure","version":"EN","href":"/reference/cli/configure"},{"title":"vessl experiment","version":"EN","href":"/reference/cli/experiment"},{"title":"vessl image","version":"EN","href":"/reference/cli/image"},{"title":"vessl model","version":"EN","href":"/reference/cli/model"},{"title":"vessl organization","version":"EN","href":"/reference/cli/organization"},{"title":"vessl project","version":"EN","href":"/reference/cli/project"},{"title":"vessl run","version":"EN","href":"/reference/cli/run"},{"title":"vessl service","version":"EN","href":"/reference/cli/serve"},{"title":"vessl ssh-key","version":"EN","href":"/reference/cli/ssh-key"},{"title":"vessl storage","version":"EN","href":"/reference/cli/storage"},{"title":"vessl sweep","version":"EN","href":"/reference/cli/sweep"},{"title":"vessl workspace","version":"EN","href":"/reference/cli/workspace"},{"title":"vessl dataset (Deprecated)","version":"EN","href":"/reference/cli/dataset"},{"title":"vessl volume (Deprecated)","version":"EN","href":"/reference/cli/volume"}]},{"group":"SDK Reference","pages":[{"group":"Integrations","pages":[{"title":"Keras","version":"EN","href":"/reference/sdk/integrations/keras"},{"title":"Transformers","version":"EN","href":"/reference/sdk/integrations/transformers"}]},{"group":"Utilities","pages":[{"title":"vessl.configure","version":"EN","href":"/reference/sdk/utilities/configure"},{"title":"vessl.log","version":"EN","href":"/reference/sdk/utilities/log"},{"title":"vessl.Image","version":"EN","description":null,"href":"/reference/sdk/utilities/image"},{"title":"vessl.Audio","version":"EN","href":"/reference/sdk/utilities/audio"},{"title":"vessl.hp.update","version":"EN","description":null,"href":"/reference/sdk/utilities/update"},{"title":"vessl.progress","version":"EN","href":"/reference/sdk/utilities/progress"}]},{"title":"Cluster","version":"EN","href":"/reference/sdk/cluster"},{"title":"Experiment","version":"EN","href":"/reference/sdk/experiment"},{"title":"Image","version":"EN","href":"/reference/sdk/image"},{"title":"Model","version":"EN","href":"/reference/sdk/model"},{"title":"Organization","version":"EN","href":"/reference/sdk/organization"},{"title":"Project","version":"EN","href":"/reference/sdk/project"},{"title":"RunnerBase","version":"EN","href":"/reference/sdk/runnerbase"},{"title":"Service","version":"EN","href":"/reference/sdk/service"},{"title":"SSH-key","version":"EN","href":"/reference/sdk/ssh-key"},{"title":"Storage","version":"EN","href":"/reference/sdk/storage"},{"title":"Sweep","version":"EN","href":"/reference/sdk/sweep"},{"title":"Workspace","version":"EN","href":"/reference/sdk/workspace"},{"title":"Dataset (Deprecated)","version":"EN","href":"/reference/sdk/dataset"},{"title":"Volume (Deprecated)","version":"EN","href":"/reference/sdk/volume"}]},{"group":"Serverless Inference API Reference","pages":[{"title":"Send a request","api":"POST {base_url}/request/{path}","href":"/reference/serverless-api/send-a-request"},{"title":"Create an asynchronous request","api":"POST {base_url}/async","href":"/reference/serverless-api/create-async-request"},{"title":"Fetch output of an asynchronous request","api":"GET {base_url}/async/{request_id}/output","href":"/reference/serverless-api/get-async-request-output"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview/updates"}]}]},"title":"VESSL AI Documentation","buildId":"dpl_8LJVMfxYNq6LJkohTrn2iyWT8umj","deploymentId":"dpl_8LJVMfxYNq6LJkohTrn2iyWT8umj","dynamics":["10e4515597"],"chunks":["BannerMarkdown-IiEQNrcc.js","dist-dK59mPLe.js","lib-B6V4jynN.js","lib-vtHBCq3V.js","clsx-trXNtT1g.js","html-void-elements-mCSPHezU.js","katex-Cnv50rb0.js","marked.esm-BKo0Hl1x.js"]}