explode

The explode transformation applies an explosion distortion effect that pushes pixels outward from the center of the image, creating a radial bursting appearance. Useful for creating dramatic visual effects or artistic distortions that emphasize the image center.

Serving Content via CDN

The Media API is a CDN-based service that serves transformed images via GET requests. When you request a transformed image URL, the transformation is applied dynamically on the first request and then cached for subsequent requests.

URL Pattern

https://media.vyso.io/explode:factor=FACTOR/ASSET_ID.jpg

Examples

Subtle Explosion (0.2)

curl -i GET https://media.vyso.io/explode:factor=0.2/ASSET_ID.jpg

Standard Explosion Effect

curl -i GET https://media.vyso.io/explode:factor=0.5/ASSET_ID.jpg

Strong Explosion (0.8)

curl -i GET https://media.vyso.io/explode:factor=0.8/ASSET_ID.jpg

Extreme Explosion (1.0)

curl -i GET https://media.vyso.io/explode:factor=1.0/ASSET_ID.jpg

On the first request, you'll receive a X-Cache: MISS header while the transformation is applied and cached. Subsequent requests will return X-Cache: HIT.

Parameters

factorOPTIONAL

Strength of the explosion effect. Accepted values:

  • Range: 0.0 to 1.0+
  • 0.2 - Subtle radial expansion
  • 0.5 - Standard explosion (default)
  • 0.8 - Strong explosion burst
  • 1.0 - Maximum explosion effect
  • Opposite of implode transformation

Response

The API returns the explode-distorted image. The response format depends on the format of the asset stored in the Vyso asset cloud.

Content-Type: Determined by the stored asset format (e.g., image/jpeg, image/png)