---
title: "Create Img Nano Banana Task"
method: POST
path: "/api/imggen/v1/task"
tags: [""]
---

# Create Img Nano Banana Task

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

## Query parameters

- `app_id` string, required

## Request body

- RoutersImgToImgCompositeInterfaceV1ImageNanoBananaProItem
  - `prompt` string: 提示词
  - `resolution` string: 分辨率
  - `images` string[]: 输入图片
  - `aspect_ratio` string: 图片比例
  - `output_format` string: 输出格式
  - `platform` string: 功能类型
  - `model_type` string: 模型类型 4=flux1-pro 6=flux-2-pro
  - `is_verify` boolean: 是否进行NSFW检测
  - `safety_tolerance` integer, nullable: 安全等级 1-5
  - `seed` integer, nullable: 随机种子

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