---
title: "Create Img To Pixel Task"
method: POST
path: "/api/vmodel/v1/pixel/task"
tags: ["vmodel pixel art"]
---

# Create Img To Pixel Task

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

## Query parameters

- `app_id` string, required

## Request body

- ImgToPixelItem
  - `image` string, required: 图片路径
  - `aspect_ratio` string: 生成图片的比例

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-22** `8664b3096b6f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/videofaceswap/apis/videofaceswap-api/changes/api/vmodel/v1/pixel/task/post.md)

---

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