# Base URL

Configure one address without duplicated version prefixes.

<a id="sdk"></a>

## SDK configuration

Use /v1 as your SDK base URL. For a direct HTTP request, append the endpoint path. Do not add /v1 twice.

```
https://api.ohgrok.com/v1
```

<a id="http"></a>

## 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 |

<a id="clients"></a>

## 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.

