multiapi / templates /index.html
Juna190825's picture
Create templates/index.html
2507fb7 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenRouter AI Hub</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<div class="container">
<header>
<h1>OpenRouter AI Hub</h1>
<p>Access multiple AI models through a single interface</p>
</header>
<main>
<section class="features">
<h2>Features</h2>
<ul>
<li>Chat with multiple AI models (GPT-3.5, Claude, LLaMA, etc.)</li>
<li>Smart model selection based on your query</li>
<li>Simple API endpoints for integration</li>
<li>Completely free to use</li>
</ul>
</section>
<section class="try-it">
<h2>Try It Out</h2>
<p>Visit the <a href="/">chat interface</a> or use our API:</p>
<div class="code-block">
<pre><code>POST /api/v1/chat
Content-Type: application/json
{
"message": "Explain quantum computing",
"model": "openai/gpt-3.5-turbo"
}</code></pre>
</div>
</section>
</main>
<footer>
<p>Powered by OpenRouter and Hugging Face Spaces</p>
</footer>
</div>
</body>
</html>