Skip to main content

CreateModelInput

This input is used to create a new model. The model is a digital representation of the person that can be used for try-on process.

input CreateModelInput {
name: String
height: Float
heightUnit: HeightUnit
weight: Float
weightUnit: WeightUnit
gender: Gender
bodyType: BodyType
age: Int
skinTone: String
}

Fields

CreateModelInput.name ● String scalar

Name is a required field. It is a string representation of the name of the model.

CreateModelInput.height ● Float scalar

Height is a float number that represents the height of the model.

CreateModelInput.heightUnit ● HeightUnit enum

Height unit is an enum that represents the height unit of the model.

CreateModelInput.weight ● Float scalar

Weight is a float number that represents the weight of the model.

CreateModelInput.weightUnit ● WeightUnit enum

Weight unit is an enum that represents the weight unit of the model.

CreateModelInput.gender ● Gender enum

Gender value helps to create more detailed generation results.

CreateModelInput.bodyType ● BodyType enum

Body type is a field that defines body type mask for the generation.

CreateModelInput.age ● Int scalar

Age field helps to generate try on with correct skin texture.

CreateModelInput.skinTone ● String scalar

Skin tone is a string that represents the skin tone of the model. It accepts HEX color.

Member Of

createModel mutation