Skip to main content

Documentation Index

Fetch the complete documentation index at: https://platform.stepfun.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

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"))
{
  "id": "step-tts-2",
  "object": "model",
  "created": 1713196800,
  "owned_by": "stepai"
}