coil-kt/coil ? reverse-engineered prompt

Reverse engineered prompt

Build me a Kotlin image loading library for Android and Compose Multiplatform that feels fast and easy to use.

I want it to load images from URLs, files, and other sources, show them in Compose with a simple AsyncImage style API, and handle the usual image loading work for me like caching, resizing, canceling requests when needed, and not wasting memory. It should be lightweight, work well with modern Kotlin tools, and be set up so I can plug in different network options if I need them. Please also include support for common image types like GIF, SVG, and video thumbnails if that fits naturally.

Make it clean, well organized, and ready to publish as a reusable library, with a few sample screens or examples that show how to use it in a real app. If you need to look up current docs or best practices online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab