2.19.27

๐Ÿš€ New OpenAI-Compatible API v2

Hi Straiconauts! @here

Our new v2 family of endpoints has been released and guarantees full OpenAI-compatible services within the same API version.

Why It Rocks

Many integration tools use a single baseUrl for all endpoints, making it necessary to group all OpenAI-compatible endpoints under the same API version. This update makes it easier than ever to integrate Straico with a wide variety of tools and platforms.

Chat Completion v2

https://api.straico.com/v2/chat

It works exactly the same as v0, so if you’re already familiar with it, it’ll feel like an old friend. If you’re not familiar with it yet, check out the complete documentation here.

Models Information v2

https://api.straico.com/v2/models

Key new fields for each model:

id โ€” Replaces the previous model field and serves as the unique identifier of the model in Straico.

model_type โ€” Indicates the model category, which can be chat, image, video, or audio.

Additional fields from our previous model information endpoints like pricing, pros, and cons are included as extras and do not affect OpenAI compatibility.

Model Information v2

https://api.straico.com/v2/models/$model_id

Use this endpoint to get details for a specific model. It returns the same data as the previous endpoint, but for a single model.

Note: Don’t worry about including the “/” character that most model IDs contain. Everything after models/ will be interpreted as the model ID, regardless of any special characters like “/”.

Learn More

Check out the full documentation here.

We hope these new endpoints help you level up your projects and integrations.

Ready to Revolutionize Your AI Experience?

Join our all-in-one AI platform and revolutionize your workflow. โ€จTap into the power of advanced generative models for text, โ€จimages, and audioโ€”all in one place.