Quick Start
Create your first design and render it via API in under 10 minutes.
Prerequisites
- Canvelete account (opens in a new tab) (free tier available)
- API key (opens in a new tab)
Create a Design
1
Open the Editor
Go to your dashboard (opens in a new tab) and click Create New Design.
2
Add Elements
Add a text element with dynamic variable: Hello, {"{{name}}"}!
3
Save
Click Save and note your design ID from the URL (e.g., design_abc123).
Dynamic Variables
Use {"{{variableName}}"} syntax to create placeholders that can be replaced via API.
Render via API
curl -X POST "https://api.canvelete.com/v1/render/design/YOUR_DESIGN_ID" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"format": "png",
"quality": 90,
"dynamicData": {
"name": "World"
}
}'Response
{
"success": true,
"data": {
"renderId": "render_xyz789",
"status": "completed",
"downloadUrl": "https://cdn.canvelete.com/renders/xyz789.png",
"metadata": {
"format": "png",
"width": 1080,
"height": 1080
}
}
}Open the downloadUrl to see your generated image with "Hello, World!" rendered.
Troubleshooting
| Error | Solution |
|---|---|
| Invalid API key | Verify at Settings → API Keys (opens in a new tab) |
| Design not found | Check design ID in dashboard URL |
| Rate limit exceeded | Upgrade plan (opens in a new tab) for higher limits |
API Key Security
Never expose your API key in client-side code. Use environment variables.