How to build an OG image service with Picsart Skills

What you'll learn
What is an OG image service?
Common use cases
Build your OG image service step by step
STEP 1: Install Picsart Skills
- On web: Go to picsart.com/cli → Copy the install command for your OS
- On mobile: Not available — Skills runs in terminal environments only
STEP 2: Configure your brand template
Set up the template that defines how your OG images look:
- Brand colors: Define your primary and accent colors in brand.md
- Typography: Specify font families, sizes, and weights for titles and metadata
- Layout: Choose between centered, split, or custom card layouts
- Logo placement: Set position, size, and opacity for your brand mark

STEP 3: Wire the service into your backend
Connect the generation endpoint to your routing logic. When a URL is requested, your backend calls the Picsart Skill with the page title and metadata, generates the image, and serves it as the og:image response. The entire process happens server-side in milliseconds.
STEP 4: Test and deploy
Check that generated images meet your brand standards: Not happy with the output? Adjust your brand.md template settings and regenerate. You can iterate until the style matches your visual identity perfectly.
- Verify text is readable at small sizes (LinkedIn and Twitter previews)
- Check that colors and logos match your brand guidelines
- Test with long titles to confirm text wrapping works correctly
Tips for best results
💡 Cache generated images
Store generated OG images in your CDN or object storage. Only regenerate when page content changes. This saves credits and speeds up page loads.
💡 Use fallback templates
Define a default template for pages without custom metadata. This ensures every URL gets a preview card, even if title or description are missing.
💡 Test across platforms
Preview your OG images in LinkedIn, Twitter, Slack, and Facebook debuggers. Each platform crops differently, so design with safe zones for text.
💡 Version your templates
Keep old template versions in your repo. If you rebrand, you can regenerate all OG images in one batch command without manual work.
Frequently asked questions

Ready to automate your social previews?
Build a branded OG image service that generates preview cards for every URL you share.
Get started