# Image Converter API (`parseforge/image-converter-api`) Actor

Convert and optimize images between PNG, JPG, WEBP, AVIF, and SVG with professional precision. This tool offers advanced quality control, intelligent aspect ratio cropping, automatic SVG vectorization, and ultra-fast batch processing.

- **URL**: https://apify.com/parseforge/image-converter-api.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Developer tools, Other
- **Stats:** 26 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

![ParseForge Banner](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)

## 🖼️ Image Converter API

> 🚀 Batch convert images between PNG, JPG, WEBP, AVIF, and SVG. Adjust quality, aspect ratio, and SVG vectorization color. No design software needed.

> 🕒 Last updated: 2026-04-17

The Image Converter API transforms images between five output formats: JPEG, PNG, WEBP, AVIF, and SVG. Upload image URLs, pick a target format, set compression quality and aspect ratio, and the Actor converts everything in one run. SVG output traces raster images into scalable vector graphics, which is ideal for logos and icons.

Designers, developers, e-commerce teams, and content managers use this to skip repetitive manual conversions. Instead of opening each file in Photoshop or running CLI tools, you paste URLs, click Start, and download the results. Batch processing means 50 images take barely longer than one.

| Target | Image format conversion (raster and vector) |
|--------|-------------------------------|
| Use Cases | Web image optimization, SVG vectorization, batch format conversion, aspect ratio adjustment |

---

### 📋 What it does

- 🔄 **Multi-format output.** Convert to JPEG, PNG, WEBP, AVIF, or SVG from any common input format.
- 🎨 **SVG vectorization.** Trace raster images into scalable vector graphics with configurable path color.
- 📏 **Aspect ratio control.** Crop to 16:9, 4:3, 1:1, 3:2, 21:9, or keep the original proportions.
- 🎚️ **Quality levels.** Choose lossless, maximum, high, medium, or low compression for each run.
- 📦 **Batch processing.** Convert multiple images in a single run with consistent settings.

Each output record includes the converted image URL (in the Key-Value Store), original and converted file sizes, output format, and processing time.

> 💡 **Why it matters:** Converting images one by one in a graphics editor takes minutes per file. This Actor handles batches with consistent settings in seconds, freeing up your team for actual design work.

---

### 🎬 Full Demo

_🚧 Coming soon: a 3-minute walkthrough showing how to go from sign-up to a downloaded dataset._

---

### ⚙️ Input

<table>
<thead>
<tr><th>Input</th><th>Type</th><th>Default</th><th>Behavior</th></tr>
</thead>
<tbody>
<tr><td>imageFiles</td><td>array</td><td>[]</td><td>Image URLs to convert. Supports JPEG, PNG, WEBP, GIF, AVIF, TIFF, and SVG inputs.</td></tr>
<tr><td>outputFormat</td><td>string</td><td>"svg"</td><td>Target format: jpeg, jpg, png, webp, avif, or svg.</td></tr>
<tr><td>aspectRatio</td><td>string</td><td>"original"</td><td>Quick aspect ratio: original, 16:9, 4:3, 1:1, 3:2, or 21:9.</td></tr>
<tr><td>svgColor</td><td>string</td><td>"black"</td><td>Path color for SVG output. Accepts "black", "white", or hex codes like "#FF5733".</td></tr>
<tr><td>quality</td><td>string</td><td>"lossless"</td><td>Compression quality: lossless, maximum, high, medium, or low.</td></tr>
</tbody>
</table>

**Example: Convert PNGs to WEBP with high quality.**

```json
{
    "imageFiles": [
        {"url": "https://example.com/photo1.png"},
        {"url": "https://example.com/photo2.png"}
    ],
    "outputFormat": "webp",
    "quality": "high"
}
````

**Example: Vectorize a logo to SVG with custom color.**

```json
{
    "imageFiles": [
        {"url": "https://cdn.pixabay.com/photo/2021/12/06/13/45/meta-6850393_1280.png"}
    ],
    "outputFormat": "svg",
    "svgColor": "#FF5733"
}
```

> ⚠️ **Good to Know:** SVG vectorization works best on logos, icons, and simple graphics. Complex photographs produce large SVG files. For photos, WEBP or AVIF give much better file size reduction.

***

### 📊 Output

Each record contains **8+ fields**. Download as CSV, Excel, JSON, or XML.

#### 🧾 Schema

| Field | Type | Example |
|---|---|---|
| 🖼️ originalImageUrl | string | `"https://example.com/photo1.png"` |
| 🔗 convertedImageUrl | string | `"https://api.apify.com/v2/key-value-stores/..."` |
| 📦 outputFormat | string | `"webp"` |
| 📐 originalWidth | number | `1280` |
| 📐 originalHeight | number | `720` |
| 📏 originalSize | number | `1250000` |
| 📏 convertedSize | number | `420000` |
| 🎚️ quality | string | `"high"` |
| ⏱️ processingTimeMs | number | `650` |

#### 📦 Sample records

<details>
<summary><strong>🔄 PNG to WEBP conversion</strong></summary>

```json
{
    "originalImageUrl": "https://example.com/photo1.png",
    "convertedImageUrl": "https://api.apify.com/v2/key-value-stores/abc123/records/image-0.webp",
    "outputFormat": "webp",
    "originalWidth": 1920,
    "originalHeight": 1080,
    "originalSize": 3200000,
    "convertedSize": 185000,
    "quality": "high",
    "processingTimeMs": 420
}
```

</details>

<details>
<summary><strong>🎨 Raster to SVG vectorization</strong></summary>

```json
{
    "originalImageUrl": "https://cdn.pixabay.com/photo/2021/12/06/13/45/meta-6850393_1280.png",
    "convertedImageUrl": "https://api.apify.com/v2/key-value-stores/abc123/records/image-0.svg",
    "outputFormat": "svg",
    "originalWidth": 1280,
    "originalHeight": 1280,
    "originalSize": 45000,
    "convertedSize": 12400,
    "quality": "lossless",
    "processingTimeMs": 1100
}
```

</details>

<details>
<summary><strong>📸 JPG to AVIF compression</strong></summary>

```json
{
    "originalImageUrl": "https://example.com/hero-banner.jpg",
    "convertedImageUrl": "https://api.apify.com/v2/key-value-stores/abc123/records/image-0.avif",
    "outputFormat": "avif",
    "originalWidth": 2560,
    "originalHeight": 1440,
    "originalSize": 2800000,
    "convertedSize": 178000,
    "quality": "medium",
    "processingTimeMs": 2050
}
```

</details>

***

### ✨ Why choose this Actor

| | Capability |
|---|---|
| 🔄 | **5 output formats.** JPEG, PNG, WEBP, AVIF, and SVG in one tool. |
| 🎨 | **SVG vectorization.** Trace raster images to scalable vectors with custom color. |
| 🎚️ | **5 quality presets.** From lossless to low compression, pick what fits your use case. |
| 📏 | **6 aspect ratios.** Original, 16:9, 4:3, 1:1, 3:2, and 21:9 built in. |
| 📦 | **Batch processing.** Convert dozens of images in one run with consistent settings. |
| ⚡ | **Sub-second per image.** Most raster conversions finish in under a second. |
| 🚫 | **No software needed.** No Photoshop, GIMP, or command-line tools required. |

> AVIF can reduce file sizes by 50-80% compared to JPEG at similar visual quality, making it one of the most efficient web image formats available today.

***

### 📈 How it compares to alternatives

| Approach | Cost | Coverage | Refresh | Setup |
|---|---|---|---|---|
| **⭐ Image Converter API** *(this Actor)* | $5 free credit, then pay-per-use | 5 output formats + SVG vectorize | **Live per run** | ⚡ 2 min |
| Desktop graphics editors | $0-22/month | Many formats | Manual per file | 🕐 Install + learn |
| Online converters | Free | 2-3 formats | Per upload | 🕐 5 min/file |
| CLI tools (ImageMagick, ffmpeg) | Free | Many formats | Scripted | 🔧 1-2 hours setup |

Pick this Actor when you want batch conversion across modern formats (including AVIF and SVG) without installing or scripting anything.

***

### 🚀 How to use

1. 📝 **Sign up.** [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=vmoqkp) (takes 2 minutes).
2. 🌐 **Open the Actor.** Go to the Image Converter API page on the Apify Store.
3. 🎯 **Set input.** Add image URLs, choose output format, quality level, and aspect ratio.
4. 🚀 **Run it.** Click **Start** and let the Actor convert your images.
5. 📥 **Download.** Grab converted images from the **Key-Value Store** tab.

> ⏱️ Total time from signup to converted images: **3-5 minutes.** No coding required.

***

### 💼 Business use cases

<table>
<tr>
<td width="50%" valign="top">

#### 🌐 Web Performance

- Convert all site images to WEBP or AVIF for faster loads
- Generate multiple format variants for browser compatibility
- Batch optimize images before deploying a new site
- Compress hero banners and product photos

</td>
<td width="50%" valign="top">

#### 🛒 E-commerce

- Standardize product images to one format and aspect ratio
- Convert catalogs to WEBP for mobile-first stores
- Vectorize brand logos to SVG for crisp display at any size
- Batch process seasonal inventory photo uploads

</td>
</tr>
<tr>
<td width="50%" valign="top">

#### 🎨 Design and Branding

- Vectorize raster logos for print and signage
- Export design assets in multiple web-ready formats
- Convert between print (TIFF) and web (WEBP) formats
- Standardize image dimensions with aspect ratio presets

</td>
<td width="50%" valign="top">

#### 🤖 Automation Pipelines

- Feed converted images into downstream workflows via webhooks
- Schedule weekly batch conversions for content updates
- Integrate with CMS systems through the Apify API
- Build image processing steps into Make or Zapier automations

</td>
</tr>
</table>

***

***

### 🌟 Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

<table>
<tr>
<td width="50%">

#### 🎓 Research and academia

- Empirical datasets for papers, thesis work, and coursework
- Longitudinal studies tracking changes across snapshots
- Reproducible research with cited, versioned data pulls
- Classroom exercises on data analysis and ethical scraping

</td>
<td width="50%">

#### 🎨 Personal and creative

- Side projects, portfolio demos, and indie app launches
- Data visualizations, dashboards, and infographics
- Content research for bloggers, YouTubers, and podcasters
- Hobbyist collections and personal trackers

</td>
</tr>
<tr>
<td width="50%">

#### 🤝 Non-profit and civic

- Transparency reporting and accountability projects
- Advocacy campaigns backed by public-interest data
- Community-run databases for local issues
- Investigative journalism on public records

</td>
<td width="50%">

#### 🧪 Experimentation

- Prototype AI and machine-learning pipelines with real data
- Validate product-market hypotheses before engineering spend
- Train small domain-specific models on niche corpora
- Test dashboard concepts with live input

</td>
</tr>
</table>

### 🤖 Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:

- 💬 [**ChatGPT**](https://chat.openai.com/?q=How%20do%20I%20use%20the%20Image%20Converter%20API%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🧠 [**Claude**](https://claude.ai/new?q=How%20do%20I%20use%20the%20Image%20Converter%20API%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🔍 [**Perplexity**](https://perplexity.ai/search?q=How%20do%20I%20use%20the%20Image%20Converter%20API%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🅒 [**Copilot**](https://copilot.microsoft.com/?q=How%20do%20I%20use%20the%20Image%20Converter%20API%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)

### ❓ Frequently Asked Questions

<details>
<summary><b>💳 Do I need a paid Apify plan to run this actor?</b></summary>

No. You can start right now on the free Apify plan, which includes **$5 in free monthly credit**. That is enough to run this actor several times and explore the output before committing to anything. Paid plans unlock higher limits, more concurrent runs, and larger datasets. [Create a free Apify account here](https://console.apify.com/sign-up?fpr=vmoqkp) to get started.

</details>

<details>
<summary><b>🚨 What happens if my run fails or returns no results?</b></summary>

Failed runs are not charged. If the source site changes, proxies get rate-limited, or a specific input matches nothing, re-run the actor or open our [contact form](https://tally.so/r/BzdKgA) and we will investigate. You can also check the run log in the Apify console to see why the run stopped.

</details>

<details>
<summary><b>📏 How many items can I scrape per run?</b></summary>

Free users are limited to **10 items per run** so you can preview the output and confirm the actor works for your use case. Paid users can raise maxItems up to **1,000,000** per run. [Upgrade here](https://console.apify.com/sign-up?fpr=vmoqkp) if you need full scale.

</details>

<details>
<summary><b>🕒 How fresh is the data?</b></summary>

Every run fetches live data at the moment of execution. There is no cache or delay: the records you get reflect what the source returned at that moment. Schedule the actor to maintain a rolling snapshot of the data you need.

</details>

<details>
<summary><b>🧑‍💻 Can I call this actor from my own code?</b></summary>

Yes. Apify exposes every actor as a REST endpoint and ships first-class SDKs for [Node.js](https://docs.apify.com/sdk/js) and [Python](https://docs.apify.com/sdk/python). You can start a run, read the dataset, and handle webhooks from your own app in a few lines. All you need is your Apify API token.

</details>

<details>
<summary><b>📤 How do I export the data?</b></summary>

Every Apify dataset can be downloaded in one click from the console as CSV, JSON, JSONL, Excel, HTML, XML, or RSS. You can also pull results programmatically via the [Apify API](https://docs.apify.com/api/v2) or stream them into BigQuery, S3, and other destinations through built-in integrations.

</details>

<details>
<summary><b>📅 Can I schedule the actor to run automatically?</b></summary>

Yes. Use the Apify scheduler to run the actor on any cadence, from hourly to monthly. Results are saved to your dataset and can be delivered to webhooks, email, Slack, cloud storage, or automation tools such as Zapier and Make.

***

</details>

### 🔌 Automating Image Converter API

Control the converter programmatically for scheduled runs and pipeline integrations:

- 🟢 **Node.js.** Install the apify-client NPM package.
- 🐍 **Python.** Use the apify-client PyPI package.
- 📚 See the [Apify API documentation](https://docs.apify.com/api/v2) for full details.

The [Apify Schedules feature](https://docs.apify.com/platform/schedules) lets you trigger this Actor on any cron interval. Schedule weekly runs to optimize new product images or content uploads automatically.

### 🔌 Integrate with any app

Image Converter API connects to any cloud service via [Apify integrations](https://apify.com/integrations):

- [**Make**](https://docs.apify.com/platform/integrations/make) - Automate multi-step workflows
- [**Zapier**](https://docs.apify.com/platform/integrations/zapier) - Connect with 5,000+ apps
- [**Slack**](https://docs.apify.com/platform/integrations/slack) - Get run notifications
- [**Airbyte**](https://docs.apify.com/platform/integrations/airbyte) - Pipe data into your warehouse
- [**GitHub**](https://docs.apify.com/platform/integrations/github) - Trigger runs from commits
- [**Google Drive**](https://docs.apify.com/platform/integrations/drive) - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes.

***

### 🔗 Recommended Actors

- [**🎥 Auto Video Thumbnail Generator**](https://apify.com/parseforge/auto-video-thumbnail-generator) - Generate video thumbnails automatically
- [**🍔 Restaurant Photo Enhancer**](https://apify.com/parseforge/restaurant-photo-enhancer) - Enhance food photography with AI
- [**🔗 MultiSite URL Shortener**](https://apify.com/parseforge/multisite-url-shortener) - Generate short links across multiple services
- [**📄 Markdown to PDF MCP Server**](https://apify.com/parseforge/markdown-to-pdf-mcp) - Convert Markdown documents to PDF
- [**🧠 HTML to JSON Smart Parser**](https://apify.com/parseforge/html-to-json-smart-parser) - Parse HTML pages into structured JSON

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge) for more data scrapers and tools.

***

**🆘 Need Help?** [**Open our contact form**](https://tally.so/r/BzdKgA) to request a new scraper, propose a custom data project, or report an issue.

***

> **⚠️ Disclaimer:** this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by any image format standards body. All trademarks mentioned are the property of their respective owners.

# Actor input Schema

## `imageFiles` (type: `array`):

Upload images or paste image URLs to convert. Supports JPEG, PNG, WEBP, GIF, AVIF, TIFF, and SVG (vectorial images will be rasterized).

## `outputFormat` (type: `string`):

Format to convert images to. Choose based on your needs: JPEG for photos (smaller), PNG for graphics with transparency, WEBP for modern web (best compression), AVIF for next-gen (smallest size), SVG for vector graphics (trace/vectorize raster images).

## `aspectRatio` (type: `string`):

Quick aspect ratio selector for common formats. For more control, use the 'Resize Options' below.

## `svgColor` (type: `string`):

Color for SVG paths. Choose 'black' for black, 'white' for white, or enter a custom hex color (e.g., '#FF5733', '#00A8E8').

## `quality` (type: `string`):

Output quality level. Higher quality = better looking images but larger file sizes. Lower quality = smaller files but slight quality loss.

## Actor input object example

```json
{
  "imageFiles": [
    {
      "url": "https://cdn.pixabay.com/photo/2021/12/06/13/45/meta-6850393_1280.png"
    }
  ],
  "outputFormat": "svg",
  "aspectRatio": "original",
  "svgColor": "black, white, #FF5733",
  "quality": "lossless"
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "imageFiles": [
        {
            "url": "https://cdn.pixabay.com/photo/2021/12/06/13/45/meta-6850393_1280.png"
        }
    ],
    "outputFormat": "svg",
    "aspectRatio": "original",
    "svgColor": "black",
    "quality": "lossless"
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/image-converter-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "imageFiles": [{ "url": "https://cdn.pixabay.com/photo/2021/12/06/13/45/meta-6850393_1280.png" }],
    "outputFormat": "svg",
    "aspectRatio": "original",
    "svgColor": "black",
    "quality": "lossless",
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/image-converter-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "imageFiles": [
    {
      "url": "https://cdn.pixabay.com/photo/2021/12/06/13/45/meta-6850393_1280.png"
    }
  ],
  "outputFormat": "svg",
  "aspectRatio": "original",
  "svgColor": "black",
  "quality": "lossless"
}' |
apify call parseforge/image-converter-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=parseforge/image-converter-api",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Image Converter API",
        "description": "Convert and optimize images between PNG, JPG, WEBP, AVIF, and SVG with professional precision. This tool offers advanced quality control, intelligent aspect ratio cropping, automatic SVG vectorization, and ultra-fast batch processing.",
        "version": "1.0",
        "x-build-id": "rFSxVn2cmI8cbmoek"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~image-converter-api/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-image-converter-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/parseforge~image-converter-api/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-image-converter-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/parseforge~image-converter-api/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-image-converter-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "imageFiles",
                    "outputFormat"
                ],
                "properties": {
                    "imageFiles": {
                        "title": "Image Files",
                        "type": "array",
                        "description": "Upload images or paste image URLs to convert. Supports JPEG, PNG, WEBP, GIF, AVIF, TIFF, and SVG (vectorial images will be rasterized).",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "outputFormat": {
                        "title": "Output Format",
                        "enum": [
                            "jpeg",
                            "jpg",
                            "png",
                            "webp",
                            "avif",
                            "svg"
                        ],
                        "type": "string",
                        "description": "Format to convert images to. Choose based on your needs: JPEG for photos (smaller), PNG for graphics with transparency, WEBP for modern web (best compression), AVIF for next-gen (smallest size), SVG for vector graphics (trace/vectorize raster images)."
                    },
                    "aspectRatio": {
                        "title": "Aspect Ratio (Quick Select)",
                        "enum": [
                            "original",
                            "16:9",
                            "4:3",
                            "1:1",
                            "3:2",
                            "21:9"
                        ],
                        "type": "string",
                        "description": "Quick aspect ratio selector for common formats. For more control, use the 'Resize Options' below."
                    },
                    "svgColor": {
                        "title": "SVG Color (only for SVG output)",
                        "pattern": "^(black|white|#[0-9A-Fa-f]{6})$",
                        "type": "string",
                        "description": "Color for SVG paths. Choose 'black' for black, 'white' for white, or enter a custom hex color (e.g., '#FF5733', '#00A8E8')."
                    },
                    "quality": {
                        "title": "Quality",
                        "enum": [
                            "lossless",
                            "maximum",
                            "high",
                            "medium",
                            "low"
                        ],
                        "type": "string",
                        "description": "Output quality level. Higher quality = better looking images but larger file sizes. Lower quality = smaller files but slight quality loss."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
