Deepgram and Cartesia
Use Deepgram's and Cartesia's own speech APIs with the Platform. Every speech-to-text and text-to-speech model answers.
Deepgram
Base URL:
https://platform-api.invideo.io/deepgramPOST /v1/listen takes the audio as the body (or {"url": ...}) and the options in the query; the answer is Deepgram's results.channels[].alternatives[]. Set INVIDEO_TRANSCRIPTION_MODEL to an enabled speech-to-text model from GET /v1/models?modality=audio.
curl -X POST "https://platform-api.invideo.io/deepgram/v1/listen?model=${INVIDEO_TRANSCRIPTION_MODEL:?Choose an enabled speech-to-text model}&smart_format=true" \
-H "Authorization: Token $INVIDEO_API_KEY" -H "Content-Type: audio/mpeg" --data-binary @meeting.mp3Cartesia
Base URL:
https://platform-api.invideo.io/cartesiaPOST /tts/bytestakes Cartesia's JSON (model_id,transcript,voice: {mode: "id", id}) and answers the audio.output_formatis not applied: the audio is in the model's own format (seeContent-Type).POST /stttakes the multipartfileand answerstext,language,durationandwords.
Both answer when the run ends.