ResNet-18 / ResNet-50 API
Residual CNNs, commonly ImageNet-initialized. ResNet-18 is the default image backbone of Diffusion Policy and ACT. ResNet-50 outputs 2048-d features.
Call ResNet-18 / ResNet-50
Send one request with your API key. The response comes back in the same call. See the API reference for every field.
import os, requests res = requests.post( "https://api.openrobotics.dev/v1/embed", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "microsoft/resnet-18", "image": "<base64 JPEG or PNG>", },).json()res["embedding"] # unit-length float vectorGPUs start on demand. If ResNet-18 / ResNet-50 hasn't been called for a while, the first request returns 503 with a Retry-After header while it boots (usually a few minutes, never billed).
Guides about ResNet-18 / ResNet-50
- DINOv3 vs DINOv2: features, licenses and retrieval
- Compare DINOv2 and DINOv3, distinguish dense features from pooled API vectors, and test same-space image retrieval with offline Python.
- Physical AI explained: the open model stack for robots
- What physical AI (embodied AI) means, the five kinds of models a robot uses, from perception to VLAs and world models, and open examples of each.
ResNet-18 / ResNet-50 FAQ
- How do I run ResNet-18 / ResNet-50 without my own GPU?
- Call POST /v1/embed on the OpenRobotics API with "model": "microsoft/resnet-18". We run ResNet-18 / ResNet-50 on cloud GPUs that start on demand, so there is nothing to install or host.
- How much does the ResNet-18 / ResNet-50 API cost?
- $0.02 per 1,000 calls, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.
- What license does ResNet-18 / ResNet-50 use?
- The weights we serve (microsoft/resnet-18) are released under Apache-2.0. Check the license for your use case.
- Is ResNet-18 / ResNet-50 open source?
- ResNet-18 / ResNet-50's weights are publicly available under Apache-2.0. OpenRobotics serves them behind an API so you can use the model without hosting it.
Run ResNet-18 / ResNet-50 with one API call
Create a key, send POST /v1/embed with "model": "microsoft/resnet-18", and pay $0.02 per 1,000 calls.