---
title: "Create Image To Image Task"
method: POST
path: "/api/replicate/v1/img/edit/task"
tags: ["imageToImage_flux"]
---

# Create Image To Image Task

`POST /api/replicate/v1/img/edit/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/img/edit/task`
- Auth: HTTP bearer

## Query parameters

- `app_id` string, required

## Request body

- RoutersReplicateImgEditFluxMaxV1ImageToImageItem
  - `prompt` string, required: 提示词
  - `model` string: 提示词
  - `image` string: 人像图片
  - `aspect_ratio` string: 输出图片比例
  - `output_format` string: 输出图片格式
  - `platform` string: 功能类型

## 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)
