Skip to Content

Get a single model

Retrieve metadata for a model, including creation time and owner.

Endpoint

GET https://api.stepfun.ai/v1/models/{model}

Path parameters

  • model string required
    Model ID.

Response

Returns a single Model object.

Example

from openai import OpenAI client = OpenAI(api_key="STEP_API_KEY", base_url="https://api.stepfun.ai/v1") print(client.models.retrieve("step-tts-2"))
Response
{ "id": "step-tts-2", "object": "model", "created": 1713196800, "owned_by": "stepai" }
Last updated on