Unlock the Power of AI Content Creation with Pi’s API & iFrame Integration

Blog/2025-08-31/by Presentation Intelligence

🚀 Seamlessly Integrate AI-Generated Content into Your Platform

At Pi (Presentation Intelligence), we’re revolutionizing how businesses create and share professional-grade content. Now, with our API and iFrame services, you can effortlessly embed Pi’s AI-powered content generation, design automation, and smart formatting into your own applications, websites, or workflows.

Kantar's platform now delivers Pi's AI-generated presentations as a native feature for Fortune 500 clients

Why Choose Pi’s API & iFrame Solutions?

Instant AI Content Generation – Generate polished presentations, reports, and marketing materials with just a single API call.

Smart Design Automation – Auto-apply layouts, themes, and visuals for a consistent, branded look.

Plug-in Your Agentic Environment – Plug-in powerful Pi presentation tool with your RAG, Custom Databases databases, finetuned models, and other workflows.

Real-Time Collaboration – Enable users to edit, refine, and export content without leaving your platform.

Scalable & Secure – Built for enterprise-grade performance with robust security and compliance.

How It Works

1. API Integration

Easily connect Pi’s AI engine to your system and automate content creation.

🔹 Use Cases:

  • Auto-generate investor decks from financial data
  • Turn blog posts into visually engaging posters
  • Create on-brand marketing materials in seconds
url = "https://co-pi.deepvinci.tech/api/v1/integration"\ntimestamp = int(time.time())\ndata = dict(\n    uid="user_uid_001",\n    cards=5,\n    notes=True,\n    resource_id=timestamp,\n    language="zh",\n    hook_url="http://example.com/hook",\n    content="Quarterly sales report Q1 2025?",\n    search=None,\n    text_mode="preserve",\n    text_amount="detailed",\n    layout_density="loose",\n    outline_type="aippt",\n    attachment_id=None,\n    outline=None\n)\nsign: str = sign_func("your_app_secret", timestamp, **data)\nresp = requests.post(\n    f"{url}/outline/generation",\n    json=dict(app_id="your_app_id", sign=sign, timestamp=timestamp, **data),\n)\nprint(resp.status_code, resp.json())


2. iFrame Embedding

Embed Pi’s full editor directly into your app—no complex development needed!
🔹
Use Cases:

  • Add AI-powered slide creation to your SaaS platform
  • Let users edit presentations without switching tools
  • Offer branded content creation within your ecosystem
<iframe id="pi-integration" src="https://co-pi.deepvinci.tech/integration" scrolling="no"></iframe>\n<script>\n  const originURL = 'https://co-pi.deepvinci.tech'\n  const iframe = document.getElementById('pi-integration');\n  const config = {\n    "action": "init",\n    "page": {\n      "name": "doc", // generation: Generation page; doc: Documentation page; outline: Documentation outline page; generation_with_outline: generate outline page\n      "doc_id": "278523624915815", // Required when name == "doc"\n      "outline_id": "278523624915815", // Required when name == "outline"\n      "language": "zh | en", // website language\n      "preview": true // doc preview mode\n    },\n    "generation": {\n      "language": 'cn', // document default languages\n      "card_size": "landscape"\n    }, \n    "authentication": {\n      "token": "xxx"\n    },\n  };\n  // Listen for the ready signal from the PI page\n  window.addEventListener('message', (event) => {\n    if (event.origin === originURL && event.data) {\n      console.log(event.data)\n      if (event.data.action === 'ready') {\n        // Send configuration data and initiate page rendering\n        iframe.contentWindow.postMessage(config, originURL);\n      }\n      ...\n    }\n  });\n</script>


Who Can Benefit?

📌 SaaS Platforms – Enhance your product with AI content generation.

📌 Enterprise Teams – Streamline internal reporting & presentations.

📌 Developers – Build custom AI-powered content solutions.

📌 Agents – Connect multi-agents and provide total Agentic solutions.

Get Started Today!

Ready to transform your content workflow? Contact our tech team at support@pi.inc.

#AIContent #APIIntegration #EmbeddableAI #PiAI #SaaSInnovation