apyhub
FILE CONVERSION · FILE MANIPULATION

Convert WebP to JPEG API

Hosted on ApyHub

What it does

WebP to JPEG Converter turns WebP images into JPEG files. You can send a publicly accessible image URL and get back a signed download URL, or upload a file with multipart form data and either download the converted JPEG directly or receive a signed URL.

Use the URL-based endpoints when the image already lives on a public asset host. Send url in the request body, and the response returns data as a URI. Use the multipart endpoints when you have the file locally and want either a binary JPEG response or a signed URL for later download.

This is a straightforward fit for pipelines that need JPEG output for older browsers, CMS imports, email templates, or systems that do not accept WebP. Keep the conversion step isolated, and pass the converted image into the rest of your workflow without adding custom image handling code.

WebP to JPEG Converter keeps the interface narrow: the request body contains either url or file, and the response is either a binary file or a data URI, depending on the route you choose.

▣ ENDPOINT 01 / 04
POST
Convert WebP to JPEG (fetch by URL, return signed URL)
http://localhost:8080/apyhub/mono-go-webp-to-jpeg-conversion/url/link
QUICKSTARTGUIDE

Quickstart

Convert a publicly accessible WebP image from a URL to JPEG.

curl -X POST "http://localhost:8080/apyhub/mono-go-webp-to-jpeg-conversion/url/link" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.webp"}'

What you'll get back

Returns a JSON object with a data string field containing the URI of the converted JPEG file.

{
  "data": "https://apyhub-outgoing.s3.eu-west-1.amazonaws.com/mono-go/image-processor/general/image_2026-08-07_e31eef47.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARJOHWS6LWTUUGYPI%2F20260807%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20260807T122633Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&response-content-disposition=inline&response-content-type=image%2Fjpeg&X-Amz-Signature=f4928ac6fe65c7c547dd010620526b47c18290057dcd9b25253aa8d409aa9a84"
}
TRY ITLIVE · 30 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Publicly accessible URL of the WebP image to convert.

About this endpoint

What it does

Converts a WebP image fetched from a public URL into JPEG format and returns the resulting file as a signed URL.

Query Parameter(s)

AttributeTypeMandatoryDescription
outputStringNoOutput identifier to use for the generated file.

Request Body

ParameterTypeMandatoryDescription
urlStringYesPublicly accessible URL of the WebP image to convert. Must be a valid URI.

Response

Returns a JSON object with a data string field containing a URI for the converted JPEG file.

AttributeTypeMandatoryDescription
dataStringNoSigned URL of the converted JPEG file.

Query parameters

Name
Type
Description
outputOPTIONAL
string

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 02 / 04
POST
Convert WebP to JPEG (multipart upload, download file)
http://localhost:8080/apyhub/mono-go-webp-to-jpeg-conversion/multi-part/download
QUICKSTARTGUIDE

Quickstart

Upload a WebP file to convert it and download the JPEG result.

curl -X POST "http://localhost:8080/apyhub/mono-go-webp-to-jpeg-conversion/multi-part/download" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/image.webp"

What you'll get back

Returns a binary file containing the converted JPEG image.

TRY ITLIVE · 30 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*

About this endpoint

What it does

Converts an uploaded WebP file to a JPEG file and returns the converted file as binary data. You can optionally pass an output query parameter to name the generated file.

Query Parameter(s)

AttributeTypeMandatoryDescription
outputStringNoOutput file name base. Example: my-invite.

Request Body

ParameterTypeMandatoryDescription
fileStringYesThe WebP file to convert and upload.

Response

Returns a binary file response containing the converted JPEG. The output schema is a binary string, so the response body is the file content rather than a JSON object.

Query parameters

Name
Type
Description
outputOPTIONAL
string

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ ENDPOINT 03 / 04
POST
Convert WebP to JPEG (multipart upload, return signed URL)
http://localhost:8080/apyhub/mono-go-webp-to-jpeg-conversion/multi-part/link
QUICKSTARTGUIDE

Quickstart

Upload a WebP file link and get back a JPEG download URL.

curl -X POST "http://localhost:8080/apyhub/mono-go-webp-to-jpeg-conversion/multi-part/link?output=my-invite" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/image.webp"

What you'll get back

Returns a JSON object with a data string field containing the resulting file URI.

{
  "data": "https://apyhub-outgoing.s3.eu-west-1.amazonaws.com/mono-go/image-processor/general/image_2026-08-07_2d086ed6.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARJOHWS6LWTUUGYPI%2F20260807%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20260807T122758Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&response-content-disposition=inline&response-content-type=image%2Fjpeg&X-Amz-Signature=dcd75b4ce48d6e366fc4fa1e9e9ef3eeb9b3b19e8ee3842b77eb856e3035e126"
}
TRY ITLIVE · 30 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*

About this endpoint

What it does

Converts an uploaded WebP file to JPEG and returns a signed URL in the response. The request sends the file in the body, and you can pass an optional output query parameter to influence the output name.

Query Parameter(s)

AttributeTypeMandatoryDescription
outputStringNoOptional output name.

Request Body

ParameterTypeMandatoryDescription
fileStringYesThe WebP file to convert.

Response

Returns a JSON object with a data string field containing a URI. The data value is the signed URL for the converted JPEG file.

ParameterTypeMandatoryDescription
dataStringYesA URI string with the signed URL to the converted JPEG output.

Query parameters

Name
Type
Description
outputOPTIONAL
string

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ ENDPOINT 04 / 04
POST
Convert WebP to JPEG (fetch by URL, download file)
http://localhost:8080/apyhub/mono-go-webp-to-jpeg-conversion/url/download
QUICKSTARTGUIDE

Quickstart

Convert a public WebP image URL to JPEG and download the result.

curl -X POST "http://localhost:8080/apyhub/mono-go-webp-to-jpeg-conversion/url/download" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.webp"}'

What you'll get back

Returns a binary file response containing the converted JPEG image.

TRY ITLIVE · 30 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Publicly accessible URL of the WebP image to convert.

About this endpoint

What it does

Converts a WebP image fetched from a public URL into a JPEG file and returns the converted file as binary content. The request sends the source image URL in the body and can optionally use the output query parameter to influence the download name.

Query Parameter(s)

AttributeTypeMandatoryDescription
outputStringNoOutput name for the downloaded file.

Request Body

ParameterTypeMandatoryDescription
urlStringYesPublicly accessible URL of the WebP image to convert. Must be a URI.

Response

Returns binary content containing the converted JPEG file. The success response is a binary payload rather than a JSON object.

Query parameters

Name
Type
Description
outputOPTIONAL
string

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.