Welcome to RetoneAI Documentation
Everything you need to integrate and build with RetoneAI's powerful AI platform.
Installation
Install the RetoneAI SDK for your preferred programming language:
Node.js
npm install @retoneai/sdkPython
pip install retoneaiBasic Usage
JavaScript Example
import { RetoneAI } from '@retoneai/sdk';
const client = new RetoneAI({
apiKey: 'your-api-key'
});
const response = await client.completions.create({
model: 'retone-gpt-4',
prompt: 'Hello, world!',
maxTokens: 100
});
console.log(response.text);Note: Keep your API key secure and never commit it to version control.