The Music Generation API allows you to create original music tracks from text prompts. Powered by advanced AI models, it can generate various musical styles, instrumentation, and moods.
Create AI-generated music by providing text prompts that describe the style, mood, and instrumentation you want. The API handles the request asynchronously:
Submit a generation request with your prompt
Receive a task ID for tracking
Check the status until completion
Download the generated music file
The OpenAPI playground above allows you to test music generation. Provide a detailed prompt describing the music you want to create.
{ "prompt": "A futuristic electronic track with glitchy beats, atmospheric pads, and a driving bassline that evolves throughout", "tags": "electronic, ambient, glitch", "title": "Digital Horizon"}
{ "prompt": "An epic orchestral piece with soaring strings, powerful brass hits, and dramatic percussion building to a cinematic climax", "tags": "orchestral, epic, cinematic", "title": "Hero's Journey"}
{ "prompt": "A folk acoustic guitar ballad with finger-picking patterns, warm vocals, and subtle background harmonies", "tags": "folk, acoustic, vocal", "title": "Mountain Path"}
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Gately AI","colors":{"primary":"#ff006e","light":"#ff69b4","dark":"#0d1b2a"},"favicon":"/logo/favicon.svg","logo":{"light":"https://mintcdn.com/taamai-c8c27d6c/KqAOKmnFBPaFSHqI/logo/dark.png?fit=max\u0026auto=format\u0026n=KqAOKmnFBPaFSHqI\u0026q=85\u0026s=1c7b31817a35b7146a6a8303671ae174","dark":"https://mintcdn.com/taamai-c8c27d6c/KqAOKmnFBPaFSHqI/logo/light.png?fit=max\u0026auto=format\u0026n=KqAOKmnFBPaFSHqI\u0026q=85\u0026s=b3394d8ff18e9ae2351d1731fe667688","href":"https://app.gately.ai"},"api":{"openapi":"api-reference/openapi.json","playground":{"display":"simple"},"mdx":{"server":"https://api.gately.ai","auth":{"method":"bearer","name":null}}},"appearance":{"default":"dark","strict":false},"background":{"image":"https://mintlify.s3.us-west-1.amazonaws.com/taamai-c8c27d6c/images/background.png","decoration":null,"color":{"light":null,"dark":"#0d1b2a"}},"navbar":{"links":[{"label":"Discord Community","href":"https://discord.com/invite/WrH6gCt5"},{"label":"Support","href":"mailto:support@taam.cloud"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.gately.ai"}},"search":{"prompt":"Search Gately AI docs..."},"footer":{"socials":{"discord":"https://discord.gg/WrH6gCt5","twitter":"https://twitter.com/taamcloud","linkedin":"https://www.linkedin.com/company/taam-cloud/","github":"https://github.com/taamsoftadmin/taam-cloud-node-sdk"}},"integrations":{"ga4":{"measurementId":"G-82WEV7P3YX"},"intercom":{"appId":"YOUR_INTERCOM_APP_ID"}},"fonts":{"heading":{"family":"Poppins","weight":600},"body":{"family":"Inter","weight":400}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"taamai-c8c27d6c","hasAudioNarration":false,"actualSubdomain":"taamai-c8c27d6c","customDomains":["docs.gately.ai"],"gitSource":{"type":"github","owner":"taamsoftadmin","repo":"taam-cloud-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e68133a4518725aaba4b","collectionId":"ecbb0889-4831-4f26-8e2f-3ef1f3235c7e","schemaVersion":"v2"},"feedback":{"issues":true,"edits":true,"thumbs":true},"entitlements":{},"buildId":"6a21e68133a4518725aaba4b:success","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Documentation","count":45},{"language":"default","tag":"API Reference","count":36},{"language":"default","tag":"Playground","count":19},{"language":"default","tag":"Subscription","count":10},{"language":"default","tag":"Web \u0026 Search","count":8},{"language":"default","tag":"WEB Crawling","count":5},{"language":"default","tag":"Pricing","count":5},{"language":"default","tag":"Media","count":4},{"language":"default","tag":"AI Models API","count":3},{"language":"default","tag":"Get started","count":3}]},"assistantConfig":{},"basePath":"","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":"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":"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":"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":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","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":"fork-pr-previews","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/endpoint/music","slug":"/api-reference/endpoint/music","pageMetadata":{"title":"Music Generation","description":"Generate music from text prompts","openapi":"POST /suno/submit/music","href":"/api-reference/endpoint/music"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate music from text prompts\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,CodeGroup,Frame,Heading,Note,OptimizedImage,ParamField,ResponseField}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`music-generation-api`,children:`Music Generation API`}),`\n`,_jsx(_components.p,{children:`The Music Generation API allows you to create original music tracks from text prompts. Powered by advanced AI models, it can generate various musical styles, instrumentation, and moods.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/taamai-c8c27d6c/7tpU7wOp-rlopJuB/images/Taamcloud.png?fit=max\u0026auto=format\u0026n=7tpU7wOp-rlopJuB\u0026q=85\u0026s=4bb63ae407c3f5f72f8298b8c49064e4`,alt:`Music Generation`,\"data-og-width\":`1200`,width:`1200`,\"data-og-height\":`630`,height:`630`,\"data-path\":`images/Taamcloud.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/taamai-c8c27d6c/7tpU7wOp-rlopJuB/images/Taamcloud.png?w=280\u0026fit=max\u0026auto=format\u0026n=7tpU7wOp-rlopJuB\u0026q=85\u0026s=00d2a32d1c2ce194a10002517fea00bc 280w, https://mintcdn.com/taamai-c8c27d6c/7tpU7wOp-rlopJuB/images/Taamcloud.png?w=560\u0026fit=max\u0026auto=format\u0026n=7tpU7wOp-rlopJuB\u0026q=85\u0026s=82d988dff413e169f24da8302fe04c69 560w, https://mintcdn.com/taamai-c8c27d6c/7tpU7wOp-rlopJuB/images/Taamcloud.png?w=840\u0026fit=max\u0026auto=format\u0026n=7tpU7wOp-rlopJuB\u0026q=85\u0026s=234b3cc6ed77f2779787e60767403f6c 840w, https://mintcdn.com/taamai-c8c27d6c/7tpU7wOp-rlopJuB/images/Taamcloud.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7tpU7wOp-rlopJuB\u0026q=85\u0026s=177c7a8f28a610774123acddff9385cc 1100w, https://mintcdn.com/taamai-c8c27d6c/7tpU7wOp-rlopJuB/images/Taamcloud.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7tpU7wOp-rlopJuB\u0026q=85\u0026s=cc542d80586d366414be48425b4fe914 1650w, https://mintcdn.com/taamai-c8c27d6c/7tpU7wOp-rlopJuB/images/Taamcloud.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7tpU7wOp-rlopJuB\u0026q=85\u0026s=9663a4af66d96e550d33aa3e27ba45f3 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Create AI-generated music by providing text prompts that describe the style, mood, and instrumentation you want. The API handles the request asynchronously:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Submit a generation request with your prompt`}),`\n`,_jsx(_components.li,{children:`Receive a task ID for tracking`}),`\n`,_jsx(_components.li,{children:`Check the status until completion`}),`\n`,_jsx(_components.li,{children:`Download the generated music file`}),`\n`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`The OpenAPI playground above allows you to test music generation. Provide a detailed prompt describing the music you want to create.`})}),`\n`,_jsx(Heading,{level:`2`,id:`base-url`,children:`Base URL`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.gately.ai/suno/submit/music`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request-format`,children:`Request Format`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.gately.ai/suno/submit/music'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"An upbeat electronic dance track with energetic synths and a catchy hook\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tags\": \"electronic, dance, upbeat\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Dance Energy\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mv\": \"v5\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:_jsx(_components.p,{children:`Detailed description of the music you want to generate`})}),`\n`,_jsx(ParamField,{body:`tags`,type:`string`,id:`param-tags`,children:_jsx(_components.p,{children:`Comma-separated list of genre tags`})}),`\n`,_jsx(ParamField,{body:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Title for the generated track`})}),`\n`,_jsx(ParamField,{body:`mv`,type:`string`,default:`v5`,id:`param-mv`,children:_jsx(_components.p,{children:`Model version to use`})}),`\n`,_jsx(Heading,{level:`2`,id:`response-format`,children:`Response Format`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mus_bVDqJBrLStaPbCZXvLZrWqi4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estimated_completion_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`})]}),`\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(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id`,children:_jsx(_components.p,{children:`Unique identifier for the generation task`})}),`\n`,_jsx(ResponseField,{name:`estimated_completion_time`,type:`integer`,id:`param-estimated-completion-time`,children:_jsx(_components.p,{children:`Estimated time in seconds until completion`})}),`\n`,_jsx(Heading,{level:`2`,id:`checking-generation-status`,children:`Checking Generation Status`}),`\n`,_jsxs(_components.p,{children:[`Once you have a `,_jsx(_components.code,{children:`task_id`}),`, you can check the status of the music generation:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.gately.ai/suno/music/status/mus_bVDqJBrLStaPbCZXvLZrWqi4'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer YOUR_API_KEY'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`status-response-format`,children:`Status Response Format`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mus_bVDqJBrLStaPbCZXvLZrWqi4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://storage.taam.cloud/music/mus_bVDqJBrLStaPbCZXvLZrWqi4.mp3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cover_image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://storage.taam.cloud/music/covers/mus_bVDqJBrLStaPbCZXvLZrWqi4.jpg\"`})]}),`\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(_components.p,{children:`Status codes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`queued`}),`: Task is in the queue`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`processing`}),`: Music is being generated`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`completed`}),`: Generation is complete`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`failed`}),`: Generation failed`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`prompt-tips`,children:`Prompt Tips`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Musical Style Guidance`,icon:`music`,id:`musical-style-guidance`,children:_jsx(_components.p,{children:`Include specific genres, eras, or artists: “A jazz fusion track inspired by Weather Report with complex chord progressions”`})}),_jsx(Accordion,{title:`Instrumentation`,icon:`guitar`,id:`instrumentation`,children:_jsx(_components.p,{children:`Specify instruments: “An orchestral piece featuring prominent French horns, violins, and timpani”`})}),_jsx(Accordion,{title:`Mood and Energy`,icon:`face-smile`,id:`mood-and-energy`,children:_jsx(_components.p,{children:`Describe the feeling: “A melancholic piano ballad with emotional chord progressions”`})}),_jsx(Accordion,{title:`Structure`,icon:`layer-group`,id:`structure`,children:_jsx(_components.p,{children:`Detail song structure: “A pop track with verse-chorus structure, building to an energetic bridge”`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-prompts`,children:`Example Prompts`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Electronic`,numberOfLines:`5`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A futuristic electronic track with glitchy beats, atmospheric pads, and a driving bassline that evolves throughout\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"electronic, ambient, glitch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Digital Horizon\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Orchestral`,numberOfLines:`5`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"An epic orchestral piece with soaring strings, powerful brass hits, and dramatic percussion building to a cinematic climax\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"orchestral, epic, cinematic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hero's Journey\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Folk`,numberOfLines:`5`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A folk acoustic guitar ballad with finger-picking patterns, warm vocals, and subtle background harmonies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"folk, acoustic, vocal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Mountain Path\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`limitations`,children:`Limitations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Generated tracks are typically 1-2 minutes in length`}),`\n`,_jsx(_components.li,{children:`Specific artist names should be used as inspiration only, not direct copying`}),`\n`,_jsx(_components.li,{children:`Vocals are generated in a fictional language`}),`\n`,_jsx(_components.li,{children:`Maximum of 50 active generations per account at once`}),`\n`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`1`,language:`text`,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:`text`,children:_jsx(_components.code,{language:`text`,numberOfLines:`1`,children:_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})})})})]})}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":"Music Generation","description":"Generate music from text prompts","openapi":"POST /suno/submit/music","href":"/api-reference/endpoint/music"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Music Generation API","slug":"music-generation-api","depth":1,"children":[]},{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Base URL","slug":"base-url","depth":2,"children":[]},{"title":"Request Format","slug":"request-format","depth":2,"children":[{"title":"Parameters","slug":"parameters","depth":3,"children":[]}]},{"title":"Response Format","slug":"response-format","depth":2,"children":[]},{"title":"Checking Generation Status","slug":"checking-generation-status","depth":2,"children":[{"title":"Status Response Format","slug":"status-response-format","depth":3,"children":[]}]},{"title":"Prompt Tips","slug":"prompt-tips","depth":2,"children":[]},{"title":"Example Prompts","slug":"example-prompts","depth":2,"children":[]},{"title":"Limitations","slug":"limitations","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"music","summary":"Generate music","description":"Generate music from text prompts","tags":["Music"],"requestBody":"d033212c-e4e8-4c36-92fa-9a6f6e5abfd9","responses":{"200":"dd9751f4-c00c-4b13-a27c-b78bd21c1daf"},"method":"post","type":"path","servers":["a2c06910-6e3f-4687-8760-21440d82f687","41a29d99-6011-4113-816f-89927d208d64"],"security":["414efdde-379d-4c21-933d-1c5adf0392fd"],"path":"/suno/submit/music","baseUrlOptions":["https://api.gately.ai","https://uploud.taam.cloud"],"title":"Generate music","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","uniqueKey":"prompt","typeLabel":"string"},"tags":{"type":"string","uniqueKey":"tags","typeLabel":"string"},"mv":{"type":"string","uniqueKey":"mv","typeLabel":"string"},"title":{"type":"string","uniqueKey":"title","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Simple":{"title":"Simple","value":{"prompt":"A relaxing jazz piano piece with soft drums","title":"Relaxing Jazz","tags":"jazz, relaxing, piano"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"dd9751f4-c00c-4b13-a27c-b78bd21c1daf":{"description":"Successful response","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"414efdde-379d-4c21-933d-1c5adf0392fd":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Enter your API key prefixed with 'Bearer '","scopes":[]}}},"servers":{"a2c06910-6e3f-4687-8760-21440d82f687":{"url":"https://api.gately.ai","description":"Main API server"},"41a29d99-6011-4113-816f-89927d208d64":{"url":"https://uploud.taam.cloud","description":"File Processing server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Enter your API key prefixed with 'Bearer '","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Enter your API key prefixed with 'Bearer '","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"taamai-c8c27d6c","siteName":"Gately AI","title":"Music Generation - Gately AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T05:53:51.451Z","originalFileLocation":"api-reference/endpoint/music.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate music from text prompts\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gately AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_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/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_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/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_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/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_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/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_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/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_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/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_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/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Music Generation - Gately AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate music from text prompts\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gately AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gately.ai/api-reference/endpoint/music\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://taamai-c8c27d6c.mintlify.app/_mintlify/api/og/v2?division=Media\u0026amp;title=Music+Generation\u0026amp;description=Generate+music+from+text+prompts\u0026amp;theme=f595793cfd71ffca92dac2f7\u0026amp;signature=16a22f70c2e5bf8b9ab35ef910252b84b7d8187224d8017760bfca4d9f1a34cc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Music Generation - Gately AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate music from text prompts\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://taamai-c8c27d6c.mintlify.app/_mintlify/api/og/v2?division=Media\u0026amp;title=Music+Generation\u0026amp;description=Generate+music+from+text+prompts\u0026amp;theme=f595793cfd71ffca92dac2f7\u0026amp;signature=16a22f70c2e5bf8b9ab35ef910252b84b7d8187224d8017760bfca4d9f1a34cc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/taamai-c8c27d6c/SPtdbRhi8a7TdhkY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gately AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff006e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gately.ai/api-reference/endpoint/music\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/music.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gately.ai/#organization\",\"name\":\"Gately AI\",\"url\":\"https://docs.gately.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/taamai-c8c27d6c/KqAOKmnFBPaFSHqI/logo/dark.png?fit=max\u0026auto=format\u0026n=KqAOKmnFBPaFSHqI\u0026q=85\u0026s=1c7b31817a35b7146a6a8303671ae174\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gately.ai#website\",\"name\":\"Gately AI\",\"url\":\"https://docs.gately.ai\",\"publisher\":{\"@id\":\"https://docs.gately.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gately.ai/api-reference/endpoint/music#webpage\",\"url\":\"https://docs.gately.ai/api-reference/endpoint/music\",\"name\":\"Music Generation\",\"description\":\"Generate music from text prompts\",\"dateModified\":\"2026-01-07T05:53:51.451Z\",\"isPartOf\":{\"@id\":\"https://docs.gately.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gately.ai/api-reference/endpoint/music#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gately.ai/api-reference/endpoint/music#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.gately.ai/api-reference/openai-compatibility\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Music Generation\",\"item\":\"https://docs.gately.ai/api-reference/endpoint/music\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gately.ai/api-reference/endpoint/music#apireference\",\"headline\":\"Music Generation\",\"name\":\"Music Generation\",\"description\":\"Generate music from text prompts\",\"url\":\"https://docs.gately.ai/api-reference/endpoint/music\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gately.ai/api-reference/endpoint/music#webpage\"},\"dateModified\":\"2026-01-07T05:53:51.451Z\",\"publisher\":{\"@id\":\"https://docs.gately.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gately.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gately AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Gately AI","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Subscription","pages":[{"title":"Subscription","href":"/subscription/model-pricing"}]},{"tab":"Playground","pages":[{"title":"Playground","href":"/playground/chat-interface"}]},{"tab":"API Reference","groups":[{"group":"API Reference","icon":"code","pages":[{"title":"OpenAI Compatibility","href":"/api-reference/openai-compatibility"},{"title":"SDK Installation","href":"/api-reference/sdk-installation"},{"group":"Get started","icon":"cube","pages":[{"title":"Get API Key","href":"/api-reference/endpoint/get-api"},{"title":"Quick Start","href":"/api-reference/endpoint/get-started"},{"title":"Models API","openapi":"GET /v1/models","href":"/api-reference/endpoint/models"}]},{"group":"AI Models API","icon":"message-dots","pages":[{"title":"Chat Completions","openapi":"POST /v1/chat/completions","href":"/api-reference/endpoint/chat"},{"title":"Embeddings API","openapi":"POST /v1/embeddings","href":"/api-reference/endpoint/embeddings"},{"title":"Rerank","openapi":"POST /v1/rerank","description":"Rerank documents based on relevance to a query","href":"/api-reference/endpoint/rerank"}]},{"group":"Media","icon":"photo-film","pages":[{"title":"Music Generation","openapi":"POST /suno/submit/music","href":"/api-reference/endpoint/music"},{"title":"Image Generation","openapi":"POST /v1/images/generations","description":"Create images from text descriptions using AI models","href":"/api-reference/endpoint/images"},{"title":"Video Generation","openapi":"POST /v1/video_generation","href":"/api-reference/endpoint/video-generation"},{"title":"File Upload","openapi":"POST /upload","href":"/api-reference/endpoint/upload"}]},{"group":"Guides","icon":"book","pages":[{"title":"Document AI Processing","href":"/api-reference/guides/document-ai-processing"}]}]},{"group":"Web \u0026 Search","icon":"globe","pages":[{"group":"WEB Crawling","icon":"spider","pages":[{"title":"Web Crawling API","href":"/api-reference/endpoint/crawling-intro"},{"title":"Web Scraping","href":"/api-reference/endpoint/scrape"},{"title":"Website Crawling","openapi":"POST /v1/web","href":"/api-reference/endpoint/crawl"},{"title":"Get Crawl Status","openapi":"POST /v1/web","href":"/api-reference/endpoint/crawl-status"},{"title":"Website Mapping","openapi":"POST /v1/web","href":"/api-reference/endpoint/map"}]},{"group":"AI Search Engine","icon":"magnifying-glass","pages":[{"title":"Introduction to AI Search","href":"/api-reference/endpoint/search-intro"},{"title":"AI Search","href":"/api-reference/endpoint/search"},{"title":"Search Models","href":"/api-reference/endpoint/search-models"}]}]}]}]},{"anchor":"API Reference","icon":{"name":"code","style":"duotone"},"pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"anchor":"Playground","icon":{"name":"gamepad","style":"duotone"},"pages":[{"title":"Playground","href":"/playground/get-started"}]},{"anchor":"Dashboard","href":"https://app.gately.ai","icon":{"name":"gauge","style":"duotone"}}]},"title":"Music Generation - Gately AI","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","07c022d89b","a74be98ba7","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Frame-CIbhtp2j.js","zoom-image-lightbox-CVZVK4hN.js","lightbox-handle-r17bVUz3.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}