
Lifecycle stages
Synchronous and asynchronous API work
- Synchronous
- Asynchronous
The request stays open while generation runs and returns after the operation completes or fails. Use it when the caller can safely wait for the full result.
Where failures usually belong
- Before outline creation: inspect the input, upload, document processing, and provider configuration.
- During generation: inspect text, image, template, and rendering dependencies.
- During export: inspect fonts, assets, browser/export runtime, and storage.
API workflow
Implement the lifecycle with the correct API surface.
Troubleshoot generation
Diagnose a failed or incomplete generation.