ACMOAIImagesManager
public final class ACMOAIImagesManager : BaseAPIManager
Image manager for calling images endpoints of Open AI
-
Creates image based on giving parameters and returns closure
Declaration
Swift
func create(request: ACMOAIImagesRequest.Create, onSuccess: ImagesCallback.Create, onError: ACMGenericCallbacks.ErrorCallback)
Parameters
request
ACMOAIImagesCreateRequest
Model of possible requests -
Creates edit image based on giving parameters and returns closure
Declaration
Swift
func createEdit(request: ACMOAIImagesRequest.CreateEdit, onSuccess: ImagesCallback.CreateEdit, onError: ACMGenericCallbacks.ErrorCallback)
Parameters
request
ACMOAIImagesCreateEditRequest
Model of possible requests -
Creates variation image based on giving parameters and returns closure
Declaration
Swift
func createVariation(request: ACMOAIImagesRequest.CreateVariation, onSuccess: ImagesCallback.CreateVariation, onError: ACMGenericCallbacks.ErrorCallback)
Parameters
request
ACMOAIImagesCreateVariationRequest
Model of possible requests