Daily news summary video

Generate a fresh summary video every day, entirely from a text prompt. No footage to source or edit — Tellers assembles stock clips and voiceover automatically.

With the CLI

tellers "Create a 60-second daily news summary video for April 7 2026. \
Cover the top 3 stories of the day with short visual segments. \
Use stock footage. Add a calm, professional voiceover tone."

With the API

import datetime
import os, time, uuid
import requests  # pip install requests

API_KEY = os.environ["TELLERS_API_KEY"]
BASE    = "https://api.tellers.ai"
HEADERS = {"x-api-key": API_KEY}


def run_agent(message: str) -> dict:
    """Send a prompt to the Tellers agent and wait until its turn ends."""
    resp = requests.post(f"{BASE}/agent/messages", headers=HEADERS, json={
        "message":        message,
        "no_interaction": True,  # run to the end without asking follow-up questions
        # "llm_model":    "gpt-6.1-terra",  # optional, see "Available models"
    })
    resp.raise_for_status()
    chat_id = resp.json()["chat_id"]

    # Check every 10 seconds until the agent is done.
    while True:
        resp = requests.get(f"{BASE}/agent/chat/{chat_id}/result", headers=HEADERS)
        resp.raise_for_status()
        result = resp.json()
        if result["status"] != "progressing":
            return result  # status is "done" or "error"
        time.sleep(10)


today  = datetime.date.today().strftime("%B %-d %Y")
result = run_agent(
    f"Create a 60-second daily news summary video for {today}. "
    "Cover the top 3 stories of the day with short visual segments. "
    "Use stock footage. Add a calm, professional voiceover tone."
)

if result["status"] == "error":
    raise RuntimeError(result["message"])

print(result["message"])                   # the agent's summary
print("Projects:", result["projects"])     # project IDs it created or edited
for asset in result["assets"]:             # assets it generated or used
    print(asset["type"], asset["id"])

Install dependencies: pip install requests, and set TELLERS_API_KEY to your API key.

Automate with cron

Schedule the script to run every weekday morning:

# crontab — run every weekday at 07:00
0 7 * * 1-5 /usr/bin/python3 /opt/news-summary/generate.py >> /var/log/news-summary.log 2>&1