J
jeda-ai
/generate_diagram
Generate Diagram (deprecated)
DEPRECATED alias for `generate_visual` (removed no earlier than v1.24.x). Use `generate_visual` going forward — identical behaviour.
liveverifiedunknown~5s typical
mcpprobedjeda-ai
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-jeda-jeda-ai /generate_diagram for me.
Input
| Field | Type | Description |
|---|---|---|
| prompt* | string | Natural language description of the diagram to generate. When provided, the server uses AI |
| type* | string | Diagram type. Required when providing structured nodes/edges, optional with prompt. |
| sections* | array | Matrix sections. Each section has a title, optional subtitle, and items. Used with type="m |
| title* | string | |
| subtitle* | string | |
| style* | string (calligraphy | clean) | |
| shapeStyle* | string (calligraphy | clean) | |
| nodes* | array | Structured node definitions. Required when not using prompt mode. |
| edges* | array | |
| layout* | object | |
| theme* | object | |
| defaultLineStyle* | string (calligraphy | block-arrow | solid | dashed | dotted | dash-dot) | v1.45.2+ — Default DASH PATTERN applied to all edges that don't specify their own. Options |
| defaultArrowHead* | string | Default arrowhead style applied to all edges that don't specify their own. |
| defaultConnector* | string (straight | curved | elbow | orthogonal | bezier) | Default connector type applied to all edges that don't specify their own. |
| defaultShadow* | string (none | sm | md | lg) | Default shadow level applied to all nodes. |
| defaultShapeLineStyle* | string (calligraphy | block-arrow | solid | dashed | dotted | dash-dot) | Default line style for shape outlines (node borders). v1.44.1 — also drives shape renderin |
| defaultConnectorAnimate* | string (none | flow | pulse | glow | trace | wave) | Animate every connector edge. Options: none (default) | flow (dashes march along the line) |
| defaultConnectorAnimateSpeed* | string (slow | medium | fast) | Animation speed when defaultConnectorAnimate is set. Options: slow (3s cycle) | medium (2s |
| defaultSceneAnimation* | string (none | fade | zoom | zoom-pan | flow | wave-sweep) | Whole-visual reveal animation. Plays ONCE when the SVG is displayed, freezes at the final |
| defaultSceneAnimationSpeed* | string (slow | medium | fast) | Scene animation speed. Options: slow (1.5× duration) | medium (default) | fast (0.6× durat |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-ai-jeda-jeda-ai","endpoint":"/generate_diagram","input":{"prompt":"...","type":"...","sections":[],"title":"...","subtitle":"...","style":"calligraphy","shapeStyle":"calligraphy","nodes":[],"edges":[],"layout":{},"theme":{},"defaultLineStyle":"calligraphy","defaultArrowHead":"...","defaultConnector":"straight","defaultShadow":"none","defaultShapeLineStyle":"calligraphy","defaultConnectorAnimate":"none","defaultConnectorAnimateSpeed":"slow","defaultSceneAnimation":"none","defaultSceneAnimationSpeed":"slow"}}'cli
npx cracked-ai run -p mcp-ai-jeda-jeda-ai -e /generate_diagram -i '{"prompt":"...","type":"...","sections":[],"title":"...","subtitle":"...","style":"calligraphy","shapeStyle":"calligraphy","nodes":[],"edges":[],"layout":{},"theme":{},"defaultLineStyle":"calligraphy","defaultArrowHead":"...","defaultConnector":"straight","defaultShadow":"none","defaultShapeLineStyle":"calligraphy","defaultConnectorAnimate":"none","defaultConnectorAnimateSpeed":"slow","defaultSceneAnimation":"none","defaultSceneAnimationSpeed":"slow"}'mcp
run_tool({ provider: "mcp-ai-jeda-jeda-ai", endpoint: "/generate_diagram", input: {"prompt":"...","type":"...","sections":[],"title":"...","subtitle":"...","style":"calligraphy","shapeStyle":"calligraphy","nodes":[],"edges":[],"layout":{},"theme":{},"defaultLineStyle":"calligraphy","defaultArrowHead":"...","defaultConnector":"straight","defaultShadow":"none","defaultShapeLineStyle":"calligraphy","defaultConnectorAnimate":"none","defaultConnectorAnimateSpeed":"slow","defaultSceneAnimation":"none","defaultSceneAnimationSpeed":"slow"} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.