elisra27
11/05/2025, 8:58 PMAI Evy
11/05/2025, 8:58 PMAI Evy
11/05/2025, 8:58 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.create({
response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
voice_id: '11labs-Adrian',
}) ;
console.log(agentResponse.agent_id) ;
The required parameters are response_engine (which includes the LLM ID and type) and voice_id. You can also configure additional settings like agent_name, voice_speed, language, and many other options.AI Evy
11/05/2025, 8:58 PMAI Evy
11/05/2025, 8:58 PM