AI Playground

Play with any AI API

Welcome to AI Playground!

AI Playground is lightweight, self-hostable AI chat interface designed for quick experimentation with various AI APIs. No logins, no persistence—just a clean, temporary sandbox where you can test prompts, tweak AI settings, and interact with models in real time.

This is an open-source project by love-chan. View on GitHub


How to Use with Different APIs:

  1. Go to Settings > API Settings.
  2. Model: Enter the specific model name for your chosen API.
    • Example (OpenAI): gpt-4o, gpt-3.5-turbo
    • Example (Anthropic Claude): claude-3-opus-20240229
    • Example (DeepSeek): deepseek-chat or deepseek-coder
    • Example (Groq): llama3-8b-8192, mixtral-8x7b-32768
  3. API/Proxy URL: This is the chat completions endpoint.
    • OpenAI: https://api.openai.com/v1/chat/completions
    • Anthropic Claude: https://api.anthropic.com/v1/messages
      (Note: Full Claude API compatibility may require adjustments or a proxy.)
    • DeepSeek: https://api.deepseek.com/chat/completions
    • Groq: https://api.groq.com/openai/v1/chat/completions
    • Other Proxies/Self-Hosted: Your specific endpoint URL.
  4. API Key: This is a unique, private key that authenticates your access to the chosen AI service. It acts as a password that allows your requests to be processed securely. Be sure to keep it confidential, as sharing it may lead to unauthorized usage or additional costs.
  5. Custom System Prompt (Optional): This defines how the AI should behave and what it should remember. You can set instructions to guide its tone, response style, and even specific details you'd like it to retain throughout the interaction.
  6. Max Tokens (Optional): Controls response length. Each provider may have different limits. Always check the maximum token allowance of your chosen API before use.
  7. Temperature: Adjusts randomness. A low value (e.g., 0.0) makes responses more predictable, while a higher value (e.g., 2.0) leads to more diverse and creative answers.

Disclaimer

AI Playground interacts with third-party APIs, which are entirely managed and controlled by their respective providers. The usage, functionality, and availability of these APIs are subject to their own terms and conditions. The developer of this project does not control, endorse, or take responsibility for any issues, limitations, or consequences arising from API usage.

Users are solely responsible for configuring and using API keys properly. Make sure to review the terms of any API provider you integrate with!

For those new to AI APIs: Some models charge per token, so please review the pricing details of your chosen provider beforehand.

Where to Get APIs

Donate

✨ This project is totally free, but if you’d like to sprinkle some magic ✨ and help me keep it running, I’d be super grateful! Click here to support.

Start by typing your first message below! 🐸