Text23D.fromJson constructor
Text23D.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Text23D.fromJson(Map<String, dynamic> json) {
return Text23D(
key: json['key'],
webhook: json['webhook'],
trackId: json['track_id'],
prompt: json['prompt'],
resolution: json['resolution'],
outputFormat: json['output_format'],
render: json['render'],
negativePrompt: json['negative_prompt'],
seed: json['seed'],
guidanceScale: json['guidance_scale'],
numInferenceSteps: json['num_inference_steps'],
ssGuidanceStrength: (json['ss_guidance_strength'] as num?)?.toDouble(),
slatGuidanceStrength:
(json['slat_guidance_strength'] as num?)?.toDouble(),
slatSamplingSteps: json['slat_sampling_steps'],
meshSimplify: (json['mesh_simplify'] as num?)?.toDouble(),
foregroundRatio: (json['foreground_ratio'] as num?)?.toDouble(),
removeBg: json['remove_bg'],
chunkSize: json['chunk_size'],
temp: json['temp'],
);
}