> ## Documentation Index
> Fetch the complete documentation index at: https://docs.generalrobotics.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# c-radio

> Compute an L2-normalized embedding for a single RGB image

Compute an L2-normalized embedding for a single RGB image.

## Parameters

<ParamField body="image_input" type="ImageInput" required>
  RGB image as file path, URL, PIL Image, or numpy array.
</ParamField>

<ParamField body="timeout" type="float | None">
  Optional timeout in seconds for the HTTP request.
</ParamField>

## Returns

np.ndarray: Embedding as numpy array of shape `(D,)`, dtype `float32`,
L2-normalized so dot products give cosine similarity directly.

## Example

```python theme={null}
from grid_cortex_client import CortexClient, ModelType
import numpy as np
from PIL import Image
client = CortexClient()
image = np.array(Image.open("cat.jpg"))
emb = client.run(ModelType.C_RADIO, image_input=image)
print(emb.shape, float(np.linalg.norm(emb)))  # (D,) 1.0
```
