---
title: "Png To Heic"
method: POST
path: "/v1/convert/png-to-heic"
tags: ["v1", "v1-convert"]
---

# Png To Heic

`POST /v1/convert/png-to-heic`

## Request

- Base URL: `https://api.enconvert.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enconvert.com/v1/convert/png-to-heic`
- Auth: none declared

Convert png to heic

Args:
    file: PNG image file (.png) to convert
    output_filename: Optional custom output filename. If not provided, uses input filename with new extension.
    direct_download: If True (default), return file directly. Set to False for JSON metadata.

## Headers

- `X-API-Key` string, nullable
- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/enconvert/apis/conversion-api.md) · [All operations](https://skmtc.dev/enconvert/apis/conversion-api/llms.txt) · [OpenAPI document](https://skmtc.dev/enconvert/apis/conversion-api/revisions/b8c820393569?raw)
