Skip to main content
POST
cURL
No model is currently available for this endpoint. The previous model (Wan2_2_Animate_14B_INT8) has been retired, and a new character-replacement model is coming to this endpoint soon. In the meantime, use MiniMaxH3_33B_Turbo_INT8 on Video Animation: pass the character as a reference image and the source motion as a reference video (2–5 s).
API v1 is deprecated. This version is no longer being developed — new endpoints, parameters and models are added to v2 only. Use the v2 endpoints to stay current: v2 API documentation.

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