A device for rapid apparel prototyping and design visualization, the device comprising:
- a computer comprising:
- one or more processors;
- a memory;
- draft receipt agent comprising computer readable instructions that when executed receive a draft file of a first image comprising a sketch of one or more apparel items;
- a description module comprising computer readable instructions that when executed receive a text description comprising a description of the one or more apparel items,
- wherein the text description comprises a positive description of one or more attributes to be present in the one or more apparel items and a negative description of one or more attributes to be excluded from the one or more apparel items;
- a generative model selection routine comprising computer readable instructions that when executed select generative image model configured to generate an output image constrained by both the first image of the one or more apparel items and a first set of latent representations that includes at least one of one or more latent representations of a text-image relation model;
- a model parameterization subroutine comprising computer readable instructions that when executed:
- select the text-image relation model configured to relate the text description to the one or more latent representations of the text-image relation model, and
- parameterize the generative image model with a set of model parameters comprising at least one of (i) a convolution step value, (ii) a constraint divergence value, (iii) a quality value of the output image;
- (iv) a size value of the output image;
- (v) a generative seed, (vi) a sampler model, (vii) a decoding algorithm, and (viii) a denoise algorithm;
- a latent image storage routine comprising computer readable instructions that when executed store the first set of latent representations from the text-image relation model;
- a generative model execution engine comprising computer readable instructions that when executed input:
- into the generative image model a set of inputs of the generative image model comprising (i) the draft file comprising the first image of the one or more apparel items, (ii) the first set of latent representations of the text-image relation model, and (iii) the set of model parameters, and
- generate a first rendering file comprising a second image of the one or more apparel items modified by the text description to allow for at least one of rapid visualization, prototyping, and construction of the one or more apparel items;
- an apparel segmentation engine comprising computer readable instructions that when executed:
- input at least one of the draft file and the first rendering file into a computer vision model trained with a first set of training images comprising data distinguishing apparel items, and
- generate a segmentation file comprising one or more boundary designations of the one or more apparel items;
- and
- an apparel rendering routine comprising computer readable instructions that when executed:
- receive a selection of a boundary designation of the one or more boundary designations of the one or more apparel items to select an apparel item bounded by the boundary designation,
- receive a new text description comprising a description of the apparel item bounded by the boundary designation,
- request a second set of latent representations from at least one of the text-image relation model and a different text-image relation model based on the new text description,
- input into the generative image model at least a portion of the first rendering file within the boundary designation, the second set of latent representations of the text-image relation model, and a different set of model parameters;
- and
- wherein the generative model execution engine further comprising computer readable instructions that when executed:
- generate a second rendering file re-rendering the apparel item bounded by the boundary designation.