---
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`

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

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

---

[API](https://skmtc.dev/videofaceswap/apis/fastapi.md) · [All operations](https://skmtc.dev/videofaceswap/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/videofaceswap/apis/fastapi/revisions/3e149a4415ad?raw)
