initial commit

This commit is contained in:
Sam
2023-03-26 17:31:42 -04:00
commit e3b5b090fb
51 changed files with 4222 additions and 0 deletions

View File

@ -0,0 +1,21 @@
//
// ImageGeneration.swift
//
//
// Created by Arjun Dureja on 2023-03-11.
//
import Foundation
struct ImageGeneration: Encodable {
let prompt: String
let n: Int
let size: ImageSize
let user: String?
}
public enum ImageSize: String, Codable {
case size1024 = "1024x1024"
case size512 = "512x512"
case size256 = "256x256"
}