Using AI/ML API
Last updated
Was this helpful?
Follow these steps to connect AI/ML API with the AutoGPT platform for high-performance AI text generation.
Make sure you have gone through and completed the AutoGPT Setup Guide, and AutoGPT is running locally at http://localhost:3000.
You have an API key from AI/ML API.
Follow the official guide: π AutoGPT Getting Started Guide
Make sure AutoGPT is running and accessible at: http://localhost:3000
π‘ Keep AutoGPT running in a terminal or Docker throughout the session.
Open your browser and go to: http://localhost:3000/build
Or click βBuildβ in the navigation bar.
Click the "Blocks" button on the left sidebar.
In the search bar, type AI Text Generator.
Drag the block into the canvas.
Click the AI Text Generator block to configure it.
In the LLM Model dropdown, select one of the supported models from AI/ML API:
Qwen/Qwen2.5-72B-Instruct-Turbo
Medium
High
Text-based tasks
nvidia/llama-3.1-nemotron-70b-instruct
Medium
High
Analytics and reasoning
meta-llama/Llama-3.3-70B-Instruct-Turbo
Low
Very High
Complex multi-step tasks
meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo
Low
Very High
Deep reasoning
meta-llama/Llama-3.2-3B-Instruct-Turbo
High
Medium
Fast responses
β These models are available via OpenAI-compatible API from AI/ML API
Inside the AI Text Generator block:
Enter your prompt text in the Prompt field.
Enter your AI/ML API Key in the designated field.
π You can get your key from: https://aimlapi.com/app/keys/
Click the βSaveβ button at the top-right of the builder interface:
Give your agent a name (e.g., aimlapi_test_agent).
Click βSave Agentβ to confirm.
π‘ Saving allows reuse, scheduling, and chaining in larger workflows.
From the workspace:
Press βRunβ next to your saved agent.
The request will be sent to the selected AI/ML API model.
Scroll to the AI Text Generator block.
Check the Output panel below it.
You can copy, export, or pass the result to further blocks.
Now that AI/ML API is connected, expand your workflow by chaining additional blocks:
π§ Tools β fetch URLs, call APIs, scrape data
π§ Memory β retain context across interactions
βοΈ Actions / Chains β create full pipelines
π Youβre now generating AI responses using enterprise-grade models from AI/ML API in AutoGPT!
Last updated
Was this helpful?
Was this helpful?