File size: 1,444 Bytes
2507fb7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!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>