You can now search for models directly through the API. Previously, discovering models meant paginating through the full list of public models and filtering client-side. The new search endpoint lets you find models by with a single request.
How it works
The new GET /search/models endpoint accepts a query string and returns matching models ranked by relevance. Results are paginated using the same cursor-based pagination as other list endpoints.
1curl "https://api.wrift.ai/v1/search/models?q=stable-diff&page_size=10" \2 -H "Authorization: Bearer $WRIFTAI_ACCESS_TOKEN"
Private models
If you're authenticated, search results will also include private models you have access to. Unauthenticated searches or searches from users without access will only return public models.
Query limits
Search queries must be between 1 and 50 characters. Results support the same cursor and page_size parameters available on all other paginated endpoints.
See the API reference for the full request and response schema.