MeduxMedux

Media > Shift Audio Pitch

Shift Audio Pitch

Shift the pitch of an audio file.

POST/api/app/v1/process/audio/shift_audio_pitch

Examples

curl -X POST https://api.medux.io/api/app/v1/process/audio/shift_audio_pitch \
  -H 'Authorization: Bearer $MEDUX_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"input_file_id":"FILE_ID","model_id":"shift-audio-pitch-default","sample_rate":44100,"semitones":1}'

Media Samples

Approved examples for understanding request inputs, response shape, and official example output.

Official shift audio pitch sample

This example uses shift-audio-pitch-default.

Sample request

Example input for this capability.

input_file_id{file_id}semitones2

Sample response

Official example output for preview only. It is not a user Media Result.

Example output

Auth Requirements

Authentication is required via Authorization header.

Preconditions

Upload the source file and create a file reference before calling this endpoint.

Successful requests return a Medux task record immediately. Use the task query or sync endpoints to track completion.

All file inputs must be uploaded and persisted as file references before submission.

Request

Body

application/json
Authorizationstringrequired

Bearer token or API key.

Location: HEADER

input_file_idstringrequired

Input audio file_id.

Location: BODY

semitonesnumberrequired

Pitch shift amount in semitones.

Location: BODY

sample_rateintegeroptional

Output sample rate, default 44100. Default: 44100.

Location: BODY

model_idstringoptional

Model Default: shift-audio-pitch-default.

Location: BODY

titlestringoptional

Optional task title.

Location: BODY

Response

Response

application/json
No response fields documented for this endpoint.

MCP Tool

This endpoint is also available through the Medux-hosted remote MCP service.

Shift Audio Pitch

Shift the pitch of an audio file.

Invocation Example

Shift the pitch of an audio file.