Skip to content
nexdoc.design Docs

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:

AudienceHow you use it
DevelopersREST API (Authorization: Bearer nxd_live_…)
Coding agentsAgent skills (public markdown at /skills)
Humans in Claude / ChatGPT / CursorMCP server with task-oriented tools

30-second example

code
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

ConceptMeaning
JobA durable design project. Holds a timeline of runs and the current published snapshot.
RunOne generative pass: the design agent reads your content + instructions and writes HTML.
FormatTarget medium — landing-page, report, slide-deck, business-card, and 30+ more.
ViewerInteractive preview URL returned when a run completes.
ExportDownload HTML (ZIP) or PDF.
PublishHost a static public URL for the latest (or a chosen) run.

Where to go next

  1. Quickstart — API key → first completed design in five minutes
  2. Authentication — API keys, scopes, OAuth for MCP
  3. Your first document — Full narrative with assets and export
  4. API reference — Every endpoint
  5. Agents — Public skills + MCP for AI clients