Generate with URL
Duply supports two URL types for dynamic image generation: Query String and Signed URL.
Query String URL
The format is:
https://render.duply.co/query/{{ base URL }}/image.jpg?{{ query string values }}Pass element values via query parameters. For example:
?text-1=my text value&img-1=https://example.com/photo.jpgText Elements
Modify text elements directly via the value parameter:
?text-1=Hello World&text-2=Subtitle TextImage Elements
Pass an image URL as the value:
?img-1=https://example.com/my-image.jpgAdvanced Format
For shapes, rating, progress, and QR code elements, use the triple colon ::: separator for nested properties:
Background Color
?rectangle-1:::background:::color=fffProgress Bar
?progress-1:::data:::value=80Border
Border supports type (solid, dashed, dotted), width (px), and color:
?rectangle-1:::border:::type=solid&rectangle-1:::border:::width=2&rectangle-1:::border:::color=000QR Code
?qrcode-1=https://example.comNote: Use hex colors without the # sign. For example, use fff instead of #fff.
Signed URL
Signed URLs provide additional security by requiring a signature. Check the Duply documentation for details on generating signed URLs.
Need help? Contact us at hi@duply.co
