You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
454 B
17 lines
454 B
1 year ago
|
using Refit;
|
||
1 year ago
|
using StabilityMatrix.Core.Models.Api;
|
||
1 year ago
|
|
||
1 year ago
|
namespace StabilityMatrix.Core.Api;
|
||
1 year ago
|
|
||
|
public interface ICivitApi
|
||
|
{
|
||
|
[Get("/api/v1/models")]
|
||
1 year ago
|
Task<CivitModelsResponse> GetModels(CivitModelsRequest request);
|
||
1 year ago
|
|
||
1 year ago
|
[Get("/api/v1/models/{id}")]
|
||
|
Task<CivitModel> GetModelById([AliasAs("id")] int id);
|
||
|
|
||
|
[Get("/api/v1/model-versions/by-hash/{hash}")]
|
||
|
Task<CivitModelVersionResponse> GetModelVersionByHash([Query] string hash);
|
||
1 year ago
|
}
|