Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ public partial interface IStabilityAIClient : global::System.IDisposable
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }


/// <summary>
/// Manage your Stability.ai account, and view account/organization balances
/// </summary>
public V1UserClient V1User { get; }

/// <summary>
/// Enumerate available engines
/// </summary>
Expand All @@ -65,5 +60,10 @@ public partial interface IStabilityAIClient : global::System.IDisposable
/// </summary>
public V1GenerationClient V1Generation { get; }

/// <summary>
/// Manage your Stability.ai account, and view account/organization balances
/// </summary>
public V1UserClient V1User { get; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,27 @@ public sealed partial class StabilityAIClient : global::StabilityAI.IStabilityAI


/// <summary>
/// Manage your Stability.ai account, and view account/organization balances
/// Enumerate available engines
/// </summary>
public V1UserClient V1User => new V1UserClient(HttpClient, authorizations: Authorizations)
public V1EnginesClient V1Engines => new V1EnginesClient(HttpClient, authorizations: Authorizations)
{
ReadResponseAsString = ReadResponseAsString,
JsonSerializerContext = JsonSerializerContext,
};

/// <summary>
/// Enumerate available engines
/// Generate images from text, existing images, or both
/// </summary>
public V1EnginesClient V1Engines => new V1EnginesClient(HttpClient, authorizations: Authorizations)
public V1GenerationClient V1Generation => new V1GenerationClient(HttpClient, authorizations: Authorizations)
{
ReadResponseAsString = ReadResponseAsString,
JsonSerializerContext = JsonSerializerContext,
};

/// <summary>
/// Generate images from text, existing images, or both
/// Manage your Stability.ai account, and view account/organization balances
/// </summary>
public V1GenerationClient V1Generation => new V1GenerationClient(HttpClient, authorizations: Authorizations)
public V1UserClient V1User => new V1UserClient(HttpClient, authorizations: Authorizations)
{
ReadResponseAsString = ReadResponseAsString,
JsonSerializerContext = JsonSerializerContext,
Expand Down