Simple to Use, Powerful to Integrate.
We're built by developers, for developers. Get started in minutes with our command-line script or integrate deeply with our fully-documented REST API.
Our Python script is a perfect example of our philosophy: powerful results from a simple interface. Just provide a URL and let our system handle the rest.
Explore API Documentation# Usage:
python transcript.py "https://youtube.com/watch?v=VIDEO_ID"
def clean_chunk(
client: OpenAI,
title: str,
desc: str,
prev: str,
raw: str,
) -> str:
"""Clean a single chunk with retry/back-off logic."""
try:
resp = client.chat.completions.create(
model="gpt-4o-mini",
messages=build_llm_messages(
title, desc, prev, raw
),
response_format={"type": "text"},
temperature=0.5,
)
return (resp.choices[0].message.content or "").strip()
except Exception as exc:
# ... retry logic ...
raise RuntimeError(f"OpenAI call failed: {exc}")