Name | Type | Description | Notes |
---|---|---|---|
ModelId | string | [default to ""] | |
Prompt | string | ||
Height | Pointer to int32 | [optional] | |
Width | Pointer to int32 | [optional] | |
GuidanceScale | Pointer to float32 | [optional] [default to 7.5] | |
NegativePrompt | Pointer to string | [optional] [default to ""] | |
SafetyCheck | Pointer to bool | [optional] [default to true] | |
Seed | Pointer to int32 | [optional] | |
NumInferenceSteps | Pointer to int32 | [optional] [default to 50] | |
NumImagesPerPrompt | Pointer to int32 | [optional] [default to 1] |
func NewTextToImageParams(modelId string, prompt string, ) *TextToImageParams
NewTextToImageParams instantiates a new TextToImageParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTextToImageParamsWithDefaults() *TextToImageParams
NewTextToImageParamsWithDefaults instantiates a new TextToImageParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *TextToImageParams) GetModelId() string
GetModelId returns the ModelId field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetModelIdOk() (*string, bool)
GetModelIdOk returns a tuple with the ModelId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetModelId(v string)
SetModelId sets ModelId field to given value.
func (o *TextToImageParams) GetPrompt() string
GetPrompt returns the Prompt field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetPromptOk() (*string, bool)
GetPromptOk returns a tuple with the Prompt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetPrompt(v string)
SetPrompt sets Prompt field to given value.
func (o *TextToImageParams) GetHeight() int32
GetHeight returns the Height field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetHeightOk() (*int32, bool)
GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetHeight(v int32)
SetHeight sets Height field to given value.
func (o *TextToImageParams) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (o *TextToImageParams) GetWidth() int32
GetWidth returns the Width field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetWidthOk() (*int32, bool)
GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetWidth(v int32)
SetWidth sets Width field to given value.
func (o *TextToImageParams) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (o *TextToImageParams) GetGuidanceScale() float32
GetGuidanceScale returns the GuidanceScale field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetGuidanceScaleOk() (*float32, bool)
GetGuidanceScaleOk returns a tuple with the GuidanceScale field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetGuidanceScale(v float32)
SetGuidanceScale sets GuidanceScale field to given value.
func (o *TextToImageParams) HasGuidanceScale() bool
HasGuidanceScale returns a boolean if a field has been set.
func (o *TextToImageParams) GetNegativePrompt() string
GetNegativePrompt returns the NegativePrompt field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetNegativePromptOk() (*string, bool)
GetNegativePromptOk returns a tuple with the NegativePrompt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetNegativePrompt(v string)
SetNegativePrompt sets NegativePrompt field to given value.
func (o *TextToImageParams) HasNegativePrompt() bool
HasNegativePrompt returns a boolean if a field has been set.
func (o *TextToImageParams) GetSafetyCheck() bool
GetSafetyCheck returns the SafetyCheck field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetSafetyCheckOk() (*bool, bool)
GetSafetyCheckOk returns a tuple with the SafetyCheck field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetSafetyCheck(v bool)
SetSafetyCheck sets SafetyCheck field to given value.
func (o *TextToImageParams) HasSafetyCheck() bool
HasSafetyCheck returns a boolean if a field has been set.
func (o *TextToImageParams) GetSeed() int32
GetSeed returns the Seed field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetSeedOk() (*int32, bool)
GetSeedOk returns a tuple with the Seed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetSeed(v int32)
SetSeed sets Seed field to given value.
func (o *TextToImageParams) HasSeed() bool
HasSeed returns a boolean if a field has been set.
func (o *TextToImageParams) GetNumInferenceSteps() int32
GetNumInferenceSteps returns the NumInferenceSteps field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetNumInferenceStepsOk() (*int32, bool)
GetNumInferenceStepsOk returns a tuple with the NumInferenceSteps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetNumInferenceSteps(v int32)
SetNumInferenceSteps sets NumInferenceSteps field to given value.
func (o *TextToImageParams) HasNumInferenceSteps() bool
HasNumInferenceSteps returns a boolean if a field has been set.
func (o *TextToImageParams) GetNumImagesPerPrompt() int32
GetNumImagesPerPrompt returns the NumImagesPerPrompt field if non-nil, zero value otherwise.
func (o *TextToImageParams) GetNumImagesPerPromptOk() (*int32, bool)
GetNumImagesPerPromptOk returns a tuple with the NumImagesPerPrompt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TextToImageParams) SetNumImagesPerPrompt(v int32)
SetNumImagesPerPrompt sets NumImagesPerPrompt field to given value.
func (o *TextToImageParams) HasNumImagesPerPrompt() bool
HasNumImagesPerPrompt returns a boolean if a field has been set.