JSON examples
Copy a request and adapt all asset paths to the intended Unity project before executing it. Read the API workflow first.
- Create from a source image: a transformed File layer inside a group.
- Create with Drawing strokes: a document authored with the stroke API.
Inspect existing documents for stable IDs and revisions. Run unfamiliar batches with dryRun:true.
Do not replay a request after an uncertain result without inspecting: adding layers is not idempotent.