Class SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C extends SketchImageSynthesisParam,B extends SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C,B>>
java.lang.Object
com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C,B>
com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C,B>
com.alibaba.dashscope.legacy_2x.aigc.imagesynthesis.SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C,B>
- Enclosing class:
- SketchImageSynthesisParam
public abstract static class SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C extends SketchImageSynthesisParam,B extends SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C,B>>
extends HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cbuild()realisticness(Integer realisticness) protected abstract Bself()sketchColor(String sketchColor) sketchExtraction(Boolean sketchExtraction) sketchImageUrl(@NonNull String sketchImageUrl) sketchWeight(Integer sketchWeight) toString()Methods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam.HalfDuplexServiceParamBuilder
model, resourcesMethods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase.HalfDuplexParamBaseBuilder
apiKey, clearHeaders, clearParameters, enableEncrypt, header, headers, parameter, parameters, securityCheck, workspace
-
Constructor Details
-
SketchImageSynthesisParamBuilder
public SketchImageSynthesisParamBuilder()
-
-
Method Details
-
n
- Returns:
this.
-
size
- Returns:
this.
-
sketchWeight
- Returns:
this.
-
realisticness
- Returns:
this.
-
sketchImageUrl
- Returns:
this.
-
style
- Returns:
this.
-
sketchExtraction
- Returns:
this.
-
sketchColor
- Returns:
this.
-
prompt
- Returns:
this.
-
self
- Specified by:
selfin classHalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C extends SketchImageSynthesisParam,B extends SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C, B>>
-
build
- Specified by:
buildin classHalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C extends SketchImageSynthesisParam,B extends SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C, B>>
-
toString
- Overrides:
toStringin classHalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C extends SketchImageSynthesisParam,B extends SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C, B>>
-