io.github.sashirestela.openai.domain.image.ImageVariationsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-openai Show documentation
Show all versions of simple-openai Show documentation
A Java library to use the OpenAI API in the simplest possible way.
package io.github.sashirestela.openai.domain.image;
import io.github.sashirestela.slimvalidator.constraints.Extension;
import io.github.sashirestela.slimvalidator.constraints.Required;
import lombok.Getter;
import lombok.experimental.SuperBuilder;
import java.nio.file.Path;
@Getter
@SuperBuilder
public class ImageVariationsRequest extends AbstractImageRequest {
@Required
@Extension({ "png" })
private Path image;
}