Model search
search_modelsDiscover, filter, and retrieve fal.ai model endpoints by query, category, status, or ID, and expand schemas or enterprise status.
Instructions
Unified endpoint for discovering model endpoints. Supports three usage modes:
1. List Mode (no parameters): Paginated list of all available model endpoints with minimal metadata.
2. Find Mode (endpoint_id parameter):
Retrieve specific model endpoint(s) by ID. Supports single or multiple IDs.
3. Search Mode (search parameters): Filter models by free-text query, category, or status.
Expansion:
Use expand to include additional data in each model object:
openapi-3.0— full OpenAPI 3.0 schema in theopenapifieldenterprise_status— enterprise readiness status (readyorpending) in theenterprise_statusfield
Examples of endpoint_id values:
fal-ai/flux/devfal-ai/wan/v2.2-a14b/text-to-videofal-ai/minimax/video-01/image-to-videofal-ai/hunyuan3d-v21
See fal.ai Model APIs for more details.
Authentication: Optional. Providing an API key grants higher rate limits.
Common Use Cases:
Browse available models for integration
Retrieve metadata for specific endpoints
Search for models by category or keywords
Get OpenAPI schemas for code generation
Build model selection interfaces
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text search query to filter models by name, description, or category | |
| limit | No | Maximum number of items to return. Actual maximum depends on query type and expansion parameters. | |
| cursor | No | Pagination cursor from previous response. Encodes the page number. | |
| expand | No | Fields to expand in the response. Supported values: 'openapi-3.0' (includes full OpenAPI 3.0 schema in 'openapi' field), 'enterprise_status' (includes enterprise readiness status) | |
| status | No | Filter models by status - omit to include all statuses | |
| account | No | Exact private account key profile label, not an authenticated provider owner ID. | |
| category | No | Filter by category (e.g., 'text-to-image', 'image-to-video', 'training') | |
| endpoint_id | No | Endpoint ID(s) to retrieve (e.g., 'fal-ai/flux/dev'). Can be a single value or multiple values (1-50 models). When combined with search params, narrows results to these IDs. Use array syntax: ?endpoint_id=model1&endpoint_id=model2 |