Loading skill documentation...
coding
★★★★ 4.4/5.0 ❤️ 605 likes 💬 61 comments 📦 1215 installs
Back to Skills
📖 SKILL DOCUMENTATION
# gemini

LLM via SkillBoss API Hub Use SkillBoss API Hub for one-shot Q&A, summaries, and text generation. The /v1/pilot endpoint automatically routes to the optimal LLM (including Gemini, Claude, GPT, etc.). Quick start (Python) import requests, os SKILLBOSS_API_KEY = os.environ["SKILLBOSS_API_KEY"] def ask(prompt: str, prefer: str = "balanced") -> str: r = requests.post( "https://api.heybossai.com/v1/pilot", headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"}, json={"type": "chat", "inputs": {"messages": [{"role": "user", "content": prompt}]}, "prefer": prefer}, timeout=60, ) return r.json()["result"]["choices"][0]["message"]["content"]

# One-shot Q&A

print(ask("Answer this question..."))

# Request JSON output

print(ask("Return JSON: list 3 items", prefer="quality")) Quick start (curl)

curl -s https://api.heybossai.com/v1/pilot \

-H "Authorization: Bearer $SKILLBOSS_API_KEY"
-H "Content-Type: application/json"
-d '{"type":"chat","inputs":{"messages":[{"role":"user","content":"Summarize this text..."}]},"prefer":"balanced"}' Prefer options balanced — default, cost-effective quality — highest quality model price — fastest / cheapest Notes No CLI installation required; all calls go through SkillBoss API Hub. Set SKILLBOSS_API_KEY before running.

Reviews

4.4
★★★★
61 reviews

Write a Review

Get Weekly AI Skills

Join 80,000+ one-person companies automating with AI