Document Tools
Genere des feuilles storyboard avec vignette et zone de description
Appelez cet outil depuis votre code en trois langages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/pdf-storyboard-sheet' \
-F 'file=@/path/to/frameImages.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/fr/api/tools/pdf-storyboard-sheet' \
-F 'title=Storyboard Test Sheet' \
-F 'subtitle=Preview output for QA' \
-F 'sceneName=Scene 01A' \
-F 'frameImages=/public/samples/png/earth1_1-1_2048-2048.png,/public/samples/png/earth2_16-9_2560-1440.png,/public/samples/png/earth4_1-1_2048-2048.png,/public/samples/png/earth1_16-9_2560-1440.png,/public/samples/png/earth1_3-4_1728-2304.png,/public/samples/png/earth4_3-4_1728-2304.png' \
-F 'frameDescriptions=Wide establishing shot.
Character enters frame.
Close-up on key action.
Over-shoulder reveal.
Reaction close-up.
Transition wide shot.' \
-F 'columns=2' \
-F 'rows=3' \
-F 'minFrames=6' \
-F 'fitMode=cover' \
-F 'showGuides=true' \
-F 'pageSize=A4' \
-F 'landscape=false' \
-F 'waitUntil=networkidle0' \
-F 'waitTime=600'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/pdf-storyboard-sheet| Nom | Type | Requis | Description |
|---|---|---|---|
| title | text | Oui | — |
| subtitle | text | Non | — |
| sceneName | text | Non | — |
| frameImages | fileupload requis | Non | — |
| frameDescriptions | textarea | Non | — |
| columns | number | Non | — |
| rows | number | Non | — |
| minFrames | number | Non | — |
| fitMode | select | Non | — |
| showGuides | checkbox | Non | — |
| pageSize | select | Non | — |
| landscape | checkbox | Non | — |
| waitUntil | select | Non | — |
| waitTime | 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-pdf-storyboard-sheet": {
"name": "pdf-storyboard-sheet",
"description": "Genere des feuilles storyboard avec vignette et zone de description",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pdf-storyboard-sheet",
"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": "pdf-storyboard-sheet",
"arguments": {
"title": "Storyboard Test Sheet",
"subtitle": "Preview output for QA",
"sceneName": "Scene 01A",
"frameImages": [
"/public/samples/png/earth1_1-1_2048-2048.png",
"/public/samples/png/earth2_16-9_2560-1440.png",
"/public/samples/png/earth4_1-1_2048-2048.png",
"/public/samples/png/earth1_16-9_2560-1440.png",
"/public/samples/png/earth1_3-4_1728-2304.png",
"/public/samples/png/earth4_3-4_1728-2304.png"
],
"frameDescriptions": "Wide establishing shot.\nCharacter enters frame.\nClose-up on key action.\nOver-shoulder reveal.\nReaction close-up.\nTransition wide shot.",
"columns": 2,
"rows": 3,
"minFrames": 6,
"fitMode": "cover",
"showGuides": true,
"pageSize": "A4",
"landscape": false,
"waitUntil": "networkidle0",
"waitTime": 600
}
}
}Des questions ou un problème ? Contactez [email protected]