Skip to main content
POST
cURL
Estimate the cost of a video replacement job before submitting it.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
enum<string>
default:application/json
required
Available options:
application/json

Body

multipart/form-data

Video replace price calculation parameters

model
string
required

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

video
file | null

Input video file. If provided, duration and dimensions are extracted automatically. Required if duration is not provided.

duration
number<float> | null

Input video duration in seconds. Required if video file is not provided.

Example:

5

width
integer | null

Output video width in pixels. If omitted and video file is provided, uses video native width.

Example:

512

height
integer | null

Output video height in pixels. If omitted and video file is provided, uses video native height.

Example:

512

Response

Calculated price for video replace inference.

data
object