toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'key': key,
      'webhook': webhook,
      'track_id': trackId,
      'prompt': prompt,
      'init_image': initImage,
      'negative_prompt': negativePrompt,
      'strength': strength,
      'base64': base64,
      'seed': seed,
      'guidance_scale': guidanceScale,
      'num_inference_steps': numInferenceSteps,
      'width': width,
      'height': height,
      'samples': samples,
    };