The Stack in Python

One VPS. One guy. Six APIs. All callable from Python in under 10 lines each.

1. Claude — the brain
# pip install anthropic
import anthropic

client = anthropic.Anthropic(api_key="sk-ant-...")

response = client.messages.create(
    model="claude-sonnet-4-6",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Recommend furniture for a small living room"}]
)
print(response.content[0].text)
2. ElevenLabs — voice in any language
# pip install elevenlabs
import requests

r = requests.post(
    "https://api.elevenlabs.io/v1/text-to-speech/IKne3meq5aSn9XLyUdCD",
    headers={"xi-api-key": "sk_..."},
    json={
        "text": "Bienvenido. Welcome. Hola.",
        "model_id": "eleven_multilingual_v2"
    }
)
with open("voice.mp3", "wb") as f:
    f.write(r.content)  # done. any language.
3. Suno via EvoLink — music from lyrics
r = requests.post(
    "https://api.evolink.ai/v1/audios/generations",
    headers={"Authorization": "Bearer sk-..."},
    json={
        "model": "suno-v4.5all",
        "custom_mode": True,
        "title": "Demo Song",
        "style": "warm acoustic, Spanish English, 80 BPM",
        "prompt": "[Verse]\nMade by hand in Nicaragua..."
    }
)
task_id = r.json()["id"]  # poll for mp3
4. HeyGen — talking video from script
r = requests.post(
    "https://api.heygen.com/v2/video/generate",
    headers={"X-Api-Key": "sk_V2_..."},
    json={
        "video_inputs": [{
            "character": {"type": "avatar", "avatar_id": "3cbe944b..."},
            "voice": {"type": "text", "voice_id": "IKne3meq...",
                       "input_text": "Hola. Bienvenido. Built by hand."}
        }],
        "dimension": {"width": 1280, "height": 720}
    }
)
video_id = r.json()["data"]["video_id"]  # poll → mp4 url
5. Cloudflare D1 — database (SQLite via REST)
r = requests.post(
    f"https://api.cloudflare.com/client/v4/accounts/{account_id}/d1/database/{db_id}/query",
    headers={"Authorization": "Bearer ..."},
    json={"sql": "SELECT * FROM products WHERE category = ?", "params": ["teak"]}
)
# No server. No postgres. No bill.
Studio idea — put it together
# Customer types: "I need chairs for a small balcony"
# Claude recommends → ElevenLabs reads back in Spanish
# HeyGen shows a talking product advisor
# D1 logs the session, no server needed

def advise_customer(query: str, language: str = "es"):
    ai_response = ask_claude(query)       # brain
    audio_file  = speak(ai_response, language) # voice
    video_url   = make_video(ai_response)    # face
    return {"text": ai_response, "audio": audio_file, "video": video_url}
Bot leads. Human learns. Together we fly.

Want to build? Contact Us →