AI session drafts
With AI drafts on, a user can paste something like “played Elden Ring 2h last night and Hades for 40 min this morning” or upload a screenshot of their console’s activity screen. Playdex then proposes sessions for them to review before saving.
Enable it
Section titled “Enable it”OpenAI:
AiDrafts__Enabled=trueAiDrafts__Provider=openaiAiDrafts__ApiKey=sk-…AiDrafts__Model=<a vision model with structured outputs>OpenRouter:
AiDrafts__Enabled=trueAiDrafts__Provider=openrouterAiDrafts__BaseUrl=https://openrouter.ai/api/v1/chat/completionsAiDrafts__ApiKey=sk-or-…AiDrafts__Model=<provider/model>The model must accept images and support structured (JSON-schema) output.
Limits and privacy
Section titled “Limits and privacy”| Setting | Default | |
|---|---|---|
AiDrafts__RequestsPerHour |
10 | per user |
AiDrafts__MaxTextCharacters |
10 000 | |
AiDrafts__MaxImageBytes |
10 MB | |
AiDrafts__MaxRows |
50 | sessions per request (max 50) |
AiDrafts__TimeoutSeconds |
60 | |
AiDrafts__HistoryRetentionDays |
30 | 0 = keep until deleted |
- Each submission is stored so admins can review it in Admin → AI generations: the text, the screenshot and the raw model response. Users see the retention period before they submit.
- OpenAI requests are sent with
store: false. - If the model returns invalid output, Playdex retries once.