v1
latestOpenAPI 3.1.02026-07-2418848.0 KBEraser DSL → Diagram
Request body
Select transparent (false) or solid (true) background. Defaults to false.
Select "light" or "dark" theme. Defaults to "light".
Image quality/resolution multiplier. Use 1 (low), 2 (medium), or 3 (high). Defaults to 2.
Deprecated. Use imageQuality instead.
When true, returns the image as a file stream instead of a URL.
Deprecated. Use returnImageAsFile instead.
Title for the created Eraser file. Only applies when fileOptions.create is true. If not provided, title is derived from the diagram code.
Response
The result of the diagram generation
URL of the generated diagram as a PNG image
URL to create an Eraser file to edit the generated diagram. Not returned when fileOptions.create is true.
URL to the created Eraser file. Only returned when fileOptions.create is true.