Create
struct Create
Request model for holding create
-
image: required*
Declaration
Swift
public var image: String
-
mask: optional
Declaration
Swift
public var mask: String?
-
prompt: required*
Declaration
Swift
public var prompt: String
-
n: optional
Declaration
Swift
public var n: Int?
-
size: optional
Declaration
Swift
public var size: String?
-
response_format: optional
Declaration
Swift
public var response_format: String?
-
user: optional
Declaration
Swift
public var user: String?
-
Init function for creating request
Declaration
Swift
public init(image: String, mask: String? = nil, prompt: String, n: Int? = nil, size: String? = nil, response_format: String? = nil, user: String? = nil)