Document Tools
Genera hojas de storyboard con miniatura y area de descripcion
Llama a esta herramienta desde tu código en tres lenguajes.
# 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/es/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'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/pdf-storyboard-sheet| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| title | text | Sí | — |
| subtitle | text | No | — |
| sceneName | text | No | — |
| frameImages | filesubida requerida | No | — |
| frameDescriptions | textarea | No | — |
| columns | number | No | — |
| rows | number | No | — |
| minFrames | number | No | — |
| fitMode | select | No | — |
| showGuides | checkbox | No | — |
| pageSize | select | No | — |
| landscape | checkbox | No | — |
| waitUntil | select | No | — |
| waitTime | number | No | — |
Resultado de archivo
{
"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)"
}Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-pdf-storyboard-sheet": {
"name": "pdf-storyboard-sheet",
"description": "Genera hojas de storyboard con miniatura y area de descripcion",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pdf-storyboard-sheet",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"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
}
}
}¿Dudas o problemas? Contacta con [email protected]