NexDoc Design
API-first design engine — generate landing pages, reports, slides, and more from content and instructions.
NexDoc Design turns content + instructions into production-ready HTML designs. You create a job, start a run, wait until it completes (poll or email), then preview, export, or publish. Simple layouts typically finish in 1–5 minutes; decks and reports commonly take 10–20 minutes. Persist job_id and run_id as soon as the run is created.
It is built for three audiences:
| Audience | How you use it |
|---|---|
| Developers | REST API (Authorization: Bearer nxd_live_…) |
| Coding agents | Agent skills (public markdown at /skills) |
| Humans in Claude / ChatGPT / Cursor | MCP server with task-oriented tools |
30-second example
export NXD_API_URL=https://api.nexdoc.design
export NXD_API_KEY=nxd_live_... # from https://app.nexdoc.design/keys
# Create a job
JOB=$(curl -sS -X POST "$NXD_API_URL/v1/jobs" \
-H "Authorization: Bearer $NXD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Hello NexDoc"}' | jq -r .job_id)
# Start a run
RUN=$(curl -sS -X POST "$NXD_API_URL/v1/jobs/$JOB/runs" \
-H "Authorization: Bearer $NXD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"format": "landing-page",
"instructions": "Clean modern landing page with a strong hero CTA",
"content": "# Acme\nShip faster with an API-first design engine."
}' | jq -r .run_id)
# Poll until completed, then open viewer_url
curl -sS "$NXD_API_URL/v1/jobs/$JOB/runs/$RUN" \
-H "Authorization: Bearer $NXD_API_KEY" | jq '{status, charge_usd, viewer_url}'Concepts
| Concept | Meaning |
|---|---|
| Job | A durable design project. Holds a timeline of runs and the current published snapshot. |
| Run | One generative pass: the design agent reads your content + instructions and writes HTML. |
| Format | Target medium — landing-page, report, slide-deck, business-card, and 30+ more. |
| Viewer | Interactive preview URL returned when a run completes. |
| Export | Download HTML (ZIP) or PDF. |
| Publish | Host a static public URL for the latest (or a chosen) run. |
Where to go next
- Quickstart — API key → first completed design in five minutes
- Authentication — API keys, scopes, OAuth for MCP
- Your first document — Full narrative with assets and export
- API reference — Every endpoint
- Agents — Public skills + MCP for AI clients