Generate flashcards with AI
generate_cardsCreate a flashcard deck for any topic. Reuses an existing public deck to avoid generation quota, or generates a new original deck when needed.
Instructions
Generate a flashcard deck about a topic using FlashLearnAI. If a public deck for the topic already exists it is reused (source: "shared") and no generation quota is spent; otherwise a new deck is created (source: "generated"). Counts against the monthly generation quota when it generates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title for the created set (defaults to the topic) | |
| topic | Yes | The subject to generate flashcards about, e.g. "Photosynthesis in plants" | |
| description | No | Optional description for the created set |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setId | Yes | ||
| source | Yes | ||
| cardCount | Yes | ||
| flashcards | Yes |