Getting Started
API Reference
Documentation
Welcome to the Morph documentation. Learn how to use our API to transform your code instantly with state-of-the-art LLMs and speculative decoding.
Getting Started
Morph works with OpenAI's API SDK. To get started, you'll need an API key. Visit the dashboard to create an account. For businesses, please contact us at info@morphllm.com.
Code Examples
Using the OpenAI library:
python
The API response will include the full, updated file wrapped in delimiters:
typescript
API Reference
Base URL
bash
Authentication
Add your API key to the headers:
bash
Model Name
bash