Skip to content

About

TemPolor API examples by useapi.net: royalty-free v4.8 songs with vocals and i4 instrumentals (key, BPM, chords), voice cloning, artist voices, MIDI and stem splitting on your TemPolor subscription, plus a hosted 17-tool MCP server.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

TemPolor API examples: v4.8 songs, i4 instrumentals, voice cloning and stems (useapi.net)

Runnable examples for the TemPolor API by useapi.net: make royalty-free songs with vocals in TemPolor v4.8 (up to 5 minutes, more than 30 languages, from a prompt or your lyrics) and instrumentals with i4 in the key, tempo (50 to 190 BPM) and chords you set. Songs can be sung by one of TemPolor's artist voices or a voice you clone, or built on your MIDI file. Every track downloads as mp3, wav or a stems ZIP, and the stem splitter splits your own MP3, WAV, M4A or FLAC into vocal and instrument stems. It all runs through a REST API and a hosted MCP server on your own TemPolor subscription: Lite $9.79, Pro $13.99 or Ultra $29.99 a month (as of October 2026), with no TemPolor developer key or prepaid credit package.

Example What it does Docs
instrumental/ Make an i4 instrumental from a prompt, with an optional key, tempo and chords, poll until it is final and download every track as mp3 POST music/instrumental

Quick start

You need a useapi.net API token and a TemPolor account with an active subscription, connected with Setup TemPolor (one $15/month subscription covers every useapi.net API). The setup page has a one-click connect page that links your TemPolor account right in your own browser, a quick copy-and-paste with no software to install.

Start an instrumental with POST music/instrumental:

export USEAPI_TOKEN=user:12345-...      # your useapi.net API token

curl -s -X POST https://api.useapi.net/v1/tempolor/music/instrumental \
     -H "Authorization: Bearer $USEAPI_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"prompt": "A relaxing lo-fi beat with piano and soft drums", "tonality": "C:major", "bpm": 80, "chords": "C F G Am"}'

The answer lists the new jobs in jobs, and on Lite and Pro also the tracks your plan has left this month (remainNum of totalNum):

{
  "result": true,
  "jobs": [
    "user:12345-tempolor:user_id-job:abcdef123456789",
    "user:12345-tempolor:user_id-job:fedcba987654321"
  ],
  "unlimited": false,
  "remainNum": 1534,
  "totalNum": 3000
}

Poll each job with GET music/job_id until status_final is true: status_name is then COMPLETED or FAILED, and a finished track carries its title, cover, style, key, BPM and length. In our tests a track took 51 to 103 seconds.

curl -s -H "Authorization: Bearer $USEAPI_TOKEN" \
     https://api.useapi.net/v1/tempolor/music/user:12345-tempolor:user_id-job:abcdef123456789

Then get a temporary download link with GET music/download/job_id, with file_format mp3 (default), wav or stems:

curl -s -H "Authorization: Bearer $USEAPI_TOKEN" \
     "https://api.useapi.net/v1/tempolor/music/download/user:12345-tempolor:user_id-job:abcdef123456789?file_format=mp3"

It answers with url and remainSeconds, how long the link stays valid. A song with vocals works the same way with POST music/song: prompt (up to 2,000 characters), optional lyrics (up to 3,000, TemPolor writes them when you leave them out), and at most one of artistVoiceItemId, clonedVoiceItemId or midiItemId. When every connected account is busy the API answers 429: wait 30 seconds and send it again. Each job can also post its progress and result to your webhook with replyUrl.

The same three steps as a script, with Node.js v21 or newer and no dependencies to install:

git clone https://github.com/useapi/tempolor-api.git
cd tempolor-api/instrumental
node ./instrumental.mjs "Lo-fi hip hop with dusty piano and soft drums" A:minor 90 "Am F C G"

MCP server

TemPolor MCP connector

useapi.net also runs a hosted Model Context Protocol server for TemPolor, so an AI assistant such as the Claude app, ChatGPT, Claude Code, Cursor or VS Code Copilot can make music on your TemPolor accounts. It has 20 tools: write songs with vocals in TemPolor v4.8, from your lyrics or lyrics TemPolor writes, sung by an artist voice or a voice you clone, or built on your MIDI file; make instrumentals with i4 in the key, tempo and chords you set; download every track as mp3, wav or stems; split your own audio into stems; and manage your tracks, voices and MIDI files. Nothing to install or run locally.

  • Endpoint: https://api.useapi.net/v1/tempolor/mcp
  • Transport: Streamable HTTP
  • Authorization: your useapi.net API token in the Authorization: Bearer … header, and an account connected with Setup TemPolor. The Claude app and ChatGPT sign in with OAuth instead.

Claude Code:

claude mcp add --transport http useapi-tempolor https://api.useapi.net/v1/tempolor/mcp --header "Authorization: Bearer YOUR_API_TOKEN"

Cursor, VS Code, Windsurf, the Claude app, ChatGPT and the full tool list: TemPolor MCP server docs. useapi.net is a third-party API, not affiliated with TemPolor.

Use with Claude Code

This repo is also a Claude Code plugin marketplace. The plugin adds the hosted TemPolor MCP server, and reads your token from the USEAPI_TOKEN environment variable, so set it before you start Claude Code:

export USEAPI_TOKEN=user:12345-...      # your useapi.net API token

Then, inside Claude Code:

/plugin marketplace add useapi/tempolor-api
/plugin install tempolor@useapi-tempolor

On Claude Code 2.1.275 or later, /plugin install tempolor --marketplace useapi/tempolor-api does both in one step. Run /mcp to check that useapi-tempolor is connected.

Use with Gemini CLI

This repo is also a Gemini CLI extension with the same MCP server:

gemini extensions install https://github.com/useapi/tempolor-api

The install asks for your useapi.net API token and keeps it in the system keychain. Change it later with gemini extensions config useapi-tempolor, and check the connection with gemini mcp list.

Common questions

  • Is there a TemPolor API? Yes, through useapi.net, with what TemPolor's own developer API lacks: songs in a cloned voice or an artist voice, songs built on your MIDI file, and instrumentals in the key, tempo and chords you set, all on your TemPolor subscription. TemPolor's developer API has no voice, MIDI, key, tempo or chord settings (as of October 2026).
  • How much does it cost? Through useapi.net, TemPolor runs on your TemPolor subscription: Ultra at $29.99 a month has unlimited songs and stem splits. After heavy use TemPolor can limit an account to about 300 songs a day (until 00:00 UTC), and the API then sends new songs to your other accounts. TemPolor's developer API charges $0.04 a song, $0.05 when it writes the lyrics, and $0.05 a 4-stem split, from prepaid packages of $100, so at volume useapi.net costs less (as of November 21, 2026). The price table shows every plan.
  • Is there a TemPolor MCP server? Yes, through useapi.net, a third-party service not affiliated with TemPolor: a hosted TemPolor MCP server at https://api.useapi.net/v1/tempolor/mcp with 20 tools for v4.8 songs, i4 instrumentals, cloned voices, MIDI files and stems, on your TemPolor subscription, with nothing to install, that also connects in the Claude app and ChatGPT. TemPolor has no MCP server of its own: none is listed in the official MCP Registry or found on GitHub, and the MCP button in its developer API docs gives a coding assistant the documentation, not tools that make music (checked November 21, 2026). So this is only available through useapi.net, and at volume it costs less than TemPolor's developer API (full comparison).
  • Where do I get an API key? Through useapi.net, you call TemPolor with our API token, not a TemPolor developer key, and connect your TemPolor website account once with Setup TemPolor, which takes about 5 minutes. TemPolor's developer API needs its own API key and a prepaid credit package instead.
  • Is there a TemPolor stem separation API? Yes, through useapi.net, with no charge per split on TemPolor Pro or Ultra: every song and instrumental downloads as a stems ZIP, and POST music/stems-splitter splits your own MP3, WAV, M4A or FLAC into vocal and instrument stems. TemPolor's developer API charges $0.05 for each 4-stem split (as of November 2026).
  • How many accounts can I connect? Through useapi.net, one $15/month subscription covers every API and 3 TemPolor accounts, and each extra $10/month subscription adds 3 more. Song and instrumental requests don't need user_id: each job goes to an account with a free slot within its maxJobs (default 10), and a song with a cloned voice or MIDI file runs on the account that holds it.
  • More answers: TemPolor API questions.

Tutorials

About useapi.net

useapi.net is a third-party REST API for AI services, not affiliated with TemPolor. The TemPolor API runs on your TemPolor subscription, so your songs and instrumentals count against your plan's monthly tracks (Ultra has no track limit, though after heavy use TemPolor can limit an account to about 300 songs a day) instead of metered developer-API pricing. See the models and pricing on the TemPolor API overview.

Visit our Discord Server or Telegram Channel for any support questions and concerns.

We regularly post guides and tutorials on the YouTube Channel.

License

The example code in this repository is released under the MIT License. It covers the example scripts only, not the useapi.net service or API.

About

TemPolor API examples by useapi.net: royalty-free v4.8 songs with vocals and i4 instrumentals (key, BPM, chords), voice cloning, artist voices, MIDI and stem splitting on your TemPolor subscription, plus a hosted 17-tool MCP server.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages