List available models
import { FloraClient } from '@flora-ai/flora';
const client = new FloraClient({ apiKey: process.env['FLORA_API_KEY'] });
const page = await client.models.list();console.log(page);curl -X GET 'https://app.flora.ai/api/v1/models' \ -H 'Authorization: Bearer $FLORA_API_KEY'Returns the public model catalog visible to API clients. Use the optional type filter to narrow results to image, video, audio, or text models.
Error responses use the standard error body.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Model type
Model type
Responses
Section titled “ Responses ”Available models returned.
object
object
Model identifier
Model name
Model type
Model provider
Model capabilities
Estimated credits (legacy unit). Prefer estimated_cost_usd.
Base price of one generation in USD at default parameters, before parameter surcharges and plan discounts. Quote this to users rather than credits.
Estimated seconds
Supported generation parameters for this model
object
Parameter name to pass in generation params
Parameter value type
Whether the model requires this parameter
Default parameter value
Minimum numeric value
Maximum numeric value
Human-readable parameter label
Parameter help text
Allowed values for enum-like parameters
object
Displayed option label
Option value to pass in generation params
Option description
Nested numeric properties for object parameters
object
object
Whether this model is in beta
Example
{ "models": [ { "model_id": "t2i-flux-2-pro", "type": "image", "provider": "Black Forest Labs", "params": [ { "type": "string" } ] } ]}