Generate random artistic text prompts for use with generative AI models
Data comes from the CLIP Interrogator
npm install promptmaker
Call the function without arguments to get a random prompt:
promptmaker();
// -> graffiti art of ocean waves mannerism by Georg Schrimpf, distant expression, eyes closed or not visible
Specify an optional medium, subject, artist, movement, or flavors:
promptmaker({
medium: "graffiti art",
subject: "ocean waves",
});
// -> graffiti art of ocean waves mannerism by Georg Schrimpf, distant expression, eyes closed or not visible
Options, all of which default to random if unspecified:
medium
Stringsubject
Stringartist
Stringmovement
Stringflavors
Array of Strings
Returns a string in the format:
{medium} of {subject} {movement} by {artist}, {flavors}
npx promptmaker <optional-subject>
npm install
npm test