feat: add request watermark param (#32)
Co-authored-by: cuijianmin <jianmin.cui@aminer.cn>
This commit is contained in:
parent
72f21989bb
commit
5f157710f2
4 changed files with 24 additions and 0 deletions
|
|
@ -44,4 +44,10 @@ public class AudioSpeechRequest extends CommonRequest implements ClientRequest<A
|
|||
@JsonProperty("sensitive_word_check")
|
||||
private SensitiveWordCheckRequest sensitiveWordCheck;
|
||||
|
||||
/**
|
||||
* Forced watermark switch
|
||||
*/
|
||||
@JsonProperty("watermark_enabled")
|
||||
private Boolean watermarkEnabled;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,4 +44,10 @@ public class CreateImageRequest extends CommonRequest implements ClientRequest<C
|
|||
@JsonProperty("sensitive_word_check")
|
||||
private SensitiveWordCheckRequest sensitiveWordCheck;
|
||||
|
||||
/**
|
||||
* Forced watermark switch
|
||||
*/
|
||||
@JsonProperty("watermark_enabled")
|
||||
private Boolean watermarkEnabled;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -112,4 +112,10 @@ public class ChatCompletionCreateParams extends CommonRequest implements ClientR
|
|||
*/
|
||||
private ChatThinking thinking;
|
||||
|
||||
/**
|
||||
* Forced watermark switch
|
||||
*/
|
||||
@JsonProperty("watermark_enabled")
|
||||
private Boolean watermarkEnabled;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,4 +114,10 @@ public class VideoCreateParams implements ClientRequest<VideoCreateParams> {
|
|||
@JsonProperty("aspect_ratio")
|
||||
private String aspectRatio;
|
||||
|
||||
/**
|
||||
* Forced watermark switch
|
||||
*/
|
||||
@JsonProperty("watermark_enabled")
|
||||
private Boolean watermarkEnabled;
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue