Zum Inhalt
HALOWERK

Medienwerk

speed change

Takes an audio or video file and changes its tempo by a factor from 0.5 (half speed) to 2.0 (double speed) while keeping the pitch, using the Rubber Band time-stretching library through ffmpeg — good for faster listening, language learning at reduced speed, or fitting a voice-over into a slot. The new running time is measured and returned. All timestamps of the original scale by 1/factor. Runs locally with ffmpeg; nothing leaves this machine and nothing is stored. Output inline as base64,.

POST https://medien.halowerk.com/v1/speed-change

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sourceobjectJaThe recording. Either url or content_base64.
duration_minutesintegerJaLength in started minutes — this is what you are billed for.
factornumberJa
output_formatstringNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes",
    "factor"
  ],
  "additionalProperties": false,
  "properties": {
    "source": {
      "type": "object",
      "additionalProperties": false,
      "description": "The recording. Either url or content_base64.",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048,
          "description": "Public http(s) URL of the file."
        },
        "content_base64": {
          "type": "string",
          "maxLength": 12000000,
          "description": "The file inline, base64. Larger files by url."
        },
        "filename": {
          "type": "string",
          "maxLength": 260
        }
      }
    },
    "duration_minutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 60,
      "description": "Length in started minutes — this is what you are billed for."
    },
    "factor": {
      "type": "number",
      "minimum": 0.5,
      "maximum": 2,
      "default": 1.25
    },
    "output_format": {
      "type": "string",
      "enum": [
        "opus",
        "mp3",
        "wav",
        "flac"
      ],
      "default": "mp3"
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →