Image Metadata
Every image in Pixault carries structured metadata aligned with Schema.org ImageObject. This enables rich search engine indexing, accessibility, and programmatic image management.
Metadata Fields
Field | Type | Description |
|---|---|---|
| string | Unique image identifier (ULID format, e.g., |
| string | Project this image belongs to |
| string | Original filename |
| string | MIME type (e.g., |
| long | File size in bytes |
| int | Image width in pixels |
| int | Image height in pixels |
| string | Image name / title |
| string | Longer description |
| string | Accessible text alternative / alt text |
| string | Semantic category (e.g. portfolio, headshot) |
| string | Virtual folder path (e.g. |
| string[] | Searchable keywords |
| string | Creator/author name |
| string | Name of the copyright holder |
| int | Year of copyright |
| string | License identifier or URL |
| datetime | Original creation date (e.g. from EXIF) |
| datetime | Upload / publish timestamp (UTC) |
| datetime | Last modification timestamp (UTC) |
| bool | Whether this image is representative of the page |
| map<string,string> | Extracted EXIF key-value pairs |
| double | GPS latitude (from EXIF or manual) |
| double | GPS longitude (from EXIF or manual) |
| string | Human-readable location name |
| map<string,string> | Custom key-value tags |
| string | Your own external identifier |
| bool | Whether the asset is a video |
| double | Video duration in seconds |
| bool | Whether a video has an audio track |
| string | Auto-generated thumbnail ID (videos only) |
JSON-LD Output
Pixault can return metadata as JSON-LD for embedding in HTML pages:
Embed this in your HTML <head>:
Updating Metadata
PATCH /api/{project}/{imageId}/metadata
Use PATCH to update metadata fields without re-uploading. Only provided fields are updated; omitted fields remain unchanged.
Updatable Fields
Field | Type | Description |
|---|---|---|
| string | Image name / title |
| string | Longer description |
| string | Accessible text alternative / alt text |
| string | Semantic category (e.g. portfolio, headshot) |
| string | Virtual folder path (e.g. |
| string[] | Searchable keywords |
| string | Creator/author name |
| string | Name of the copyright holder |
| int | Year of copyright |
| string | License identifier or URL |
| datetime | Original creation date |
| datetime | Publish timestamp (UTC) |
| bool | Whether this image is representative of the page |
| map<string,string> | EXIF key-value pairs (replaces existing) |
| double | GPS latitude |
| double | GPS longitude |
| string | Human-readable location name |
| map<string,string> | Custom key-value tags (replaces existing) |
Example
Response 200 OK
Returns the full updated image metadata object.
Folder Endpoints
Folders provide virtual organization for images. An image's folder field determines which folder it belongs to.
List Folders
GET /api/{project}/folders
Returns the list of folder paths for a project.
Response 200 OK
Create a Folder
POST /api/{project}/folders
Create an explicit folder.
Response 201 Created
Returns the created folder path.
Delete a Folder
DELETE /api/{project}/folders/{folderPath}
Deletes a folder from the manifest. Does not delete images within the folder.
Response 204 No Content
No body returned.
Searching by Metadata
Use query parameters on the list endpoint to search:
Video Metadata
Video files include additional metadata:
Field | Type | Description |
|---|---|---|
| double | Duration in seconds |
| bool | Whether the video has an audio track |
| string | Auto-generated thumbnail image ID |
Best Practices
Always set caption — Improves accessibility and SEO
Use consistent keywords — Establish a keyword taxonomy for your application
Leverage customId — Map Pixault images to your own database records
Embed JSON-LD — Search engines index your images with rich metadata
Keep names concise — Names appear in image search results and previews
Organize with folders — Use virtual folders to group related images