BlogUpdates

Introducing Dynamic Parameters: .prompt and .href

Generate AI-powered content and add clickable links to your templates with two new parameter modifiers

Rishi MohanRishi MohanNov 20, 20252 min read

We're introducing Dynamic Parameters - two new modifiers that let you generate AI content and add interactive links to your Orshot Studio templates.

AI Generation with .prompt

Generate dynamic text and images using AI instead of providing static content:

fetch("https://api.orshot.com/v1/studio/render", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    templateId: "your-template-id",
    modifications: {
      "headline.prompt": "Write a catchy headline about sustainable fashion",
      "background.prompt":
        "Modern office workspace with plants, minimalist design",
      "headline.fontSize": "48px",
    },
    response: {
      format: "png",
      type: "url",
    },
  }),
});
  • Text generation uses openai/gpt-5-nano
  • Image generation uses google/nano-banana
  • Works seamlessly with regular style parameters

Perfect for creating unique, contextual content at scale.

Add clickable links to elements in your PDFs:

{
  "modifications": {
    "verify_button.href": "https://verify.example.com/cert/12345",
    "recipient_name": "John Doe"
  }
}

Great for certificates, reports, marketing materials, and any document that needs navigation. Links are automatically validated for security.

Multi-Page Support

Both parameters work with multi-page templates:

{
  "modifications": {
    "page1@title.prompt": "Write a title about morning routines",
    "page2@title.prompt": "Write a title about evening habits",
    "page2@footer_link.href": "https://example.com"
  }
}

Getting Started

Dynamic parameters work with all Orshot Studio templates via the REST API and integrations.

For complete documentation and examples:

Start automating your visuals

30 free credits. No credit card required.

  • Image, PDF and video generation via API
  • Connect templates to your data sources
  • Generate marketing visuals at scale

Related posts