Research Preview - The pre.dev Architect API is currently in research preview. Features and pricing may change as we continue to improve the platform.
Welcome to the pre.dev Architect API
The pre.dev Architect API transforms simple natural language descriptions of software projects into structured specifications optimized for AI coding agents. Input: Plain English descriptions like “Build a chat app” or “Add authentication to my API” Output: Comprehensive technical specifications with implementation milestones, user stories, and task breakdownsKey Features
- Structured Output: Hierarchical spec format (Milestones → Stories → Subtasks)
- Task Tracking: Built-in progress management with markdown checkboxes
- Complexity Estimation: Complexity scores per milestone and subtask
- Web Sync: Automatic project creation on pre.dev, along with links to open up the project in Cursor, Lovable, Bolt, or v0.
How to Use It
The pre.dev Architect API can be integrated in two ways:- API Documentation Generation: Generate comprehensive API specs and documentation from natural language descriptions
- SDK Generation: Create Python or Node.js SDKs with proper type definitions, documentation, and client libraries
API Key
Get API Key
Sign up at pre.dev to receive your API key
Installation
Specification Levels
Endpoint | Use Case | Cost | Processing Time | Subtasks |
---|---|---|---|---|
fast-spec | Quick prototypes, MVPs | 10 credits | ~30-40 seconds | High-level only |
deep-spec | Production features, complex systems | 50 credits | ~2-3 minutes | Granular breakdown |
Generating a Fast Spec
Here’s how to generate a specification using thefast-spec
endpoint:
Response Format
Specs are returned as structured markdown with:- Technical Stack: Recommended technologies and dependencies
- Implementation Milestones: Phased delivery plan with complexity estimates
- User Stories: Feature requirements with acceptance criteria
- Subtask Breakdown: Granular implementation steps with checkboxes