tryon-clip-api / README.md
Burhan Bhatti
Switch to Gradio SDK (free tier)
6abd9e8
|
Raw
History Blame Contribute Delete
529 Bytes
---
title: TryON CLIP API
emoji: πŸ‘—
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
---
# TryON CLIP Embedding API
Turns text or images into 512-dim CLIP embeddings (clip-ViT-B-32) for the
TryON fashion search platform. Vectors are matched against product
embeddings stored in Supabase pgvector.
API (auto-exposed by Gradio):
- `POST /gradio_api/call/embed_text` β€” `{"data": ["red floral dress"]}`
- `POST /gradio_api/call/embed_image` β€” `{"data": ["<base64 jpeg/png>"]}`