Visual API/Render Code Diff

Render Code Diff

POST /visual/v1/render-code-diff — Render a before/after code comparison with diff highlighting to SVG or PNG.

/openapi-visual-render-code-diff.yamlDownload

Want to test request and response flows directly in the browser? A dedicated Swagger Demo mode is available for this endpoint.

Open Swagger Demo

CreatorNode Visual API — Render Code Diff
 1.0.0 
OAS 3.1

/openapi-visual-render-code-diff.yaml

Compute and render a code diff as syntax-highlighted SVG or PNG.

Green/red line colouring for additions and removals, using the same Shiki pipeline as render-code — at half the credit cost (1 credit).

Servers

Code

Source code rendering endpoints

object
object
object
object
object
object
(any & object)