Access 400+ AI models through one unified .NET API. Supports OpenAI GPT-4o, GPT-4 Turbo, ChatGPT, Claude 3, Anthropic, Llama 3, Gemini, Mistral, DALL-E 3, Stable Diffusion, Whisper and more. OpenAI-compatible SDK with chat completions, image generation, embeddings, and audio transcription. Perfect OpenAI alternative for C# developers.
$ dotnet add package ForeverTools.AIML.NET wrapper libraries for popular third-party APIs. Clean interfaces, dependency injection ready, available on NuGet.
| Package | Description | NuGet |
|---|---|---|
| ForeverTools.AIML | Access 400+ AI models (GPT-4, Claude, Llama, Gemini, DALL-E, Stable Diffusion) |
All packages are available on NuGet:
# AI/ML (400+ AI models)
dotnet add package ForeverTools.AIML
using ForeverTools.AIML;
var client = new AimlApiClient("your-api-key");
// Chat with GPT-4, Claude, Llama, etc.
var response = await client.ChatAsync("What is the capital of France?");
// Generate images with DALL-E, Stable Diffusion, Flux
var imageUrl = await client.GenerateImageAsync("A sunset over mountains");
// Get embeddings for RAG/search
var vector = await client.EmbedAsync("Hello world");
// Program.cs
builder.Services.AddForeverToolsAiml("your-api-key");
// Or from configuration
builder.Services.AddForeverToolsAiml(builder.Configuration);
IServiceCollection extensionsMIT