Design
Edit and modify EXIF metadata in images including rotation, author, camera, and other common metadata fields using ExifTool
Appelez cet outil depuis votre code en trois langages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/image-exif-editor' \
-F 'file=@/path/to/imageFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/fr/api/tools/image-exif-editor' \
-F 'imageFile=/path/to/file.ext' \
-F 'operation=edit' \
-F 'artist=Enter artist or author name...' \
-F 'copyright=Enter copyright information...' \
-F 'comment=Enter image description or comment...' \
-F 'dateTime=Enter date/time (YYYY-MM-DD HH:MM:SS)...' \
-F 'make=Enter camera manufacturer (e.g., Canon, Nikon)...' \
-F 'model=Enter camera model (e.g., EOS 5D Mark IV)...' \
-F 'software=Enter software name...' \
-F 'orientation=1' \
-F 'keepOriginal=true'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/image-exif-editor| Nom | Type | Requis | Description |
|---|---|---|---|
| imageFile | fileupload requis | Oui | Upload JPEG or TIFF image file (formats that support EXIF metadata) |
| operation | select | Non | Choose the EXIF operation to perform |
| artist | text | Non | Set the artist or author name in EXIF metadata |
| copyright | text | Non | Set copyright information in EXIF metadata |
| comment | textarea | Non | Set image description or comment in EXIF metadata |
| dateTime | text | Non | Set the date and time the image was taken (format: YYYY-MM-DD HH:MM:SS) |
| make | text | Non | Set camera manufacturer information |
| model | text | Non | Set camera model information |
| software | text | Non | Set software used to process the image |
| orientation | select | Non | Set image orientation (will rotate the image accordingly) |
| keepOriginal | checkbox | Non | Preserve original EXIF data while adding new information |
Résultat fichier
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-image-exif-editor": {
"name": "image-exif-editor",
"description": "Edit and modify EXIF metadata in images including rotation, author, camera, and other common metadata fields using ExifTool",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-exif-editor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "image-exif-editor",
"arguments": {
"imageFile": "https://example.com/file.ext",
"operation": "edit",
"artist": "Enter artist or author name...",
"copyright": "Enter copyright information...",
"comment": "Enter image description or comment...",
"dateTime": "Enter date/time (YYYY-MM-DD HH:MM:SS)...",
"make": "Enter camera manufacturer (e.g., Canon, Nikon)...",
"model": "Enter camera model (e.g., EOS 5D Mark IV)...",
"software": "Enter software name...",
"orientation": "1",
"keepOriginal": true
}
}
}Des questions ou un problème ? Contactez [email protected]