List models
Shows all available models, including creation time and owner.
Endpoint
GET https://api.stepfun.ai/v1/models
Request parameters
None.
Response
Returns a list of Model objects.
Example
from openai import OpenAI
client = OpenAI(
api_key="STEP_API_KEY",
base_url="https://api.stepfun.ai/v1"
)
print(client.models.list())
Response
{
"object": "list",
"data": [
{
"id": "step-tts-2",
"object": "model",
"created": 1720080000,
"owned_by": "stepai"
}
]
}Last updated on