Authenticate BudgetPixel API requests with a bearer API key — create and manage keys in the developer console and pass them in the Authorization header.
Every request to the BudgetPixel API must include an API key as a bearer token:
Create, name, and revoke keys from your BudgetPixel account dashboard.
The full secret is shown once, at creation. Store it securely; it can’t be
retrieved later (only its prefix is shown afterward, to help you identify it).
Revoking a key takes effect immediately.
The developer API is available on every paid plan. On the Free plan you can still
create keys, and they
can call the free library searches: stock images,
stock sound effects and stock music (10 credits
per search). Any other request from a key whose account isn’t on an API-enabled plan
returns 403 api_access_not_enabled.
Keeping keys secure
Treat API keys like passwords. Never embed them in client-side code, mobile apps,
or public repositories — anyone with your key can spend your credits. Call the API
from your backend and keep keys in environment variables or a secrets manager.
Errors
Authentication and authorization failures use the standard
error envelope:
Status
code
Meaning
401
missing_api_key
No Authorization header.
401
invalid_api_key
Key is unknown or revoked.
403
api_access_not_enabled
Account’s plan can’t use this endpoint (Free-plan keys can only call the stock searches under /v1/stock/).
403
account_banned
Account is banned.
{"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":"6afa123e25f0e2ea6db8c11c","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":114},{"language":"default","tag":"Images","count":36},{"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":"Jobs","count":9},{"language":"default","tag":"Kling","count":9},{"language":"default","tag":"Black Forest Labs","count":8},{"language":"default","tag":"Music","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"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":"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":"full-page-search","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":"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":"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":"turbopuffer-dual-write","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},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"authentication","slug":"/authentication","pageMetadata":{"title":"Authentication","description":"Authenticate BudgetPixel API requests with a bearer API key — create and manage keys in the developer console and pass them in the Authorization header.","href":"/authentication"},"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: \"Authenticate BudgetPixel API requests with a bearer API key — create and manage keys in the developer console and pass them in the Authorization header.\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Every request to the BudgetPixel API must include an API key as a bearer token:`}),`\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:`Authorization: Bearer bpx_live_xxx`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.budgetpixel.com/v1/account/credits`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer bpx_live_xxx\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`managing-keys`,children:`Managing keys`}),`\n`,_jsx(_components.p,{children:`Create, name, and revoke keys from your BudgetPixel account dashboard.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The full secret is shown `,_jsx(_components.strong,{children:`once`}),`, at creation. Store it securely; it can’t be\nretrieved later (only its prefix is shown afterward, to help you identify it).`]}),`\n`,_jsx(_components.li,{children:`Revoking a key takes effect immediately.`}),`\n`,_jsxs(_components.li,{children:[`The developer API is available on every paid plan. On the `,_jsx(_components.strong,{children:`Free`}),` plan you can still\ncreate keys, and they\ncan call the free library searches: `,_jsx(_components.a,{href:`/stock-images`,children:`stock images`}),`,\n`,_jsx(_components.a,{href:`/stock-sound-effects`,children:`stock sound effects`}),` and `,_jsx(_components.a,{href:`/stock-music`,children:`stock music`}),` (10 credits\nper search). Any other request from a key whose account isn’t on an API-enabled plan\nreturns `,_jsx(_components.code,{children:`403 api_access_not_enabled`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`keeping-keys-secure`,children:`Keeping keys secure`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Treat API keys like passwords. Never embed them in client-side code, mobile apps,\nor public repositories — anyone with your key can spend your credits. Call the API\nfrom your backend and keep keys in environment variables or a secrets manager.`})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Authentication and authorization failures use the standard\n`,_jsx(_components.a,{href:`/concepts/async-jobs#errors`,children:`error envelope`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`missing_api_key`})}),_jsxs(_components.td,{children:[`No `,_jsx(_components.code,{children:`Authorization`}),` header.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_api_key`})}),_jsx(_components.td,{children:`Key is unknown or revoked.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`api_access_not_enabled`})}),_jsxs(_components.td,{children:[`Account’s plan can’t use this endpoint (Free-plan keys can only call the stock searches under `,_jsx(_components.code,{children:`/v1/stock/`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`account_banned`})}),_jsx(_components.td,{children:`Account is banned.`})]})]})]})]})}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":"Authentication","description":"Authenticate BudgetPixel API requests with a bearer API key — create and manage keys in the developer console and pass them in the Authorization header.","href":"/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Managing keys","slug":"managing-keys","depth":2,"children":[]},{"title":"Keeping keys secure","slug":"keeping-keys-secure","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"budgetpixel","siteName":"BudgetPixel API","title":"Authentication - BudgetPixel API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T23:42:12.504Z","originalFileLocation":"authentication.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=\"Authenticate BudgetPixel API requests with a bearer API key — create and manage keys in the developer console and pass them in the Authorization header.\">\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=\"Authentication - BudgetPixel API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authenticate BudgetPixel API requests with a bearer API key — create and manage keys in the developer console and pass them in the Authorization header.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"BudgetPixel API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.budgetpixel.com/authentication\">\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=Get+Started\u0026amp;title=Authentication\u0026amp;description=Authenticate+BudgetPixel+API+requests+with+a+bearer+API+key+%E2%80%94+create+and+manage+keys+in+the+developer+console+and+pass+them+in+the+Authorization+header.\u0026amp;theme=6496c7f1c5cb7e2919a421be\u0026amp;signature=5df5a7466bfa21785f62f05ef760725809ab1e4c866a9d201e280c2a629c6e9d\">\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=\"Authentication - BudgetPixel API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authenticate BudgetPixel API requests with a bearer API key — create and manage keys in the developer console and pass them in the Authorization header.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://budgetpixel.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Authentication\u0026amp;description=Authenticate+BudgetPixel+API+requests+with+a+bearer+API+key+%E2%80%94+create+and+manage+keys+in+the+developer+console+and+pass+them+in+the+Authorization+header.\u0026amp;theme=6496c7f1c5cb7e2919a421be\u0026amp;signature=5df5a7466bfa21785f62f05ef760725809ab1e4c866a9d201e280c2a629c6e9d\">\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/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/authentication.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/authentication#webpage\",\"url\":\"https://docs.budgetpixel.com/authentication\",\"name\":\"Authentication\",\"description\":\"Authenticate BudgetPixel API requests with a bearer API key — create and manage keys in the developer console and pass them in the Authorization header.\",\"dateModified\":\"2026-11-12T23:42:12.504Z\",\"isPartOf\":{\"@id\":\"https://docs.budgetpixel.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.budgetpixel.com/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.budgetpixel.com/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://docs.budgetpixel.com/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.budgetpixel.com/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.budgetpixel.com/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Authenticate BudgetPixel API requests with a bearer API key — create and manage keys in the developer console and pass them in the Authorization header.\",\"url\":\"https://docs.budgetpixel.com/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.budgetpixel.com/authentication#webpage\"},\"dateModified\":\"2026-11-12T23:42:12.504Z\",\"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":"/authentication.md","siteName":"BudgetPixel API","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Get Started","pages":[{"title":"AI Image, Video \u0026 Music Generation API","sidebarTitle":"Introduction","href":"/introduction"},{"title":"Quickstart: Generate Your First AI Image","sidebarTitle":"Quickstart","description":"Create an API key, generate your first AI image with a single request, and poll the job to download the result — up and running with the BudgetPixel API in minutes.","href":"/quickstart"},{"title":"Authentication","href":"/authentication"},{"title":"Pricing \u0026 Credits: How API Billing Works","sidebarTitle":"Pricing \u0026 credits","description":"How BudgetPixel API usage is billed in credits — per-model pricing, charge-only-on-success, cost estimates, spend limits and alerts, and your balance.","href":"/concepts/pricing-and-credits"},{"title":"Rate Limits \u0026 Concurrency","sidebarTitle":"Rate limits","href":"/concepts/rate-limits"}]},{"group":"APIs","pages":[{"title":"Image Generation API","sidebarTitle":"Image generation API","href":"/apis/image-generation-api"},{"title":"Video Generation API","sidebarTitle":"Video generation API","href":"/apis/video-generation-api"},{"title":"Lip Sync API","sidebarTitle":"Lip sync API","href":"/apis/lip-sync-api"},{"title":"Motion Control API","sidebarTitle":"Motion control API","href":"/apis/motion-control-api"},{"title":"Music Generation API","sidebarTitle":"Music generation API","href":"/apis/music-generation-api"},{"title":"Sound Effects API","sidebarTitle":"Sound effects API","href":"/apis/sound-effects-api"},{"title":"3D Model API","sidebarTitle":"3D model API","href":"/apis/3d-model-api"},{"title":"Upscaling API","sidebarTitle":"Upscaling API","href":"/apis/upscaling-api"},{"title":"Depth Maps API","sidebarTitle":"Depth maps API","href":"/apis/depth-maps-api"},{"title":"Moderation \u0026 Conversion API","sidebarTitle":"Moderation \u0026 conversion API","href":"/apis/moderation-and-conversion-api"}]},{"group":"MCP","pages":[{"title":"MCP Server","href":"/mcp-server"}]},{"group":"Characters","pages":[{"title":"AI Influencers and Characters","href":"/characters"},{"title":"Wardrobe","href":"/wardrobe"},{"title":"Poses","href":"/poses"}]},{"group":"Stock Library","pages":[{"title":"Stock Images","href":"/stock-images"},{"title":"Stock Sound Effects","href":"/stock-sound-effects"},{"title":"Stock Music","href":"/stock-music"}]},{"group":"ComfyUI","pages":[{"title":"ComfyUI Nodes","href":"/comfyui"}]},{"group":"WordPress","pages":[{"title":"WordPress Plugin","href":"/wordpress"}]},{"group":"Embeds","pages":[{"title":"Embeds \u0026 oEmbed","href":"/oembed"}]},{"group":"Concepts","pages":[{"title":"Async Jobs: Create, Poll, Complete","sidebarTitle":"Async jobs","href":"/concepts/async-jobs"},{"title":"Models: Catalog \u0026 Pricing Reference","sidebarTitle":"Models","href":"/concepts/models"},{"title":"Media inputs","href":"/concepts/media-inputs"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/account/get-credit-balance"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Authentication - BudgetPixel API","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}