> For AI agents: the complete documentation index is available at https://docs.flashnerd.com/llms.txt, the full documentation bundle is available at https://docs.flashnerd.com/llms-full.txt.

# AI sources, limits, and allowance

AI generation uses its own weekly allowance. **Review credits and AI allowance are separate**: earning review credits from missions or ads does not replenish AI usage.

## Supported sources

Use the camera or photo button for images, and the file button for supported documents or audio.

| Source         | Supported input                   |
| -------------- | --------------------------------- |
| Written prompt | Text entered in the composer      |
| Images         | Camera capture or selected photos |
| Text files     | `.txt` and `.csv`                 |
| Audio files    | `.mp3`, `.wav`, and `.m4a`        |

PDF, DOCX, video, and direct website ingestion are not supported in this flow. For notes in another format, prepare a supported text file or a readable image first. A URL in a prompt is not a website-import feature.

## Input limits

| Item                          | Limit                                      |
| ----------------------------- | ------------------------------------------ |
| Selected images               | 5                                          |
| Selected files                | 2                                          |
| Combined selected attachments | 20 MiB                                     |
| Extracted text                | 2 MiB                                      |
| Prompt                        | 50,000 UTF-16 units, as counted by the app |
| Deck template                 | 1–20 fields                                |
| Cards in one generated result | 100                                        |

Requests that reuse earlier results can also include earlier attachments and card media. The app may report a limit that includes those sources. Prepared requests have additional limits of 20 images and 20 audio assets; reducing the number or size of sources can help when the prepared request is too large.

The composer displays validation errors before sending. Fix the displayed error; another one may appear after it is resolved. The send arrow remains unavailable while any input limit is exceeded.

## Check your weekly allowance

1. Open a deck's **Generate with AI** screen.
2. Open **AI Settings**.
3. Read **AI Usage Limit** for the percentage left and the reset date/time.

## Resolve common generation problems

| Message or symptom                         | What to do                                                                                                      |
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
| **AI usage limit reached**                 | Check the UTC reset time in AI Settings. Existing draft cards can still be reviewed and saved.                  |
| **Some cards couldn’t be generated**       | Open the partial result. Save useful cards, or send a clearer follow-up to create a revised result.             |
| **Generation limit reached**               | The result is capped at 100 cards. Review it, then split the remaining material into another request if needed. |
| A version or operation needs clarification | Name the version and specify “add” or “revise,” including whether your number is additional or a total.         |
| Sources are unavailable                    | Select the attachments again and check camera/photo permissions.                                                |
| Request or extracted text too large        | Remove attachments, shorten the notes, or split the topic into smaller requests.                                |
| Not enough distinct study material         | Add useful source material or request fewer cards.                                                              |
| Service temporarily unavailable            | Keep any received cards, check your connection, and retry with the send arrow later.                            |

Flashnerd manages the AI service connection. There is no API-key or model-selection setup in the app. See [Review and refine results](https://docs.flashnerd.com/guide/ai/review-and-refine.md) for draft recovery and [Troubleshooting permissions](https://docs.flashnerd.com/help/troubleshooting.md#audio-photos-or-camera-do-not-work) for device access.
