Get your API keys,
easiest first.
DarkCam works without any keys. Keys only unlock the extra AI features: upscaling and AI enhance. Start at step 1 and stop whenever you have enough. Tap a step to tick it off.
Picsart API
Used for Upscale and bigger photo sizes.
- Open the Picsart API guideGo to docs.picsart.io → Get API Key.
- Sign up or log inUse a normal Picsart account (Google works). No separate developer signup.
- Open the API consoleUse the link on that page. You'll see a default app already made for you.
- Copy the keyTap the copy icon on the app card. Keep it somewhere safe.
Picsart says the image is too big?
Picsart only allows results up to about 23 megapixels. Large photos can't be upscaled by it, so DarkCam falls back to a normal resize. This is expected.
Gemini API
Used for AI enhance: it studies your photo and suggests a colour grade.
- Open Google AI Studioaistudio.google.com/apikey
- Sign in with a Google accountAccept the terms if asked.
- Tap "Create API key"Pick a project, or let it make a new one.
- Copy the keyIt's a long text starting with letters like
AIzaorAQ..
Groq API
A fast backup for AI enhance. DarkCam tries it if Gemini fails.
- Open the Groq consoleconsole.groq.com/keys
- Create an accountSign up with email, Google or GitHub, then verify.
- Tap "Create API Key"Give it a name like
darkcam. - Copy it right awayIt starts with
gsk_and is shown only once. If you lose it, make a new one.
Model errors?
Providers rename models sometimes. In DarkCam open Settings → Model names and update the Groq vision model to a current one from the Groq model list.
RapidAPI Photo Enhance
An extra Upscale provider. Most useful when Picsart can't handle your photo.
- Make a RapidAPI accountrapidapi.com → Sign up.
- Find the APISearch
Photo Enhance APIand open the one by teamai. - Subscribe to a planOpen the Pricing tab and pick the free/basic plan. You may need to add a card even for a free plan. Without a subscription the key won't work.
- Open the PlaygroundGo to Endpoints and tap the
enhanceendpoint. - Copy your keyUnder Authorization copy the
X-RapidAPI-Key. - Check host and pathTap the
</>code icon. These values should match what DarkCam already has:photo-enhance-api.p.rapidapi.comapi/scale
Testing it on RapidAPI gives "Invalid image base64"?
That's normal. The example body holds a fake image, so the API rejects it. It proves your key, host and path all work.
Error "Endpoint does not exist" or 403?
- Does not exist: the path is wrong. Set it to
api/scalein Settings. - 403 / not subscribed: you haven't subscribed to a plan yet (step 3).
- 429: you hit the plan's monthly limit.
Paste them into DarkCam
- Open SettingsTap the gear icon at the top right of the camera.
- Open "AI enhance & keys"Scroll to that section.
- Paste each key in its own fieldLong-press the box and choose Paste. Use only the key, no spaces.
Picsart API keystep 1Gemini API keystep 2Groq API keystep 3RapidAPI keystep 4
- Choose the upscale providerLeave it on Auto to try RapidAPI, then Picsart, then a plain resize.
Quick fixes
Do I need every key?
No. Picsart alone covers upscaling and Gemini alone covers AI enhance. The rest are backups.
Is it really free?
Most providers give free credits or a free tier, but limits and prices change. Check each site's pricing page before relying on it.
Where is my key stored?
On your phone, inside the app's settings. DarkCam only sends it to the matching provider when you use that feature.
A key stopped working
Check for extra spaces when pasting, check you still have credits, or delete the key on the provider's site and make a new one.