Backend

AI in your app

Let end users call AI from custom screens without putting your API key in the client.

How it works

Custom screens can call window.APPIFY.ai(messages, options). Appify proxies the request on the server using an encrypted key you configured (OpenRouter, OpenAI, or Groq — first available). Appify selects a bounded low-cost model, caps request size and output, and applies per-app rate and daily limits.

Your secret key never ships to phones or the public web client.

Setup

  1. Add an encrypted env key such as OPENROUTER_API_KEY, OPENAI_API_KEY, or GROQ_API_KEY.
  2. Ask Build mode to wire an AI assistant screen that uses APPIFY.ai.
  3. Publish and test on the live web app.

Limits

Messages are capped and max_tokens is limited (up to 4096) to keep usage reasonable.