AI-powered PDF customization for the web
https://sdk.glyph.you/glyph.min.js
https://sdk.glyph.you/glyph.esm.js
<!-- 1. Include the SDK -->
<script src="https://sdk.glyph.you/glyph.min.js"></script>
<!-- 2. Add the editor component -->
<glyph-editor
api-key="gk_your_api_key"
template="quote-modern"
></glyph-editor>
import { GlyphEditor, GlyphAPI } from
'https://sdk.glyph.you/glyph.esm.js';
// Initialize the API client
const api = GlyphAPI({ apiKey: 'gk_your_api_key' });
// Generate a PDF
const pdf = await api.generate({
template: 'quote-modern',
data: { customerName: 'Acme Corp' }
});