URL Operations

URL-based image operations

Handles image optimization, conversion, and storage via URL with comprehensive input support.

post/v1/url

Request

  • Base URL: https://api.kraken.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.kraken.io/v1/url
  • Auth: none declared

Request body

urlstring required

Image URL.

waitboolean
devboolean

Enable sandbox mode for development testing (returns randomized results)

qualityinteger

Custom quality level for JPG, PNG, and GIF (1-100)

callback_urlstring nullable

URL for asynchronous callback notification

lossyboolean

Enable lossy compression for better optimization (defaults to false for lossless)

preserve_metastring[]

Preserve specific metadata (EXIF, XMP, IPTC, etc.) in the optimized image

auto_orientboolean

Automatically orient the image based on EXIF orientation data

chroma_subsampling'4:2:0' | '4:2:2' | '4:4:4'

Specify chroma subsampling for JPEG images

Response

Operation completed successfully.

successboolean
kraked_urlstring
file_namestring
original_sizeinteger
kraked_sizeinteger
saved_bytesinteger

Changes

No recorded changes to this operation across all 1 revision of this API.