---
title: "Animate Replace Task"
method: POST
path: "/api/replicate/v1/videoar/task"
tags: ["replicate 模型 animate-replace 任务创建接口"]
---

# Animate Replace Task

`POST /api/replicate/v1/videoar/task`

## Request

- Base URL: `https://api.videofaceswap.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.videofaceswap.io/api/replicate/v1/videoar/task`
- Auth: HTTP bearer

## Query parameters

- `app_id` string, required

## Request body

- RoutersReplicateAiVideoAnimateReplaceV1VideoItem
  - `image_url` string, required: 视频中做动作‘身份主体’ url，必须是公网可访问url
  - `video_url` string, required: 视频 url '动作驱动源',必须是公网可访问url
  - `duration` integer: 视频时长
  - `resolution` string, required: 视频分辨率 可选 480 或者 720
  - `merge_audio` boolean: 是否保留视频原声音
  - `model` string, required: 所选模型名称
  - `plat_form` string, required: 标注页面功能类别，仅用于功能统计

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/videofaceswap/apis/videofaceswap-api.md) - [All operations](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/llms.txt) - [OpenAPI document](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/revisions/1b3dd1817626?raw)
