Service Documentation
Learn how to interact with OpenAI API using the Ouro SDK or REST API.
API access requires an API key. Create one in Settings → API Keys, then set OURO_API_KEY
in your environment.
Getting Started
Use the Ouro SDK to retrieve service metadata and interact with the API programmatically.
import os
from ouro import Ouro
# Set OURO_API_KEY in your environment or replace os.environ.get("OURO_API_KEY")
ouro = Ouro(api_key=os.environ.get("OURO_API_KEY"))
service_id = "b6b8afe9-a673-48a7-ab54-1e398d14dddd"
# Retrieve service metadata
s = ouro.services.retrieve(service_id)
print(s.name, s.visibility)
# Optionally read the OpenAPI spec
spec = ouro.services.read_spec(service_id)
print(spec.get("openapi"))
OpenAPI Specification
Download the complete OpenAPI spec for this service.
Available Endpoints
/images/generations/dalle3
Text to image generation with DALL-E 3
/images/generations/dalle2
Text to image generation with DALL-E 2
/images/variations
Create variations of an existing image
/images/analyze
Use vision capabilities to understand images
/speech/generate
Convert text to speech using OpenAI TTS
/speech/from-post
Convert a post to speech using OpenAI TTS
OpenAI API
Version 0.1.0OpenAI REST API provides a simple interface to state-of-the-art AI models for natural language processing, image generation, semantic search, and speech recognition.
New AI services added
postHey everyone! Quick announcement for some new services added to Ouro. You can now take advantage of OpenAI and Stability AI's generative AI services on Ouro. We've worked to make these functionalities
9mo