All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.sashirestela.openai.domain.image.ImageEditsRequest Maven / Gradle / Ivy

There is a newer version: 3.9.2
Show newest version
package io.github.sashirestela.openai.domain.image;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
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
@JsonInclude(Include.NON_EMPTY)
public class ImageEditsRequest extends AbstractImageRequest {

    @Required
    @Extension({ "png" })
    private Path image;

    @Required
    private String prompt;

    @Extension({ "png" })
    private Path mask;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy