v0.7.1 — /silhouette
Added
POST /silhouette— two-tone silhouette portrait. Subject filled with one solid color, background filled with another. Apple Music / Spotify avatar style. Use for stylized profile pictures, podcast cover art, anonymized portraits, branding placeholders.
Why a patch bump
No new model, no new dependency. Reuses the existing BiRefNet mask path then composites two flat colors. ~30 lines of glue around what was already loaded.
Endpoint count
22 endpoints in one image API (was 21).
Demo
curl -X POST "https://useknockout--api.modal.run/silhouette" \
-H "Authorization: Bearer kno_public_beta_4d7e9f1a3c5b2e8d6a9f7c1b3e5d8a2f" \
-F "file=@portrait.jpg" \
-F "subject_color=#7C3AED" \
-F "bg_color=#FFFFFF" \
-F "format=png" \
-o silhouette.pngFull changelog: v0.7.0...v0.7.1