Overview
Tags help categorize and discover content on FoN. Users can add tags when uploading or update them later.Adding Tags
During Upload
Include tags as a comma-separated string:After Upload
Add tags to an existing upload:Tag Properties
| Property | Type | Description |
|---|---|---|
id | UUID | Unique identifier |
name | string | Display name |
slug | string | URL-friendly version |
upload_count | integer | Number of uploads with this tag |
Tag Limits
- Maximum 10 tags per upload
- Tag names must be between 2 and 50 characters
- Tag names can only contain letters, numbers, spaces, and hyphens — tags with other characters are rejected with a
400error rather than being stripped - Tag names are trimmed, but their case is preserved; only the generated
slugis lowercased
Listing Tags
Get all tags with upload counts:limit defaults to 10 and can be set up to a maximum of 100.
Searching Tags
Find tags matching a query:GET /api/tags/semantic-search, an AI-powered semantic tag search.
Filtering by Tags
Browse uploads matching one or more tag slugs usingGET /api/tags/browse:
sort parameter (name, date, or votes; defaults to date):
page and limit. There is no way to exclude tags — only matching by the provided tags is supported.
Getting Upload Tags
Retrieve tags for a specific upload:AI-Suggested Tags
FoN can suggest tags using AI, based on a description and/or an image. Send a JSON body withdescription and/or imageUrl (at least one is required):
multipart/form-data with description, image_url, and/or file fields (e.g. to suggest tags directly from an uploaded image file).
Response:
fallback is true if the AI suggestion failed and a fallback heuristic was used instead. This endpoint is rate-limited, and may return a 503 error if tag generation fails entirely.
Best Practices
Use descriptive tags
Use descriptive tags
Check existing tags
Check existing tags
Don't over-tag
Don't over-tag
Use 3-5 relevant tags rather than maxing out at 10 with irrelevant ones.