Design
Appliquez un étalonnage couleur cinématographique professionnel à vos images.
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-cinematic-color' \
-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-cinematic-color' \
-F 'imageFile=/path/to/file.ext' \
-F 'preset=hollywood' \
-F 'intensity=50' \
-F 'contrast=0' \
-F 'saturation=0' \
-F 'temperature=0' \
-F 'fade=0' \
-F 'vignette=0' \
-F 'filmGrain=0' \
-F 'outputFormat=png' \
-F 'quality=90'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-cinematic-color| Nom | Type | Requis | Description |
|---|---|---|---|
| imageFile | fileupload requis | Oui | — |
| preset | select | Oui | — |
| intensity | number | Non | — |
| contrast | number | Non | — |
| saturation | number | Non | — |
| temperature | number | Non | — |
| fade | number | Non | — |
| vignette | number | Non | — |
| filmGrain | number | Non | — |
| outputFormat | select | Oui | — |
| quality | number | Non | — |
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-cinematic-color": {
"name": "image-cinematic-color",
"description": "Appliquez un étalonnage couleur cinématographique professionnel à vos images.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-cinematic-color",
"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-cinematic-color",
"arguments": {
"imageFile": "https://example.com/file.ext",
"preset": "hollywood",
"intensity": 50,
"contrast": 0,
"saturation": 0,
"temperature": 0,
"fade": 0,
"vignette": 0,
"filmGrain": 0,
"outputFormat": "png",
"quality": 90
}
}
}Des questions ou un problème ? Contactez [email protected]