id and url you can pass into
Generation.
This endpoint needs only your tenant key — send
x-api-key and nothing else,
with no Authorization: Bearer token. BASE_URL is the Souldi API base URL, https://api.souldi.io.
See the authentication model.Search by image
Finds garments in your catalog that are visually similar to a reference image you provide. Results are ranked byz_score,
exactly like text search.
Required headers
Query parameter
A public URL of the reference garment image, passed in the URL query
string (not the JSON body). For example
?query=https://shop.example.com/inspo.jpg.Relevance floor in standard deviations above the query’s mean. Range
-5.0–5.0.
See How relevance works.The matching garments, ordered most-relevant first. May be empty if nothing
clears
min_z_score.The garment image URL — pass this into
POST /try-on/generate to try it on.The relevance score for this query. See
How relevance works.
Next steps
Search by text
Use a natural-language query when you don’t have a reference image.
Search by attributes
Switch to exact faceted filters across ten garment attributes.
Try a garment on
Pass a result
url to POST /try-on/generate to render it on your user.