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

com.aliyun.dingtalksmart_device_1_0.models.TextToImageRequest Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalksmart_device_1_0.models;

import com.aliyun.tea.*;

public class TextToImageRequest extends TeaModel {
    @NameInMap("modelId")
    public String modelId;

    /**
     * example:
     * 

1

*/ @NameInMap("pictureNum") public Long pictureNum; /** * example: *

1024*1024

*/ @NameInMap("pictureSize") public String pictureSize; /** *

This parameter is required.

* * example: *

帮我生成一个小猫在草坪上奔跑的图片

*/ @NameInMap("query") public String query; public static TextToImageRequest build(java.util.Map map) throws Exception { TextToImageRequest self = new TextToImageRequest(); return TeaModel.build(map, self); } public TextToImageRequest setModelId(String modelId) { this.modelId = modelId; return this; } public String getModelId() { return this.modelId; } public TextToImageRequest setPictureNum(Long pictureNum) { this.pictureNum = pictureNum; return this; } public Long getPictureNum() { return this.pictureNum; } public TextToImageRequest setPictureSize(String pictureSize) { this.pictureSize = pictureSize; return this; } public String getPictureSize() { return this.pictureSize; } public TextToImageRequest setQuery(String query) { this.query = query; return this; } public String getQuery() { return this.query; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy