[Documentation](https://fluxnative.app/docs) / What you can build

# AI features inside your app

Yes. A FluxNative app can call AI models, OpenAI's for example, for chat, summaries, image understanding or voice notes. The call runs in your backend (a Supabase Edge Function, Firebase or a Cloudflare Worker) with your key stored under App settings › Secrets, never inside the app. On-device detection on camera frames uses Vision Camera in a phone build.

## Works in

|  | Web preview | Phone build |
| --- | --- | --- |
| AI calls through your backend | Yes | Yes |
| Recording a voice note to send | Partly, through the browser | Yes |
| On-device detection on camera frames | No | Yes |

## Packages

Packages as of 2026-11-30, pinned for Expo SDK 57:

- Voice recording: `expo-audio` 57.0.5.
- Camera frames: `react-native-vision-camera` 5.2.3 with `react-native-vision-camera-worklets` 5.2.3.

## Limits

- Connect a backend first, then save the AI provider's key in **App settings** › **Secrets**. See [API keys and secrets](https://fluxnative.app/docs/secrets).
- Your app's AI calls are billed by the AI provider to your key. FluxNative credits pay for building the app, not for the app's own calls.
- An on-device model needs a package or native code of your app's own; see [Native libraries](https://fluxnative.app/docs/native-libraries).

## Try it

`Add a notes screen where I record a voice note and get a short summary, using
OpenAI in an Edge Function with OPENAI_API_KEY.`

## Related

[API keys and secrets](https://fluxnative.app/docs/secrets) · [Supabase](https://fluxnative.app/docs/supabase) · [AI shopping assistant for stores](https://fluxnative.app/docs/commerce-ai-assistant) · [AI assistant apps](https://fluxnative.app/use-cases/ai-assistant-app) · [Pricing](https://fluxnative.app/pricing)

Previous: [Maps and location](https://fluxnative.app/docs/maps-and-location) · Next: [Offline use and data on the phone](https://fluxnative.app/docs/offline-data)

---

Yes. A FluxNative app can call AI models, OpenAI's for example, for chat, summaries, image understanding or voice notes. The call runs in your backend (a Supabase Edge Function, Firebase or a Cloudflare Worker) with your key stored under App settings › Secrets, never inside the app. On-device detection on camera frames uses Vision Camera in a phone build.

Page: https://fluxnative.app/docs/ai-features
