SDKs
OpenAI SDK
Use the official OpenAI SDKs with Roteo for text and images.
Roteo's text and image endpoints are OpenAI-compatible, so the official OpenAI SDKs, and any client built on them, work by setting the base URL to https://api.roteo.ai/v1 and your sk_ key as the API key.
Text
python · 12 lines
Any text model works here: change model to a claude-*, gpt-* or open-weight id from Models. Streaming, tools and reasoning_effort work as documented by the SDK; see Chat Completions. For GPT models, client.responses.create reaches the Responses API too.
Images
python · 12 lines
See the Images API reference for size, aspect_ratio and the edit endpoint.