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.
- Your key stays on your PC — It’s stored encrypted on your computer only, and requests go straight from the app to the provider — never through our server, never logged.
- More quota for you — Your requests count against your own key first, so your plan’s daily quota is saved for when you need it.
- Free and optional — Both providers offer free keys with daily limits, and the app works fully without them.
Google Gemini
For chat, writing and understanding photos, and image generation if your Google account allows it. — https://aistudio.google.com/apikey
- Open aistudio.google.com/apikey and sign in with a Google account.
- Click “Create API key”, and accept the terms if asked.
- 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
- Open console.groq.com/keys and create a free account or sign in.
- Click “Create API Key” and give it any name.
- Copy the key right away (it starts with gsk_) — it isn’t shown again.
Paste it into the app
- Open Ali Photo or Ali Video → Settings → “My own keys”.
- Paste the key into the provider’s field, then press “Test key” to make sure it works.
- 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
- Free keys have per-minute and daily limits set by the provider.
- Check each provider’s terms: on free tiers the provider may use data to improve its services.
- Don’t share your key with anyone; you can delete or revoke it on the provider’s site at any time.