OHGROK / Integration guide
Base URL
Configure one address without duplicated version prefixes.
On this page
SDK configuration
Use /v1 as your SDK base URL. For a direct HTTP request, append the endpoint path. Do not add /v1 twice.
Base URL
https://api.ohgrok.com/v1 Complete HTTP URLs
Append the operation path once. Chat, Images and Videos use different operations; do not send image or video models to chat by assumption.
| Use | URL |
|---|---|
| Chat | https://api.ohgrok.com/v1/chat/completions |
| Images | https://api.ohgrok.com/v1/images/generations |
| Videos | https://api.ohgrok.com/v1/videos |
| Models | https://api.ohgrok.com/v1/models |
Client configuration
Some applications ask for an origin and append /v1 themselves; others expect the complete /v1 base URL. Inspect the final request URL. A /v1/v1 path is a configuration error.