Overview
Many question types reference media files — images, audio clips, and videos. You can upload your own files or search external sources (Pexels, Freesound, Wikipedia). Uploaded media is stored in your personal library and can be reused across quizzes.Upload a File
Upload a file directly usingmultipart/form-data:
File Limits
| Type | Max Size | Allowed Formats |
|---|---|---|
| Images | 10 MB | JPEG, PNG, GIF, WebP, SVG |
| Audio | 10 MB | MP3, WAV, OGG, M4A |
| Video | 50 MB | MP4, WebM, MOV |
Presigned Upload URLs
For large files or client-side uploads, use presigned URLs to upload directly to storage without proxying through the API:publicUrl is immediately usable in question content fields like imageUrl, videoUrl, and audioUrl.
Search External Sources
Search free media from Pexels, Freesound, and Wikipedia without uploading:Available Sources
| Source | Content Type | Description |
|---|---|---|
pexels_images | Images | Free stock photos from Pexels |
pexels_videos | Videos | Free stock videos from Pexels |
freesound | Audio | Creative Commons audio from Freesound |
wikipedia | Images | Public domain images from Wikipedia |
count parameter controls how many results to return (1-30, default: 12).
Search results return URLs you can use directly in question content or download and re-upload to your media library.
List Your Media
| Parameter | Default | Description |
|---|---|---|
limit | 20 | Items per page (1-100) |
mime_type | — | Filter by type: image, video, audio, or exact MIME like image/png |
cursor | — | Pagination cursor from previous response |
url field with the public download URL.
Delete Media
204 No Content. This deletes both the storage file and the database record. Media that is currently referenced by questions is not blocked from deletion, but those questions will show broken media.