Postman Collection

📬 Postman Collection

Uniport works seamlessly with Postman. You can import OpenAI's existing Postman collection and:

  1. Go to Authorization tab → Set Bearer Token as your Uniport API key.

  2. Set the Base URL to:

    arduinoCopyEdithttps://api.uniportai.site/v1
  3. Use all endpoints like /chat/completions, /images/generations, etc.

🔗 OpenAI Postman Collection (import and change baseURL)


🛠️ Other Compatible Libraries

Language
Library
Notes

PHP

openai-php/client

Set base_uri to Uniport

Go

openai-go

Override Base URL

Rust

openai-rust

Use OpenAI-compatible config

Swift

OpenAIKit

Just set the custom URL


✅ Best Practices

  • Always override baseURL or base_url to use Uniport’s infrastructure.

  • Use streaming for better UX when handling chat-based models.

  • Gracefully handle rate limits (429) and fallbacks if needed.

  • Use model name aliases exactly as shown in Uniport's /v1/models list.

Last updated