RealtimeText2ImageSchema constructor

const RealtimeText2ImageSchema({
  1. required String apiKey,
  2. String? webhook,
  3. String? trackId,
  4. required String prompt,
  5. dynamic initImage,
  6. String? negativePrompt,
  7. double? strength,
  8. bool? base64,
  9. int? seed,
  10. int? guidanceScale,
  11. int? numInferenceSteps,
  12. int? width = 512,
  13. int? height = 512,
  14. int? samples = 1,
})

Implementation

const RealtimeText2ImageSchema({
  required this.apiKey,
  this.webhook,
  this.trackId,
  required this.prompt,
  this.initImage,
  this.negativePrompt,
  this.strength,
  this.base64,
  this.seed,
  this.guidanceScale,
  this.numInferenceSteps,
  this.width = 512,
  this.height = 512,
  this.samples = 1,
});