Skip to content

v0.7.1 — /silhouette

Choose a tag to compare

@TroyJLorents-GH TroyJLorents-GH released this 10 May 17:53
· 42 commits to main since this release

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.png

Full changelog: v0.7.0...v0.7.1