Response Format

Choose your output file type — PNG, JPEG, WebP, PDF, MP4, WebM, or GIF


The responseFormat (or response.format in the Studio API) sets the file type of your rendered output.

Image Formats#

FormatBest For
pngGraphics with transparency (default)
webpSmaller file size, modern browsers
jpgPhotos, smaller file size
jpegSame as jpg

Document Formats#

FormatBest For
pdfCertificates, invoices, print materials

Video Formats#

FormatBest For
mp4Social media, general purpose
webmWeb-optimized video
gifShort loops, thumbnails

Example#

const response = await orshot.renderFromTemplate({
  templateId: "your-template-id",
  responseType: "url",
  responseFormat: "webp", // [!code highlight]
  modifications: {
    title: "Hello World",
  },
});

All Set? Let's Start Automating

Get Your API Key →
  • Image, PDF and Video Generation via API
  • Canva like editor with AI and smart features
  • No-Code Integrations (Zapier, Make, n8n etc.)
  • Embed Orshot Studio in your app
  • Start Free. No credit card required. Cancel anytime.