- Media API
- Transformations
- Effect
- implode
implode
The implode transformation applies an implosion distortion effect that pulls pixels toward the center of the image, creating a funnel or vortex appearance. Useful for creating dramatic visual effects or artistic distortions.
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/implode:factor=FACTOR/ASSET_ID.jpgExamples
Subtle Implosion (0.2)
curl -i GET https://media.vyso.io/implode:factor=0.2/ASSET_ID.jpgStandard Implode Effect
curl -i GET https://media.vyso.io/implode:factor=0.5/ASSET_ID.jpgStrong Implosion (0.8)
curl -i GET https://media.vyso.io/implode:factor=0.8/ASSET_ID.jpgMaximum Implode Effect (1.0)
curl -i GET https://media.vyso.io/implode:factor=1.0/ASSET_ID.jpgOn 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
factorOPTIONALStrength of the implosion effect. Accepted values:
- Range: 0.0 to 1.0+
0.2- Subtle inward pull0.5- Standard implode (default)0.8- Strong implosion vortex1.0- Maximum implosion effect- Positive values implode inward; negative values explode outward
Response
The API returns the implode-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)