Learn how to integrate AIano into your applications.
Install dependencies and create your first API request.
// Example installation
npm install aiano
Use your API key to authenticate your requests.
fetch("https://api.aiano.dev/v1/text", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({ prompt: "Hello AIano!" })
});
Send JSON payloads to access AIano models.
{
"prompt": "Write a short ad for an AI tool",
"max_tokens": 150
}