IP Library › Granted Patent US 12,675,921
Granted Patent B2
US 12,675,921 · App. 18/609,102 · Granted Jul 7, 2026

Text to color palette generation using diffusion models

Inventors: Pranav Vineet Aggarwal (Santa Clara, CA); Ajinkya Gorakhnath Kale (San Jose, CA)
Assignee: ADOBE INC.
G06T11/10G06F40/284G06F40/40G06T5/70G06T2207/10024G06T2207/20081
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,675,921
App. No.
18/609,102
Filed
Mar 19, 2024
Granted
Jul 7, 2026
Kind
B2
Art Unit
2612
USPC
345/589
Abstract

A method, apparatus, non-transitory computer readable medium, and system for text-to-color palette generation include encoding a text prompt to obtain text embedding. A color embedding is generated based on the text embedding by performing a diffusion process. Then a color palette is generated based on the color embedding. The color palette includes a plurality of colors corresponding to the text prompt.

Claims (55)

1 . A method comprising:

encoding, using a text encoder, a text prompt to obtain a text embedding and a plurality of text encodings;

generating, using a machine learning model, a color embedding based on the text embedding by performing an attention mechanism based on the text embedding and the plurality of text encodings and performing a diffusion process based on an output of the attention mechanism; and

generating a color palette, using the machine learning model, based on the color embedding, wherein the color palette includes a plurality of colors corresponding to the text prompt.

2 . The method of claim 1 ,

wherein the text embedding and the color embedding are represented in a same vector space.

3 . The method of claim 1 , wherein generating the color embedding comprises:

sampling a noisy color embedding;

predicting noise based on the text embedding; and

removing the noise from the noisy color embedding to obtain the color embedding.

4 . The method of claim 1 , further comprising:

sampling a plurality of noisy color embeddings; and

generating, using the machine learning model, a plurality of color embeddings based on the plurality of noisy color embeddings.

5 . The method of claim 1 , wherein:

the text prompt includes a base color term and a color modifier.

6 . The method of claim 1 , wherein generating the color palette comprises:

identifying a highest value among a plurality of values of the color embedding; and

selecting a color corresponding to the highest value.

7 . The method of claim 1 , wherein generating the color palette comprises:

filtering the color embedding to obtain a filtered color embedding; and

sorting a plurality of values in the filtered color embedding, wherein the color palette is based on the sorting.

8 . The method of claim 1 , wherein:

the machine learning model is trained to generate color embeddings based on text prompts using a training set including a training text prompt and a ground-truth color embedding.

9 . A method comprising:

initializing a machine learning model;

obtaining a training set including a training text prompt and a ground-truth color embedding; and

training, using the training set, the machine learning model to generate color embeddings based on text prompts by performing a diffusion process on a noisy color embedding, wherein the training comprises:

computing a diffusion loss based on the ground-truth color embedding; and

updating parameters of the machine learning model based on the diffusion loss.

10 . The method of claim 9 , wherein the training comprises:

encoding the training text prompt to obtain a text embedding, wherein the machine learning model takes the text embedding as input.

11 . The method of claim 10 , further comprising:

generating a predicted color embedding based on the noisy color embedding and the text embedding;

computing a loss function by comparing the predicted color embedding to the ground-truth color embedding; and

updating parameters of the machine learning model based on the loss function.

12 . The method of claim 9 , wherein the training comprises:

identifying a pre-determined number of time steps; and

updating parameters of the machine learning model based on the pre-determined number of time steps.

13 . The method of claim 9 , further comprising:

obtaining an image including colors in the ground-truth color embedding, wherein the training text prompt comprises a caption for the image and wherein the ground-truth color embedding is generated based on the image.

14 . An apparatus comprising:

at least one processor;

at least one memory including instructions executable by the at least one processor; and

a machine learning model comprising parameters in the at least one memory, wherein the machine learning model comprises:

a text encoder trained to encode a text prompt to obtain a text embedding and a plurality of text encodings;

a conversion model trained to generate a color embedding based on the text embedding by performing an attention mechanism based on the text embedding and the plurality of text encodings and performing a diffusion process based on an output of the attention mechanism; and

a color palette component configured to generate a color palette based on the color embedding, wherein the color palette includes a plurality of colors corresponding to the text prompt.

15 . The apparatus of claim 14 , wherein:

the conversion model comprises a transformer architecture.

16 . The apparatus of claim 14 , wherein:

the conversion model comprises a diffusion model.

17 . The apparatus of claim 14 , wherein:

the text encoder comprises a transformer architecture.

18 . The apparatus of claim 14 , further comprising:

a data preparation component configured to obtain a training set including a training text prompt and a ground-truth color embedding.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 19, 2024
From: AGGARWAL, PRANAV VINEET; KALE, AJINKYA GORAKHNATH
To: ADOBE INC.
Reel/Frame 066819/0847 →
Continuity (1)
Related Publication 20250299383A1 · Sep 25, 2025
References Cited (11)
US 11216505B2 · Motiian et al. · 2022 [cited by applicant]
US 11995803B1 · Karpman · 2024 [cited by examiner]
US 20200143570A1 · Guido-Clark · 2020 [cited by examiner]
US 20200380298A1 · Aggarwal · 2020 [cited by examiner]
US 20220277039A1 · Aggarwal et al. · 2022 [cited by applicant]
US 20240275912A1 · Adato · 2024 [cited by examiner]
US 20250078346A1 · Couleaud · 2025 [cited by examiner]
A. “Diffusing Colors: Image Colorization with Text Guided Diffusion” Zabari et al. DOI: https://doi.org/10.1145/3610548.3618180. SA Conference Papers '23: SIGGRAPH Asia 2023 Conference Papers, Sydney, NSW, Australia, De… [cited by examiner]
1Ramesh, et al., “Hierarchical Text-Conditional Image Generation with Clip Latents”, arXiv preprint arXiv:2204.06125v1 [cs.CV] Apr. 13, 2022. 27 pages. [cited by applicant]
2Radford, et al., “Learning Transferable Visual Models From Natural Language Supervision”, arXiv preprint arXiv:2103.00020v1 [cs.CV] Feb. 26, 2021, 48 pages. [cited by applicant]
3Adobe Color, Accessed on Jan. 2023; Found on the Internet: https://color.adobe.com/create/image. [cited by applicant]