US 12,169,626 B2
Prompt modification for automated image generation
Aleksandr Zakharov, Dubai (AE); Sergey Smetanin, London (GB); Arnab Ghosh, Oxford (GB); and Pavel Savchenkov, London (GB)
Assigned to SNAP INC., Santa Monica, CA (US)
Filed by Snap Inc., Santa Monica, CA (US)
Filed on Mar. 1, 2023, as Appl. No. 18/116,003.
Prior Publication US 2024/0295953 A1, Sep. 5, 2024
Int. Cl. G06F 3/048 (2013.01); G06F 3/04845 (2022.01); G06T 11/00 (2006.01); G06F 40/12 (2020.01)
CPC G06F 3/04845 (2013.01) [G06T 11/00 (2013.01); G06F 40/12 (2020.01); G06T 2200/24 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
receiving, from a user device, an image generation request comprising a base prompt;
identifying a plurality of prompt modifiers by accessing, from storage, a predefined set of prompt modifiers associated with modifier scoring;
generating an embedding of the base prompt;
automatically determining, for each prompt modifier of the plurality of prompt modifiers, a modifier score associated with the base prompt by processing the embedding of the base prompt;
automatically selecting one or more of the plurality of prompt modifiers based on the modifier scores;
automatically generating a modified prompt based on the base prompt and the one or more selected prompt modifiers, the modified prompt being provided as input to an automated image generator to generate an image; and
causing presentation of the image on the user device.