GET /v1/slides-from-markdownConvert markdown to slide deck JSON
Agent Tools lf-agent-tools
Turns a written document into slides, starting a new slide at each heading. Converts markdown text with headings as slide breaks into a structured slide deck JSON array.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
md | string | Yes | Markdown text with headings |
Response Schema
title (string): Deck title
slides (array): Array of slide objects
total_slides (integer): Slide count
cURL Example
curl 'https://lf-agent-tools.laminarforge.dev/v1/slides-from-markdown?md=%23%20Slide%201%0AHello' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-agent-tools.laminarforge.dev/v1/slides-from-markdown'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'md': '# Slide 1\nHello'}
response = requests.get(url, headers=headers, params=params)
print(response.json())