Morph API
Access Morph instantly with Puter.js, and add AI to any app in a few lines of code without backend or API keys.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain AI like I'm five!", {
model: "morph/morph-v3-fast"
}).then(response => {
console.log(response);
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain AI like I'm five!", {
model: "morph/morph-v3-fast"
}).then(response => {
console.log(response);
});
</script>
</body>
</html>
List of Morph Models
Morph: Morph V3 Fast
morph/morph-v3-fast
Morph V3 Fast is a specialized code-editing model optimized for speed, processing up to 10,500 tokens per second with 96% accuracy. It serves as an execution layer for AI-assisted development, applying code changes suggested by models like Claude or GPT-4o at unprecedented speeds.
ChatMorph: Morph V3 Large
morph/morph-v3-large
Morph V3 Large is a high-accuracy code transformation model processing at 4,500 tokens per second with 98% accuracy. It supports massive context windows up to 262,100 tokens and excels at applying code edits, refactoring, and systematic changes across entire codebases.
Frequently Asked Questions
The Morph API gives you access to models for AI chat. Through Puter.js, you can start using Morph models instantly with zero setup or configuration.
Puter.js supports a variety of Morph models, including Morph: Morph V3 Fast and Morph: Morph V3 Large. Find all AI models supported by Puter.js in the AI model list.
With the User-Pays model, users cover their own AI costs through their Puter account. This means you can build apps without worrying about infrastructure expenses.
Puter.js is a JavaScript library that provides access to AI, storage, and other cloud services directly from a single API. It handles authentication, infrastructure, and scaling so you can focus on building your app.
Yes — the Morph API through Puter.js works with any JavaScript framework, Node.js, or plain HTML. Just include the library and start building. See the documentation for more details.