This repository hosts the demo application for the Chosen Masters B2B mastering API. It showcases the end-to-end workflow for requesting a signed upload URL, submitting a mastering job, and streaming mastered intensities with the same stack that powers the production dashboard.
Prerequisites
Node.js 18 or newer (the project is built with the Next.js App Router)
npm 9+ (or an alternative package manager configured for Next.js projects)
Getting started
Install dependencies:
npm install
Create a .env.local file in the project root with the required configuration:
CM_API_KEY=
PARENT_BASE_URL=https://chosenmasters.com
NEXT_PUBLIC_MASTERING_CLOUDFRONT_URL=https://d2ojxa09qsr6gy.cloudfront.net
CM_API_KEY – Your private API key. Keep this secret and only reference it from server-side code.
PARENT_BASE_URL – The base domain for live API requests. Leave at the default unless you are targeting a staging stack.
NEXT_PUBLIC_MASTERING_CLOUDFRONT_URL – Public CloudFront distribution used for streaming mastered previews.
Start the development server:
npm run dev
Open http://localhost:3000 to view the demo. The interactive documentation is available at /mastering-docs and reflects the current production flow.
Useful scripts
Command Description
npm run dev Starts the development server with hot reloading.
npm run build Creates an optimized production build.
npm run start Runs the built app in production mode.
Additional resources
Chosen Masters – Request access to the B2B mastering program.
Next.js documentation – Framework reference used by this project.
Chosen Masters Mastering API Demo
This repository hosts the demo application for the Chosen Masters B2B mastering API. It showcases the end-to-end workflow for requesting a signed upload URL, submitting a mastering job, and streaming mastered intensities with the same stack that powers the production dashboard.
Prerequisites
Node.js 18 or newer (the project is built with the Next.js App Router) npm 9+ (or an alternative package manager configured for Next.js projects) Getting started
Install dependencies:
npm install Create a .env.local file in the project root with the required configuration:
CM_API_KEY= PARENT_BASE_URL=https://chosenmasters.com NEXT_PUBLIC_MASTERING_CLOUDFRONT_URL=https://d2ojxa09qsr6gy.cloudfront.net CM_API_KEY – Your private API key. Keep this secret and only reference it from server-side code. PARENT_BASE_URL – The base domain for live API requests. Leave at the default unless you are targeting a staging stack. NEXT_PUBLIC_MASTERING_CLOUDFRONT_URL – Public CloudFront distribution used for streaming mastered previews. Start the development server:
npm run dev Open http://localhost:3000 to view the demo. The interactive documentation is available at /mastering-docs and reflects the current production flow.
Useful scripts
Command Description npm run dev Starts the development server with hot reloading. npm run build Creates an optimized production build. npm run start Runs the built app in production mode. Additional resources
Chosen Masters – Request access to the B2B mastering program. Next.js documentation – Framework reference used by this project.
https://chosenmasters.com/ai-mastering-api
[dead]