v1

latestOpenAPI 3.0.02026-07-228239173.7 KB
Client API

Endpoint for calculating price for video to text inference

post/api/v1/client/vid2txt/price-calculation

Headers

Accept'application/json' required

Request body

video_urlstring required

URL of video to transcribe

include_tsboolean required

Should transcription include timestamps

modelstring

The model to use for transcription. Available models can be retrieved via the GET /api/v1/client/models endpoint.

Example request

{
  "video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "model": "WhisperLargeV3"
}

Response

Calculated price for video to text inference.

Example response

{
  "data": {
    "price": 0.25
  }
}