mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-23 00:00:52 +00:00
feat: Add support for text-to-image APIs. (#13380)
* feat: Add support for text-to-image APIs. * feat: Add support for text-to-image APIs.
This commit is contained in:
@@ -556,8 +556,10 @@ export namespace AI {
|
||||
apiType: string;
|
||||
baseUrl: string;
|
||||
editableBaseUrl: boolean;
|
||||
supportsModelDiscovery: boolean;
|
||||
defaultAuthMode: string;
|
||||
authModes: string[];
|
||||
models: ProviderModelInfo[];
|
||||
}
|
||||
|
||||
export interface ProviderInfo {
|
||||
@@ -579,6 +581,7 @@ export namespace AI {
|
||||
authMode: string;
|
||||
models?: AgentAccountModel[];
|
||||
verifyModel: string;
|
||||
validateAvailability: boolean;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
@@ -591,6 +594,7 @@ export namespace AI {
|
||||
apiType: string;
|
||||
authMode: string;
|
||||
verifyModel: string;
|
||||
validateAvailability: boolean;
|
||||
remark: string;
|
||||
syncAgents: boolean;
|
||||
}
|
||||
@@ -599,6 +603,8 @@ export namespace AI {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
provider: string;
|
||||
apiType?: string;
|
||||
textOnly?: boolean;
|
||||
name: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user