Text2Video constructor

const Text2Video({
  1. required String key,
  2. String? webhook,
  3. String? trackId,
  4. required String modelId,
  5. required String prompt,
  6. String? negativePrompt,
  7. int? seed,
  8. int? width = 512,
  9. int? height = 512,
  10. int? numFrames = 30,
  11. int? numInferenceSteps = 50,
  12. double? guidanceScale = 7.5,
  13. int? fps = 8,
})

Implementation

const Text2Video({
  required this.key,
  this.webhook,
  this.trackId,
  required this.modelId,
  required this.prompt,
  this.negativePrompt,
  this.seed,
  this.width = 512,
  this.height = 512,
  this.numFrames = 30,
  this.numInferenceSteps = 50,
  this.guidanceScale = 7.5,
  this.fps = 8,
});