Classify one song into BudgetPixel’s canonical music genre taxonomy —
the same classifier that powers the site’s music gallery. Synchronous:
the response carries the genre plus style/mood tags and a confidence score.
Input: one song (audio), max 20 MB and 7 minutes, as MP3, WAV,
OGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from
POST /v1/uploads, a data URI, or
raw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks.
The classifier listens to a ~30-second excerpt sampled from ~25% into the
track (the clip field in the response tells you the exact window). Only
that excerpt is retained — privately, for ~1 day — never the full upload.
Pricing: flat 10 credits per song. Estimate via
POST /v1/cost with
{"model": "music-genre"}. Charged on success only — a classifier failure
costs nothing.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"BudgetPixel API","description":"Programmatic AI image, video, music, and sound-effect generation API and MCP server for BudgetPixel.","colors":{"primary":"#111111","light":"#ffffff","dark":"#000000"},"logo":{"light":"https://mintcdn.com/budgetpixel/LxKf7gBlohT2vrfk/logo/light.svg?fit=max\u0026auto=format\u0026n=LxKf7gBlohT2vrfk\u0026q=85\u0026s=0e90b5dbefed15ed3def253ba7befe22","dark":"https://mintcdn.com/budgetpixel/LxKf7gBlohT2vrfk/logo/dark.svg?fit=max\u0026auto=format\u0026n=LxKf7gBlohT2vrfk\u0026q=85\u0026s=fced9f91764e91bd1703e072ef3fc9ba"},"favicon":"https://mintcdn.com/budgetpixel/bo3ueBON07AT2z2L/favicon.png?fit=max\u0026auto=format\u0026n=bo3ueBON07AT2z2L\u0026q=85\u0026s=73fe3973072a091864d116d93fb4aa06","background":{"color":{"light":"#F3F1E6"}},"navbar":{"links":[{"href":"https://budgetpixel.com/api","label":"API home"},{"href":"https://budgetpixel.com/models","label":"Models"},{"href":"https://budgetpixel.com/contact","label":"Support"}],"primary":{"type":"button","label":"Get API keys","href":"https://budgetpixel.com/developers"}},"footer":{"socials":{"website":"https://budgetpixel.com","x":"https://x.com/budgetpixel","youtube":"https://www.youtube.com/@budgetpixelai","discord":"https://discord.gg/tDbT2RDmkw","github":"https://github.com/budgetpixel-ai"},"links":[{"header":"Platform","items":[{"label":"API overview","href":"https://budgetpixel.com/api"},{"label":"Model catalog","href":"https://budgetpixel.com/models"},{"label":"MCP server","href":"https://budgetpixel.com/mcp"},{"label":"Features","href":"https://budgetpixel.com/features"}]},{"header":"Developers","items":[{"label":"Get API keys","href":"https://budgetpixel.com/developers"},{"label":"Pricing \u0026 credits","href":"https://budgetpixel.com/pricing"},{"label":"Quickstart","href":"https://docs.budgetpixel.com/quickstart"},{"label":"Authentication","href":"https://docs.budgetpixel.com/authentication"}]},{"header":"Company","items":[{"label":"BudgetPixel","href":"https://budgetpixel.com"},{"label":"Blog","href":"https://budgetpixel.com/blog"},{"label":"Contact","href":"https://budgetpixel.com/contact"}]},{"header":"Legal","items":[{"label":"Developer API Terms","href":"https://budgetpixel.com/developer-terms"},{"label":"Terms of Service","href":"https://budgetpixel.com/terms"},{"label":"Privacy Policy","href":"https://budgetpixel.com/privacy"}]}]},"seo":{"metatags":{"og:site_name":"BudgetPixel API","twitter:site":"@budgetpixel"},"indexing":"all"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"budgetpixel","hasAudioNarration":false,"actualSubdomain":"budgetpixel","customDomains":["docs.budgetpixel.com"],"gitSource":{"type":"github","owner":"gliu6","repo":"budget-pixel-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af39ca52f3e1156a3d19c93","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":112},{"language":"default","tag":"Images","count":35},{"language":"default","tag":"Guides","count":28},{"language":"default","tag":"Videos","count":20},{"language":"default","tag":"Alibaba","count":12},{"language":"default","tag":"APIs","count":10},{"language":"default","tag":"Kling","count":10},{"language":"default","tag":"Jobs","count":9},{"language":"default","tag":"Black Forest Labs","count":8},{"language":"default","tag":"Characters","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/classification/classify-a-songs-music-genre","slug":"/api-reference/classification/classify-a-songs-music-genre","pageMetadata":{"title":"Classify a song's music genre","description":"Classify one song into BudgetPixel's canonical music genre taxonomy —\nthe same classifier that powers the site's music gallery. **Synchronous**:\nthe response carries the genre plus style/mood tags and a confidence score.\n\n**Input**: one song (`audio`), max **20 MB** and **7 minutes**, as MP3, WAV,\nOGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from\n[`POST /v1/uploads`](/api-reference/files/upload-input-media), a data URI, or\nraw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks.\n\nThe classifier listens to a ~30-second excerpt sampled from ~25% into the\ntrack (the `clip` field in the response tells you the exact window). Only\nthat excerpt is retained — privately, for ~1 day — never the full upload.\n\n**Pricing: flat 10 credits per song.** Estimate via\n[`POST /v1/cost`](/api-reference/models/estimate-the-cost-of-a-request) with\n`{\"model\": \"music-genre\"}`. Charged on success only — a classifier failure\ncosts nothing.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /classifications/music-genre","href":"/api-reference/classification/classify-a-songs-music-genre","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Classify one song into BudgetPixel’s canonical music genre taxonomy —\\nthe same classifier that powers the site’s music gallery. \", _jsx(_components.strong, {\n children: \"Synchronous\"\n }), \":\\nthe response carries the genre plus style/mood tags and a confidence score.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Input\"\n }), \": one song (\", _jsx(_components.code, {\n children: \"audio\"\n }), \"), max \", _jsx(_components.strong, {\n children: \"20 MB\"\n }), \" and \", _jsx(_components.strong, {\n children: \"7 minutes\"\n }), \", as MP3, WAV,\\nOGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from\\n\", _jsx(_components.a, {\n href: \"/api-reference/files/upload-input-media\",\n children: _jsx(_components.code, {\n children: \"POST /v1/uploads\"\n })\n }), \", a data URI, or\\nraw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The classifier listens to a ~30-second excerpt sampled from ~25% into the\\ntrack (the \", _jsx(_components.code, {\n children: \"clip\"\n }), \" field in the response tells you the exact window). Only\\nthat excerpt is retained — privately, for ~1 day — never the full upload.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Pricing: flat 10 credits per song.\"\n }), \" Estimate via\\n\", _jsx(_components.a, {\n href: \"/api-reference/models/estimate-the-cost-of-a-request\",\n children: _jsx(_components.code, {\n children: \"POST /v1/cost\"\n })\n }), \" with\\n\", _jsx(_components.code, {\n children: \"{\\\"model\\\": \\\"music-genre\\\"}\"\n }), \". Charged on success only — a classifier failure\\ncosts nothing.\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Classify a song's music genre","description":"Classify one song into BudgetPixel's canonical music genre taxonomy —\nthe same classifier that powers the site's music gallery. **Synchronous**:\nthe response carries the genre plus style/mood tags and a confidence score.\n\n**Input**: one song (`audio`), max **20 MB** and **7 minutes**, as MP3, WAV,\nOGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from\n[`POST /v1/uploads`](/api-reference/files/upload-input-media), a data URI, or\nraw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks.\n\nThe classifier listens to a ~30-second excerpt sampled from ~25% into the\ntrack (the `clip` field in the response tells you the exact window). Only\nthat excerpt is retained — privately, for ~1 day — never the full upload.\n\n**Pricing: flat 10 credits per song.** Estimate via\n[`POST /v1/cost`](/api-reference/models/estimate-the-cost-of-a-request) with\n`{\"model\": \"music-genre\"}`. Charged on success only — a classifier failure\ncosts nothing.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /classifications/music-genre","href":"/api-reference/classification/classify-a-songs-music-genre","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Classify one song into BudgetPixel's canonical music genre taxonomy —\nthe same classifier that powers the site's music gallery. **Synchronous**:\nthe response carries the genre plus style/mood tags and a confidence score.\n\n**Input**: one song (`audio`), max **20 MB** and **7 minutes**, as MP3, WAV,\nOGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from\n[`POST /v1/uploads`](/api-reference/files/upload-input-media), a data URI, or\nraw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks.\n\nThe classifier listens to a ~30-second excerpt sampled from ~25% into the\ntrack (the `clip` field in the response tells you the exact window). Only\nthat excerpt is retained — privately, for ~1 day — never the full upload.\n\n**Pricing: flat 10 credits per song.** Estimate via\n[`POST /v1/cost`](/api-reference/models/estimate-the-cost-of-a-request) with\n`{\"model\": \"music-genre\"}`. Charged on success only — a classifier failure\ncosts nothing.\n","operationId":"classifyMusicGenre","requestBody":"ea278434-e004-4a6c-b3dc-9720a9c1cbff","responses":{"200":"1186be97-05d4-4376-94a5-638cce972696","400":"408067af-4fe9-4aa4-babb-7dad45b33673","401":"0ab352a0-817f-46d6-9d17-798feef0a9eb","402":"622a0229-53a9-4115-97ca-c148967d0957","429":"94491752-a6ac-4653-b45e-3a280e79c5a3"},"summary":"Classify a song's music genre","tags":["Classification"],"method":"post","type":"path","servers":["c467e0be-db2f-4653-9ee5-d1d1a1bce746"],"security":["6ab85b7e-0c95-4cb9-8846-bb35d480904c"],"path":"/classifications/music-genre","baseUrlOptions":["https://api.budgetpixel.com/v1"],"title":"Classify a song's music genre","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"audio":{"description":"One song (public URL, uploaded-file URL, data URI, or raw base64). Max 20 MB and 7 minutes. MP3/WAV/OGG/M4A/FLAC.","type":"string","isRequired":true,"uniqueKey":"audio","typeLabel":"string"}},"required":["audio"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"audio":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"1186be97-05d4-4376-94a5-638cce972696":{"content":{"application/json":{"schema":{"properties":{"clip":{"description":"The excerpt the classifier heard.","properties":{"duration_seconds":{"type":"number","uniqueKey":"clip.duration_seconds","typeLabel":"number"},"start_seconds":{"type":"number","uniqueKey":"clip.start_seconds","typeLabel":"number"}},"type":"object","uniqueKey":"clip","typeLabel":"object"},"confidence":{"description":"Classifier confidence, 0-1.","type":"number","uniqueKey":"confidence","typeLabel":"number"},"credits_charged":{"type":"integer","uniqueKey":"credits_charged","typeLabel":"integer"},"genre":{"description":"Canonical genre, e.g. `Electronic \u0026 Dance`. One of the site's music genres.","type":"string","uniqueKey":"genre","typeLabel":"string"},"genre_slug":{"description":"URL-safe slug of the genre, e.g. `electronic-and-dance`.","type":"string","uniqueKey":"genre_slug","typeLabel":"string"},"id":{"description":"Classification request id (audit reference).","type":"string","uniqueKey":"id","typeLabel":"string"},"mood":{"description":"One short mood phrase.","type":"string","uniqueKey":"mood","typeLabel":"string"},"tags":{"description":"3-6 style/mood/instrument tags.","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"tags","typeLabel":"string[]"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"clip":{"duration_seconds":123,"start_seconds":123},"confidence":123,"credits_charged":123,"genre":"\u003cstring>","genre_slug":"\u003cstring>","id":"\u003cstring>","mood":"\u003cstring>","tags":["\u003cstring>"]}}},"exampleType":"generated"}},"description":"The classification.","exampleType":"generated"},"408067af-4fe9-4aa4-babb-7dad45b33673":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"properties":{"code":{"description":"Stable machine-readable code.","example":"model_not_available","type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"},"type":{"description":"Error category.","example":"invalid_request_error","type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.type","typeLabel":"string"}},"required":["type","code","message"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Returned (with HTTP 400) when the input content moderation gate blocks a generation request. The block is a property of the request's prompt or input media — reword the prompt or change the input and retry. Branch on `restriction_reason`, which is stable and machine-readable.","required":["error","restriction_reason"],"properties":{"error":{"description":"Human-readable explanation of the block.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"string"},"restriction_reason":{"description":"Stable machine-readable block reason.","enum":["input_csam","input_explicit_adult","input_upload_nudity","input_celebrity_likeness","strict_model_nsfw"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.restriction_reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_available","message":"\u003cstring>","type":"invalid_request_error"}}}},"exampleType":"generated"}},"description":"The request was malformed, referenced an unavailable model, or was blocked by input content moderation (moderation blocks carry a `restriction_reason` — see ModerationBlocked).","exampleType":"generated"},"0ab352a0-817f-46d6-9d17-798feef0a9eb":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"description":"Stable machine-readable code.","example":"model_not_available","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"description":"Error category.","example":"invalid_request_error","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"}},"required":["type","code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_available","message":"\u003cstring>","type":"invalid_request_error"}}}},"exampleType":"generated"}},"description":"Missing or invalid API key.","exampleType":"generated"},"622a0229-53a9-4115-97ca-c148967d0957":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"description":"Stable machine-readable code.","example":"model_not_available","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"description":"Error category.","example":"invalid_request_error","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"}},"required":["type","code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_available","message":"\u003cstring>","type":"invalid_request_error"}}}},"exampleType":"generated"}},"description":"Insufficient credits.","exampleType":"generated"},"94491752-a6ac-4653-b45e-3a280e79c5a3":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"properties":{"code":{"description":"Stable machine-readable code.","example":"model_not_available","type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"},"type":{"description":"Error category.","example":"invalid_request_error","type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.type","typeLabel":"string"}},"required":["type","code","message"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"`429` body when your account already has as many jobs of this kind\n(image, video or audio) in flight as its concurrency cap allows. Submit\nthe next job when one of your running jobs finishes.\n","required":["error","code","queue_full","queue_limit","active_jobs","retry_after_seconds"],"properties":{"active_jobs":{"description":"Jobs of this kind in flight right now.","type":"integer","isRequired":true,"uniqueKey":"oneOf.1.active_jobs","typeLabel":"integer"},"code":{"enum":["queue_full"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"enum\u003cstring>"},"error":{"description":"Human-readable message.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"string"},"queue_full":{"enum":[true],"type":"boolean","isRequired":true,"uniqueKey":"oneOf.1.queue_full","typeLabel":"enum\u003cboolean>"},"queue_limit":{"description":"Your concurrency cap for this kind of job.","type":"integer","isRequired":true,"uniqueKey":"oneOf.1.queue_limit","typeLabel":"integer"},"retry_after_seconds":{"description":"Same value as the `Retry-After` header.","type":"integer","isRequired":true,"uniqueKey":"oneOf.1.retry_after_seconds","typeLabel":"integer"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_available","message":"\u003cstring>","type":"invalid_request_error"}}}},"exampleType":"generated"}},"description":"A limit was reached. Every `429` carries `Retry-After` (seconds). The\nper-minute rate limit, the upload limit and the hourly API post cap answer\nwith the `Error` envelope, code `rate_limited`. The monthly spend limit answers with\ncode `monthly_spend_limit_reached`, and its `Retry-After` counts down to the\nstart of next month (raising the limit in the console clears it sooner).\nA full concurrency queue answers with the flat `QueueFull` body (3D jobs:\nthe `Error` envelope with code `queue_full`); its `Retry-After` is a\nsuggested wait, because a slot frees as soon as one of your running jobs\nfinishes.\n","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"minimum":1,"type":"integer"}}},"exampleType":"generated"}},"security":{"6ab85b7e-0c95-4cb9-8846-bb35d480904c":{"ApiKeyAuth":{"bearerFormat":"bpx_live_*","description":"API key as a bearer token: Authorization: Bearer bpx_live_xxx","scheme":"bearer","type":"http","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"c467e0be-db2f-4653-9ee5-d1d1a1bce746":{"description":"Production","url":"https://api.budgetpixel.com/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"bpx_live_*","description":"API key as a bearer token: Authorization: Bearer bpx_live_xxx","scheme":"bearer","type":"http","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key as a bearer token: Authorization: Bearer bpx_live_xxx","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"budgetpixel","siteName":"BudgetPixel API","title":"Classify a song's music genre - BudgetPixel API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T22:37:38.581Z","originalFileLocation":"api-reference/classification/classify-a-songs-music-genre.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=\"system\"}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=\"Classify one song into BudgetPixel\u0026#x27;s canonical music genre taxonomy — the same classifier that powers the site\u0026#x27;s music gallery. Synchronous: the response carries the genre plus style/mood tags and a confidence score. Input: one song (audio), max 20 MB and 7 minutes, as MP3, WAV, OGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from POST /v1/uploads, a data URI, or raw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks. The classifier listens to a ~30-second excerpt sampled from ~25% into the track (the clip field in the response tells you the exact window). Only that excerpt is retained — privately, for ~1 day — never the full upload. Pricing: flat 10 credits per song. Estimate via POST /v1/cost with {\u0026quot;model\u0026quot;: \u0026quot;music-genre\u0026quot;}. Charged on success only — a classifier failure costs nothing.\">\u003cmeta data-mint-head name=\"application-name\" content=\"BudgetPixel API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_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/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_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/budgetpixel/2t9fd9VwsGZvdkqJ/_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/budgetpixel/2t9fd9VwsGZvdkqJ/_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/budgetpixel/2t9fd9VwsGZvdkqJ/_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/budgetpixel/2t9fd9VwsGZvdkqJ/_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/budgetpixel/2t9fd9VwsGZvdkqJ/_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/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Classify a song\u0026#x27;s music genre - BudgetPixel API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Classify one song into BudgetPixel\u0026#x27;s canonical music genre taxonomy — the same classifier that powers the site\u0026#x27;s music gallery. Synchronous: the response carries the genre plus style/mood tags and a confidence score. Input: one song (audio), max 20 MB and 7 minutes, as MP3, WAV, OGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from POST /v1/uploads, a data URI, or raw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks. The classifier listens to a ~30-second excerpt sampled from ~25% into the track (the clip field in the response tells you the exact window). Only that excerpt is retained — privately, for ~1 day — never the full upload. Pricing: flat 10 credits per song. Estimate via POST /v1/cost with {\u0026quot;model\u0026quot;: \u0026quot;music-genre\u0026quot;}. Charged on success only — a classifier failure costs nothing.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"BudgetPixel API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://budgetpixel.mintlify.site/_mintlify/api/og/v2?division=Classification\u0026amp;title=Classify+a+song%27s+music+genre\u0026amp;description=Classify+one+song+into+BudgetPixel%27s+canonical+music+genre+taxonomy+%E2%80%94%0Athe+same+classifier+that+powers+the+site%27s+music+gallery.+**Synchronous**%3A%0Athe+response+ca\u0026amp;theme=6496c7f1c5cb7e2919a421be\u0026amp;signature=ca8ff914c18c58b172b2f458eff935defe8b5a925e9edb76742f8064c303597c\">\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=\"Classify a song\u0026#x27;s music genre - BudgetPixel API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Classify one song into BudgetPixel\u0026#x27;s canonical music genre taxonomy — the same classifier that powers the site\u0026#x27;s music gallery. Synchronous: the response carries the genre plus style/mood tags and a confidence score. Input: one song (audio), max 20 MB and 7 minutes, as MP3, WAV, OGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from POST /v1/uploads, a data URI, or raw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks. The classifier listens to a ~30-second excerpt sampled from ~25% into the track (the clip field in the response tells you the exact window). Only that excerpt is retained — privately, for ~1 day — never the full upload. Pricing: flat 10 credits per song. Estimate via POST /v1/cost with {\u0026quot;model\u0026quot;: \u0026quot;music-genre\u0026quot;}. Charged on success only — a classifier failure costs nothing.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://budgetpixel.mintlify.site/_mintlify/api/og/v2?division=Classification\u0026amp;title=Classify+a+song%27s+music+genre\u0026amp;description=Classify+one+song+into+BudgetPixel%27s+canonical+music+genre+taxonomy+%E2%80%94%0Athe+same+classifier+that+powers+the+site%27s+music+gallery.+**Synchronous**%3A%0Athe+response+ca\u0026amp;theme=6496c7f1c5cb7e2919a421be\u0026amp;signature=ca8ff914c18c58b172b2f458eff935defe8b5a925e9edb76742f8064c303597c\">\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/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"BudgetPixel API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/classification/classify-a-songs-music-genre.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.budgetpixel.com/#organization\",\"name\":\"BudgetPixel API\",\"url\":\"https://docs.budgetpixel.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/budgetpixel/LxKf7gBlohT2vrfk/logo/light.svg?fit=max\u0026auto=format\u0026n=LxKf7gBlohT2vrfk\u0026q=85\u0026s=0e90b5dbefed15ed3def253ba7befe22\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.budgetpixel.com#website\",\"name\":\"BudgetPixel API\",\"url\":\"https://docs.budgetpixel.com\",\"publisher\":{\"@id\":\"https://docs.budgetpixel.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre#webpage\",\"url\":\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre\",\"name\":\"Classify a song's music genre\",\"description\":\"Classify one song into BudgetPixel's canonical music genre taxonomy — the same classifier that powers the site's music gallery. Synchronous: the response carries the genre plus style/mood tags and a confidence score. Input: one song (audio), max 20 MB and 7 minutes, as MP3, WAV, OGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from POST /v1/uploads, a data URI, or raw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks. The classifier listens to a ~30-second excerpt sampled from ~25% into the track (the clip field in the response tells you the exact window). Only that excerpt is retained — privately, for ~1 day — never the full upload. Pricing: flat 10 credits per song. Estimate via POST /v1/cost with {\\\"model\\\": \\\"music-genre\\\"}. Charged on success only — a classifier failure costs nothing.\",\"dateModified\":\"2026-11-10T22:37:38.581Z\",\"isPartOf\":{\"@id\":\"https://docs.budgetpixel.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"BudgetPixel API\",\"item\":\"https://docs.budgetpixel.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Classify a song's music genre\",\"item\":\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre#apireference\",\"headline\":\"Classify a song's music genre\",\"name\":\"Classify a song's music genre\",\"description\":\"Classify one song into BudgetPixel's canonical music genre taxonomy — the same classifier that powers the site's music gallery. Synchronous: the response carries the genre plus style/mood tags and a confidence score. Input: one song (audio), max 20 MB and 7 minutes, as MP3, WAV, OGG, M4A, or FLAC. Accepts a public URL, an uploaded-file URL from POST /v1/uploads, a data URI, or raw base64. Tip: a 7-minute WAV exceeds 20 MB — use MP3 for long tracks. The classifier listens to a ~30-second excerpt sampled from ~25% into the track (the clip field in the response tells you the exact window). Only that excerpt is retained — privately, for ~1 day — never the full upload. Pricing: flat 10 credits per song. Estimate via POST /v1/cost with {\\\"model\\\": \\\"music-genre\\\"}. Charged on success only — a classifier failure costs nothing.\",\"url\":\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre\",\"mainEntityOfPage\":{\"@id\":\"https://docs.budgetpixel.com/api-reference/classification/classify-a-songs-music-genre#webpage\"},\"dateModified\":\"2026-11-10T22:37:38.581Z\",\"publisher\":{\"@id\":\"https://docs.budgetpixel.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.budgetpixel.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"BudgetPixel API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"BudgetPixel API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/classification/classify-a-songs-music-genre.md","siteName":"BudgetPixel API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Account","pages":[{"title":"Get credit balance","deprecated":null,"version":null,"openapi":"/openapi.yaml get /account/credits","href":"/api-reference/account/get-credit-balance"}]},{"group":"Models","pages":[{"title":"List available models","deprecated":null,"version":null,"openapi":"/openapi.yaml get /models","href":"/api-reference/models/list-available-models"},{"title":"Estimate the cost of a request","deprecated":null,"version":null,"openapi":"/openapi.yaml post /cost","href":"/api-reference/models/estimate-the-cost-of-a-request"}]},{"group":"Files","pages":[{"title":"Upload input media","deprecated":null,"version":null,"openapi":"/openapi.yaml post /uploads","href":"/api-reference/uploads/upload-input-media"}]},{"group":"Stock Images","pages":[{"title":"Search free stock images","deprecated":null,"version":null,"openapi":"/openapi.yaml get /stock/images","href":"/api-reference/stock-images/search-free-stock-images"}]},{"group":"Stock Sound Effects","pages":[{"title":"Search free stock sound effects","deprecated":null,"version":null,"openapi":"/openapi.yaml get /stock/sound-effects","href":"/api-reference/stock-sound-effects/search-free-stock-sound-effects"}]},{"group":"Stock Music","pages":[{"title":"Search free stock music","deprecated":null,"version":null,"openapi":"/openapi.yaml get /stock/music","href":"/api-reference/stock-music/search-free-stock-music"}]},{"group":"Images","pages":[{"group":"Black Forest Labs","pages":[{"title":"Generate image with FLUX 3","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-3-image","href":"/api-reference/black-forest-labs/generate-image-with-flux-3"},{"title":"Generate image with FLUX 3 Klein","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-3-image-klein","href":"/api-reference/black-forest-labs/generate-image-with-flux-3-klein"},{"title":"Generate image with FLUX 2 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-2-pro","href":"/api-reference/black-forest-labs/generate-image-with-flux-2-pro"},{"title":"Generate image with FLUX 2 Dev","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-2-dev","href":"/api-reference/black-forest-labs/generate-image-with-flux-2-dev"},{"title":"Generate image with FLUX 2 Klein","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-2-klein","href":"/api-reference/black-forest-labs/generate-image-with-flux-2-klein"},{"title":"Generate image with FLUX 1.1 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-1.1-pro","href":"/api-reference/black-forest-labs/generate-image-with-flux-11-pro"}]},{"group":"Bytedance","pages":[{"title":"Generate image with SeeDream 4.5","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-4.5","href":"/api-reference/bytedance/generate-image-with-seedream-45"},{"title":"Generate image with SeeDream 5.0 Lite","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-5.0-lite","href":"/api-reference/bytedance/generate-image-with-seedream-50-lite"},{"title":"Generate image with SeeDream 5.0 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-5.0-pro","href":"/api-reference/bytedance/generate-image-with-seedream-50-pro"},{"title":"Generate image with SeeDream 5.0 Flash","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-5.0-flash","href":"/api-reference/bytedance/generate-image-with-seedream-50-flash"},{"title":"Generate image with Seedream 5.5","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-5.5","href":"/api-reference/bytedance/generate-image-with-seedream-55"}]},{"group":"Alibaba","pages":[{"title":"Generate image with Qwen Image 3.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image-3.0","href":"/api-reference/alibaba/generate-image-with-qwen-image-30"},{"title":"Generate image with Qwen Image 3.0 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image-3.0-pro","href":"/api-reference/alibaba/generate-image-with-qwen-image-30-pro"},{"title":"Generate image with Qwen Image 2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image-2.0","href":"/api-reference/alibaba/generate-image-with-qwen-image-20"},{"title":"Generate image with Qwen Image 2.0 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image-2.0-pro","href":"/api-reference/alibaba/generate-image-with-qwen-image-20-pro"},{"title":"Generate image with Qwen-Image","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image","href":"/api-reference/alibaba/generate-image-with-qwen-image"},{"title":"Generate image with Wan 2.7","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/wan-2.7","href":"/api-reference/alibaba/generate-image-with-wan-27"},{"title":"Generate image with Wan 2.7 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/wan-2.7-pro","href":"/api-reference/alibaba/generate-image-with-wan-27-pro"},{"title":"Generate image with Z-Image-Turbo","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/z-image-turbo","href":"/api-reference/alibaba/generate-image-with-z-image-turbo"}]},{"group":"Google","pages":[{"title":"Generate image with Nano Banana 2.1","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/nano-banana-2.1","href":"/api-reference/google/generate-image-with-nano-banana-21"},{"title":"Generate image with Nano Banana Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/nano-banana-pro","href":"/api-reference/google/generate-image-with-nano-banana-pro"},{"title":"Generate image with Nano Banana 2","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/nano-banana-2","href":"/api-reference/google/generate-image-with-nano-banana-2"},{"title":"Generate image with Nano Banana 2 Lite","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/nano-banana-2-lite","href":"/api-reference/google/generate-image-with-nano-banana-2-lite"}]},{"group":"Kling","pages":[{"title":"Generate image with Kling v3","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/kling-v3","href":"/api-reference/kling/generate-image-with-kling-v3"},{"title":"Generate image with Kling v3 Omni","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/kling-v3-omni","href":"/api-reference/kling/generate-image-with-kling-v3-omni"}]},{"group":"Meta","pages":[{"title":"Generate image with Muse Image 1.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/muse-image-1.0","href":"/api-reference/meta/generate-image-with-muse-image-10"}]},{"group":"OpenAI","pages":[{"title":"Generate image with GPT-Image-2","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2","href":"/api-reference/openai/generate-image-with-gpt-image-2"},{"title":"Generate image with GPT Image 2.6 Sunburst","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2.6-sunburst","href":"/api-reference/openai/generate-image-with-gpt-image-26-sunburst"},{"title":"Generate image with GPT Image 2.6 Flare","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2.6-flare","href":"/api-reference/openai/generate-image-with-gpt-image-26-flare"},{"title":"Generate image with GPT Image 2.5 Sunburst","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2.5-sunburst","href":"/api-reference/openai/generate-image-with-gpt-image-25-sunburst"},{"title":"Generate image with GPT Image 2.5 Flare","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2.5-flare","href":"/api-reference/openai/generate-image-with-gpt-image-25-flare"}]},{"group":"Pruna AI","pages":[{"title":"Generate image with P-Image","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/p-image","href":"/api-reference/pruna-ai/generate-image-with-p-image"},{"title":"Generate image with P-Image Edit","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/p-image-edit","href":"/api-reference/pruna-ai/generate-image-with-p-image-edit"}]},{"group":"xAI","pages":[{"title":"Generate image with Grok Imagine","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/grok-imagine-image","href":"/api-reference/xai/generate-image-with-grok-imagine"},{"title":"Generate image with Grok Imagine 2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/grok-imagine-image-2","href":"/api-reference/xai/generate-image-with-grok-imagine-20"}]}]},{"group":"Videos","pages":[{"group":"Kling","pages":[{"title":"Generate video with Kling 4.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-4.0","href":"/api-reference/kling/generate-video-with-kling-40"},{"title":"Generate video with Kling 3.0 Standard","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v3.0-standard","href":"/api-reference/kling/generate-video-with-kling-30-standard"},{"title":"Generate video with Kling 3.0 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v3.0-pro","href":"/api-reference/kling/generate-video-with-kling-30-pro"},{"title":"Generate video with Kling 3.0 4K","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v3.0-4k","href":"/api-reference/kling/generate-video-with-kling-30-4k"},{"title":"Generate video with Kling 3.0 Turbo","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-3.0-turbo","href":"/api-reference/kling/generate-video-with-kling-30-turbo"},{"title":"Generate video with Kling V3 Omni","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v3-omni-video","href":"/api-reference/kling/generate-video-with-kling-v3-omni"},{"title":"Generate video with Kling v2.6 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v2.6-pro","href":"/api-reference/kling/generate-video-with-kling-v26-pro"}]},{"group":"ByteDance (SeeDance)","pages":[{"title":"Generate video with SeeDance 2.5","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/seedance-2.5","href":"/api-reference/bytedance-seedance/generate-video-with-seedance-25"},{"title":"Generate video with SeeDance 2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/seedance-2.0","href":"/api-reference/bytedance-seedance/generate-video-with-seedance-20"},{"title":"Generate video with SeeDance 2.0 Fast","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/seedance-2.0-fast","href":"/api-reference/bytedance-seedance/generate-video-with-seedance-20-fast"},{"title":"Generate video with SeeDance 2.0 Mini","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/seedance-2.0-mini","href":"/api-reference/bytedance-seedance/generate-video-with-seedance-20-mini"}]},{"group":"Alibaba","pages":[{"title":"Generate video with Wan 3.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/wan-3.0-video","href":"/api-reference/alibaba/generate-video-with-wan-30"},{"title":"Generate video with Wan 3.0 Prime","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/wan-3.0-video-prime","href":"/api-reference/alibaba/generate-video-with-wan-30-prime"},{"title":"Generate video with Wan 2.7","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/wan-2.7-video","href":"/api-reference/alibaba/generate-video-with-wan-27"},{"title":"Generate video with HappyHorse 1.1","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/happyhorse-1.1","href":"/api-reference/alibaba/generate-video-with-happyhorse-11"}]},{"group":"MiniMax","pages":[{"title":"Generate video with MiniMax H3","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/minimax-h3","href":"/api-reference/minimax/generate-video-with-minimax-h3"},{"title":"Generate video with MiniMax H3 Max","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/minimax-h3-max","href":"/api-reference/minimax/generate-video-with-minimax-h3-max"}]},{"group":"Pruna AI","pages":[{"title":"Generate video with P-Video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/p-video","href":"/api-reference/pruna-ai/generate-video-with-p-video"},{"title":"Generate video with P-Video 2 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/p-video-2-pro","href":"/api-reference/pruna-ai/generate-video-with-p-video-2-pro"}]},{"group":"Black Forest Labs","pages":[{"title":"Generate video with FLUX 3 Video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/flux-3-video","href":"/api-reference/black-forest-labs/generate-video-with-flux-3-video"}]}]},{"group":"Music","pages":[{"group":"MiniMax","pages":[{"title":"Generate music with Music 3.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/music-3.0","href":"/api-reference/music/generate-music-with-music-30"},{"title":"Generate music with Music 2.6","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/music-2.6","href":"/api-reference/music/generate-music-with-music-26"}]},{"group":"Google","pages":[{"title":"Generate music with Lyria 3","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/lyria-3","href":"/api-reference/music/generate-music-with-lyria-3"}]},{"group":"Mureka","pages":[{"title":"Generate music with Mureka V9","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/mureka-v9","href":"/api-reference/music/generate-music-with-mureka-v9"}]},{"group":"Sonilo","pages":[{"title":"Generate music with Sonilo Music","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/sonilo-music","href":"/api-reference/music/generate-music-with-sonilo-music"},{"title":"Generate music with Sonilo Video Music","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/sonilo-video-music","href":"/api-reference/music/generate-music-with-sonilo-video-music"}]}]},{"group":"Sound Effects","pages":[{"group":"Sonilo","pages":[{"title":"Generate sound effect with Sonilo SFX","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/sonilo-sfx","href":"/api-reference/sound-effects/generate-sound-effect-with-sonilo-sfx"},{"title":"Generate sound effect with Sonilo Video SFX","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/sonilo-video-sfx","href":"/api-reference/sound-effects/generate-sound-effect-with-sonilo-video-sfx"}]}]},{"group":"3D Models","pages":[{"group":"Tripo","pages":[{"title":"Generate a 3D model with Tripo H3.1","deprecated":null,"version":null,"openapi":"/openapi.yaml post /3d/tripo-h3.1","href":"/api-reference/3d-models/generate-a-3d-model-with-tripo-h31"}]},{"group":"Meshy","pages":[{"title":"Generate a 3D model with Meshy 7.1","deprecated":null,"version":null,"openapi":"/openapi.yaml post /3d/meshy-7.1","href":"/api-reference/3d-models/generate-a-3d-model-with-meshy-71"},{"title":"List 3D model moves","deprecated":null,"version":null,"openapi":"/openapi.yaml get /3d/moves","href":"/api-reference/3d-models/list-3d-model-moves"}]}]},{"group":"Upscaling","pages":[{"group":"Pruna AI","pages":[{"title":"Upscale an image with P-Image Upscale","deprecated":null,"version":null,"openapi":"/openapi.yaml post /upscales/p-image-upscale","href":"/api-reference/upscaling/upscale-an-image-with-p-image-upscale"}]},{"group":"Clarity","pages":[{"title":"Upscale an image with Clarity Upscaler","deprecated":null,"version":null,"openapi":"/openapi.yaml post /upscales/clarity-upscaler","href":"/api-reference/upscaling/upscale-an-image-with-clarity-upscaler"}]},{"group":"Topaz Labs","pages":[{"title":"Upscale a video with Topaz Labs Video Upscale","deprecated":null,"version":null,"openapi":"/openapi.yaml post /video-upscales/topazlabs-video-upscale","href":"/api-reference/upscaling/upscale-a-video-with-topaz-labs-video-upscale"}]},{"group":"Black Forest Labs","pages":[{"title":"Upscale a video with FLUX 3 Video Upscale","deprecated":null,"version":null,"openapi":"/openapi.yaml post /video-upscales/flux-3-video-upscale","href":"/api-reference/upscaling/upscale-a-video-with-flux-3-video-upscale"}]}]},{"group":"Depth Maps","pages":[{"group":"ByteDance","pages":[{"title":"Make a depth map with Video Depth Anything","deprecated":null,"version":null,"openapi":"/openapi.yaml post /depth-maps/video-depth-anything","href":"/api-reference/depth-maps/make-a-depth-map-with-video-depth-anything"}]}]},{"group":"Motion Control","pages":[{"group":"BytePlus","pages":[{"title":"Motion control with DreamActor M2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /motion-control/dreamactor-m2.0","href":"/api-reference/motion-control/motion-control-with-dreamactor-m20"}]},{"group":"Kling","pages":[{"title":"Motion control with Kling 3.0 Motion Control Standard","deprecated":null,"version":null,"openapi":"/openapi.yaml post /motion-control/kling-3-motion-control-std","href":"/api-reference/motion-control/motion-control-with-kling-30-motion-control-standard"}]}]},{"group":"Lip Sync","pages":[{"group":"BytePlus","pages":[{"title":"Lip sync with OmniHuman 2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /lip-sync/omni-human-2.0","href":"/api-reference/lip-sync/lip-sync-with-omnihuman-20"},{"title":"Lip sync with OmniHuman 1.5","deprecated":null,"version":null,"openapi":"/openapi.yaml post /lip-sync/omni-human-1.5","href":"/api-reference/lip-sync/lip-sync-with-omnihuman-15"}]},{"group":"Pruna AI","pages":[{"title":"Lip sync with P-Video Avatar","description":"P-Video Avatar — a talking avatar from one image and a speech clip. Priced per second of the input audio, rounded UP to whole seconds, by output resolution: 40 credits/second at 720p, 60 credits/second at 1080p (e.g. a 12.4s clip at 1080p bills as 13s x 60).\n\n**Asynchronous.** Returns a job `id` (the video is not in this response). Poll [`GET /v1/lip-sync/{id}`](/api-reference/lip-sync/get-lip-sync-job-status) until `status` is `succeeded` — the video URL is in that response's `video_url`.\n\nExamples, sample output and pricing: [P-Video Avatar](https://budgetpixel.com/models/p-video-avatar)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /lip-sync/p-video-avatar","href":"/api-reference/lip-sync/lip-sync-with-p-video-avatar"}]}]},{"group":"Classification","pages":[{"title":"Classify a song's music genre","deprecated":null,"version":null,"openapi":"/openapi.yaml post /classifications/music-genre","href":"/api-reference/classification/classify-a-songs-music-genre"}]},{"group":"Conversions","pages":[{"title":"Convert an image","description":"Convert an image to `png`, `jpg`, `webp`, or `gif`. **Synchronous** — the converted\nfile's download URL is in the response (no job to poll).\n\n**Pricing: 2 credits per conversion**, charged only on success. Estimate via\n[`POST /v1/cost`](/api-reference/models/estimate-the-cost-of-a-request) with\n`{\"model\": \"convert-image\"}`.\n\n`file` accepts a public URL (up to 30 MB), an uploaded-file URL from\n[`POST /v1/uploads`](/api-reference/files/upload-input-media), a data URI, or raw\nbase64. Input limit 20 MB. Results are stored privately and deleted after 7 days.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /convert/image","href":"/api-reference/conversions/convert-an-image"},{"title":"Convert a video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /convert/video","href":"/api-reference/conversions/convert-a-video"},{"title":"Convert an audio file","deprecated":null,"version":null,"openapi":"/openapi.yaml post /convert/audio","href":"/api-reference/conversions/convert-an-audio-file"}]},{"group":"Moderation","pages":[{"title":"Rate content NSFW level","deprecated":null,"version":null,"openapi":"/openapi.yaml post /moderations/nsfw","href":"/api-reference/moderation/rate-content-nsfw-level"},{"title":"Check content for CSAM","deprecated":null,"version":null,"openapi":"/openapi.yaml post /moderations/csam","href":"/api-reference/moderation/check-content-for-csam"}]},{"group":"Social","pages":[{"title":"Publish a post","deprecated":null,"version":null,"openapi":"/openapi.yaml post /posts","href":"/api-reference/social/publish-a-post"},{"title":"List themes you can post to","deprecated":null,"version":null,"openapi":"/openapi.yaml get /themes","href":"/api-reference/social/list-themes-you-can-post-to"}]},{"group":"Characters","pages":[{"title":"List characters you can cast","deprecated":null,"version":null,"openapi":"/openapi.yaml get /characters","href":"/api-reference/characters/list-characters-you-can-cast"},{"title":"Get a character","deprecated":null,"version":null,"openapi":"/openapi.yaml get /characters/{handle}","href":"/api-reference/characters/get-a-character"},{"title":"Recommend influencers for a brief","deprecated":null,"version":null,"openapi":"/openapi.yaml post /characters/recommend","href":"/api-reference/characters/recommend-influencers-for-a-brief"}]},{"group":"Wardrobe","pages":[{"title":"List outfits you can use","deprecated":null,"version":null,"openapi":"/openapi.yaml get /wardrobe","href":"/api-reference/wardrobe/list-outfits-you-can-use"},{"title":"Get an outfit","deprecated":null,"version":null,"openapi":"/openapi.yaml get /wardrobe/{handle}","href":"/api-reference/wardrobe/get-an-outfit"},{"title":"Add an outfit","deprecated":null,"version":null,"openapi":"/openapi.yaml post /wardrobe","href":"/api-reference/wardrobe/add-an-outfit"}]},{"group":"Poses","pages":[{"title":"List poses","deprecated":null,"version":null,"openapi":"/openapi.yaml get /poses","href":"/api-reference/poses/list-poses"},{"title":"Get a pose","deprecated":null,"version":null,"openapi":"/openapi.yaml get /poses/{handle}","href":"/api-reference/poses/get-a-pose"},{"title":"Design a pose","deprecated":null,"version":null,"openapi":"/openapi.yaml post /poses/designs","href":"/api-reference/poses/design-a-pose"},{"title":"Get a pose design","deprecated":null,"version":null,"openapi":"/openapi.yaml get /poses/designs/{id}","href":"/api-reference/poses/get-a-pose-design"},{"title":"Make a pose view","deprecated":null,"version":null,"openapi":"/openapi.yaml post /poses/{handle}/views","href":"/api-reference/poses/make-a-pose-view"},{"title":"Get a pose view job","deprecated":null,"version":null,"openapi":"/openapi.yaml get /poses/views/{id}","href":"/api-reference/poses/get-a-pose-view-job"}]},{"group":"Jobs","pages":[{"title":"Get image job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /images/{job_id}","href":"/api-reference/images/get-image-job-status"},{"title":"Get video job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /videos/{job_id}","href":"/api-reference/videos/get-video-job-status"},{"title":"Get music job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /audios/{job_id}","href":"/api-reference/audios/get-music-job-status"},{"title":"Get 3D model job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /3d/{job_id}","href":"/api-reference/3d-models/get-3d-model-job-status"},{"title":"Get upscale job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /upscales/{id}","href":"/api-reference/upscaling/get-upscale-job-status"},{"title":"Get video upscale job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /video-upscales/{id}","href":"/api-reference/upscaling/get-video-upscale-job-status"},{"title":"Get depth map job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /depth-maps/{id}","href":"/api-reference/depth-maps/get-depth-map-job-status"},{"title":"Get motion control job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /motion-control/{id}","href":"/api-reference/motion-control/get-motion-control-job-status"},{"title":"Get lip sync job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lip-sync/{id}","href":"/api-reference/lip-sync/get-lip-sync-job-status"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Classify a song's music genre - BudgetPixel API","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}