Skip to main content
Pick the path that matches how you work: a one-line curl, an MCP install into your editor, or an SDK call.

1. Get your API key

Grab a key

Visit the playground to copy your API key and see remaining credits.

2. Call the Architect

curl -X POST https://api.pre.dev/fast-spec \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"input": "Build a task management app with team collaboration"}'
You’ll get back a structured spec with milestones, user stories, and architecture — in ~30–60 seconds.

3. Hand the spec to your coding agent

Whatever you got back is structured markdown (or JSON) your coding agent can consume directly. Paste it into Cursor’s chat, drop it into Claude Code, or feed it to Lovable / Bolt. Your agent now has the architectural context to build the whole thing on the first pass. For a richer breakdown, use /deep-spec instead — it adds granular subtasks and per-task acceptance criteria (~2–5 minutes).

What’s next?

Fast vs Deep

Pick the right depth for your project.

Understanding Specs

What’s actually in a pre.dev spec.

Full API reference

All endpoints, parameters, and response schemas.

MCP Setup

Install into every major AI editor.