Skip to content

tryAGI/EigenAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EigenAI

Modern .NET SDK for EigenAI generated from the provider's OpenAPI definition with AutoSDK.

Nuget package dotnet License: MIT Discord

Generated from the source spec

Built from EigenAI's OpenAPI definition so the SDK stays close to the upstream API surface.

Auto-updated

Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.

Modern .NET

Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.

Docs from examples

Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.

Usage

using EigenAI;

using var client = new EigenAIClient(apiKey);

CLI

dotnet tool install --global EigenAI.CLI --prerelease
eigen-ai api --help

Generate image

Generate an image with an EigenAI image model.

using var client = new EigenAIClient(apiKey);

var model =
    Environment.GetEnvironmentVariable("EIGENAI_IMAGE_MODEL") is { Length: > 0 } modelValue
        ? modelValue
        : "eigen-image";

var response = await client.GenerateImageAsync(
    model: model,
    prompt: "A clean editorial product photo of a matte ceramic espresso cup.",
    width: 1024,
    height: 1024);

var output = response.ImageBase64 ?? response.ImageUrl ?? response.Url ?? response.Output;

Support

Bugs

Open an issue in tryAGI/EigenAI.

Ideas and questions

Use GitHub Discussions for design questions and usage help.

Community

Join the tryAGI Discord for broader discussion across SDKs.

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors