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

xyz.felh.openai.image.variation.CreateVariationRequest Maven / Gradle / Ivy

There is a newer version: 4.0.2024102501
Show newest version
package xyz.felh.openai.image.variation;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import xyz.felh.openai.image.BaseRequest;
import lombok.*;
import lombok.experimental.SuperBuilder;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor(force = true)
@ToString(callSuper = true)
@SuperBuilder(toBuilder = true)
public class CreateVariationRequest extends BaseRequest {

    /**
     * The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.
     * 

* string, Required */ @JSONField(name = "image") @JsonProperty("image") private byte[] image; @JSONField(name = "image_path") @JsonProperty("image_path") private String imagePath; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy