Endpoint
Authentication
Requires a valid Clerk session token. See Authentication for details.Request Body
Natural language description of what to build.Examples:
- “Create a React todo app with TypeScript”
- “Build a REST API with Express and PostgreSQL”
- “Make a landing page for a SaaS product”
Response
The Convex ID of the created project. Use this to navigate to the project IDE.
Request Example
Response Example
Project Creation Flow
When you call this endpoint:Project created
A new project is created with a randomly generated name (e.g., “happy-elephant-blue”).
AI processing begins
An assistant message placeholder is created with status
processing, and an Inngest job is triggered.Code generation
The AI agent analyzes your prompt and generates the appropriate files and folder structure.
Project Naming
Projects are automatically named using a random combination of adjective + animal + color:happy-elephant-blueclever-penguin-redswift-dolphin-green
AI Code Generation
The AI uses Claude Opus 4 with access to these tools:createFiles- Generate multiple filescreateFolder- Create folder structureupdateFile- Modify generated filesscrapeUrls- Fetch documentation for frameworks/libraries
Monitoring Progress
After receiving theprojectId, navigate to the project IDE to watch the AI generate code in real-time:
Example Prompts
Web applications
Web applications
- “Create a React dashboard with charts and data tables”
- “Build a Next.js blog with MDX support”
- “Make a Vue 3 e-commerce product page”
Backend APIs
Backend APIs
- “Build a REST API with Express and MongoDB”
- “Create a GraphQL API with Apollo Server”
- “Make a FastAPI backend with PostgreSQL”
Components & utilities
Components & utilities
- “Create a reusable React modal component with animations”
- “Build a date picker component with TypeScript”
- “Make a utility function for API error handling”