Skip to content

Models

Models are the AI model options available for supported generation workflows. Use the models endpoint when you need to discover available model IDs for a type of generation.

Terminal window
curl "https://app.flora.ai/api/v1/models?type=image" \
-H "Authorization: Bearer ak_XXXX"

Response:

{
"models": [
{
"model_id": "model_...",
"name": "Example Image Model",
"type": "image"
}
]
}
MethodPathDescription
GET/api/v1/models?type=imageList image models
  • Model availability can change over time.
  • Store the model_id returned by the API rather than hard-coding a display name.
  • If a workflow is technique-based, start from the Techniques page instead; technique inputs usually define what the workflow needs.