त्वरित शुरुआत

अपना पहला रूट किया गया अनुरोध भेजें।

कंसोल में एक API कुंजी बनाएं, फिर कॉल करें https://api.onemux.net/v1/chat/completions.

सेटअप चेकलिस्ट

  1. कुंजी बनाएं
  2. मॉडल चुनें
  3. अनुरोध भेजें
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"}]}'