Быстрый старт
Отправьте первый маршрутизированный запрос.
Создайте API-ключ в консоли, затем вызовите https://api.onemux.net/v1/chat/completions.
Чек-лист настройки
- Создать ключ
- Выбрать модель
- Отправить запрос
curl https://api.onemux.net/v1/chat/completions \
+ -H "Authorization: Bearer $ONEMUX_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello OneMux"}]}'