Use your own key

Connect your free Google Gemini or Groq account to the app: it uses your key first, and when its limits run out it continues from your plan’s usual quota.

Requires Ali Photo 1.6.0 or Ali Video 1.3.0 or later.

Google Gemini

For chat, writing and understanding photos, and image generation if your Google account allows it. — https://aistudio.google.com/apikey

  1. Open aistudio.google.com/apikey and sign in with a Google account.
  2. Click “Create API key”, and accept the terms if asked.
  3. Copy the key that appears (it usually starts with AIza).

Groq

Very fast for chat, writing and speech-to-text. — https://console.groq.com/keys

  1. Open console.groq.com/keys and create a free account or sign in.
  2. Click “Create API Key” and give it any name.
  3. Copy the key right away (it starts with gsk_) — it isn’t shown again.

Paste it into the app

  1. Open Ali Photo or Ali Video → Settings → “My own keys”.
  2. Paste the key into the provider’s field, then press “Test key” to make sure it works.
  3. From now on the app uses your key first, and when its daily limits run out it continues from your plan’s quota automatically.

Before you start