\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{XenoWhiz} \pdfinfo{ /Title (the-image-framework-a-customgpts-guide.pdf) /Creator (Cheatography) /Author (XenoWhiz) /Subject (The Image Framework - A CustomGPTs Guide Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{17362B} \definecolor{LightBackground}{HTML}{F7F8F8} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{The Image Framework - A CustomGPTs Guide Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{XenoWhiz} via \textcolor{DarkBackground}{\uline{cheatography.com/198377/cs/41965/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}XenoWhiz \\ \uline{cheatography.com/xenowhiz} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 7th January, 2024.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{x{2.09034 cm} x{2.88666 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/style {[}preferred style{]}}} \tn % Row 0 \SetRowColor{LightBackground} /style illustration & Creates an illustration \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /style hand-drawn & Creates a hand-drawn image \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} /style cinematic & Creates a cinematic image \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} /style floral & Creates a floral image \tn % Row Count 7 (+ 1) % Row 4 \SetRowColor{LightBackground} /style vibrant & Creates a vibrant image \tn % Row Count 8 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\bf{You can also use your own style or one of those predefined styles:}} \newline \newline fractal, realistic, minimalist, abstract, watercolor, fibonacci, steampunk, cartoon, glossy, neon, glitch, vintage, futuristic, mystical, ethereal, photorealistic, digital, pixel art, HDR, manga, botanical, nautical, tropical, urban, landscape, nature, underwater, historical, fantasy, sci-fi, horror, romantic, satirical, magical, cityscape, countryside, space, dystopian, utopian, post-apocalyptic, renaissance, modern} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.29402 cm} x{3.68298 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/mode {[}preferred mode{]}}} \tn % Row 0 \SetRowColor{LightBackground} /mode sticker & Creates an image with a slight emphasis on the upper body of the subject. This mode is designed for images that need to be recognizable even when scaled down to smaller sizes, like stickers. It ensures that key features remain visible and distinct. \tn % Row Count 9 (+ 9) % Row 1 \SetRowColor{white} /mode emote & Focuses significantly on the head or facial expressions of the subject. This mode is ideal for images that will be drastically reduced in size, such as digital emotes or emojis, where facial expressions or head details need to be clear and expressive. \tn % Row Count 18 (+ 9) % Row 2 \SetRowColor{LightBackground} /mode portrait & Creates a detailed, close-up image focused on the face or upper body of a subject, ideal for profile pictures or avatars. \tn % Row Count 23 (+ 5) % Row 3 \SetRowColor{white} /mode icon & Generates a simplified, iconic representation of the subject, emphasizing clear, recognizable features suitable for small icons or avatars. \tn % Row Count 28 (+ 5) % Row 4 \SetRowColor{LightBackground} /mode banner & Generates an image with dimensions and focus suitable for headers or banners, with the main subject centered and space for text or additional elements. \tn % Row Count 34 (+ 6) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{1.29402 cm} x{3.68298 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/mode {[}preferred mode{]} (cont)}} \tn % Row 5 \SetRowColor{LightBackground} /mode collage & Produces a composite image made from multiple photographs or elements, arranged artistically, perfect for storytelling or thematic presentations. \tn % Row Count 5 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{You can also describe and use your own mode with natural language, and The Image Framework will take it into account.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{0.89586 cm} x{4.08114 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/text {[}on{]} or {[}off{]}}} \tn % Row 0 \SetRowColor{LightBackground} /text on & Creates an image and forces text to appear \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /text off & Creates an image without any text at all {\bf{(experimental)}} \tn % Row Count 4 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\bf{"/text off" is still experimental.}} Sometimes it causes the exact opposite, but for the most part it is reliable. It is best to use it only when there is no other way.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.73735 cm} x{2.23965 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/images {[}count{]}}} \tn % Row 0 \SetRowColor{LightBackground} /images 1 {\bf{(default)}} & Creates one image \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /images 5 & Creates five images \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} /images 10 & Creates ten images \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\bf{10 is the maximum. DALLE has separate rate limits:}} \newline \newline 200 is the DAILY maximum, there is a 15 min and a 60 min rate limit to help with load. This limit is variable and depends on the load, so during off hours it is higher.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.29402 cm} x{3.68298 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/variation {[}0 to 100{]}}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{/variation} 0 & Creates images with little to no variation between them \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \seqsplit{/variation} 73 & Creates images with lots of variation between them \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{/variation} 100 & Creates images with so much variation that every image is different from another \tn % Row Count 7 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\bf{This command can only be used together with the "/images" command.}} The higher the number, the more variation there is between generated images.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.59264 cm} x{3.38436 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/color {[}color{]}}} \tn % Row 0 \SetRowColor{LightBackground} /color green & Creates an image, mainly using the color green \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /color red and blue & Creates an image, mainly using the colors red and blue \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} /color sunflowers & Create an image, mainly using the colors of a sunflower (brown and yellow) \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} /color HEX \#41FDBC & Creates an image, mainly using the given color hex value \tn % Row Count 10 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{The image mostly uses the given color or colors. The colors can be given in plain text, RGB values or HEX values.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.54287 cm} x{3.43413 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/tint {[}tint{]}}} \tn % Row 0 \SetRowColor{LightBackground} /tint green & Creates an image with a green tint \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /tint red and blue & Creates an image with a red and blue tint \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} /tint sunflowers & Create an image, tinted in the colors of a sunflower (brown and yellow) \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} /tint HEX \#41FDBC & Creates an image, tinted in the given color hex value \tn % Row Count 9 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{The image gets a tint in the given color or colors. The colors can be given in plain text, RGB values or HEX values. You can add phrases like "strong tint" or "slightly tinted" to the prompt to adjust the strength.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{p{0.54747 cm} x{4.42953 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/nobg}} \tn % Row 0 \SetRowColor{LightBackground} /nobg & Generates an image with a one-color background \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Great for making the image transparent by keying out the background} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/exclude {[}anything{]}}} \tn % Row 0 \SetRowColor{LightBackground} /exclude animals & Excludes all sorts of animals \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /exclude nature, trees, bushes and forests & Excludes nature elements, especially trees, bushes and forests \tn % Row Count 6 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{What is specified with the exclude command will be ignored during image generation. You can use natural language to describe what should be excluded. \newline \newline {\bf{This feature is still experimental.}} Sometimes it causes the exact opposite, but for the most part it is reliable. It is best to use it only when there is no other way.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.29402 cm} x{3.68298 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/dimension {[}2D{]} or {[}3D{]} or {[}4D{]} or {[}5D{]}}} \tn % Row 0 \SetRowColor{LightBackground} \seqsplit{/dimension} 2d & Creates a 2D image \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \seqsplit{/dimension} 3d & Creates a 3D image \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{/dimension} 4d & Creates a 4D image {\bf{(experimental)}} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{/dimension} 5d & Creates a 5D image {\bf{(experimental)}} \tn % Row Count 8 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.9908 cm} x{2.9862 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/ratio {[}aspect ratio{]}}} \tn % Row 0 \SetRowColor{LightBackground} /ratio square {\bf{(default)}} & Creates an image with height and length being the same \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} /ratio 16:9 & Creates a 16:9 image \tn % Row Count 4 (+ 1) % Row 2 \SetRowColor{LightBackground} /ratio 4:3 & Creates a 4:3 image \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} /ratio Tube-TV & Creates an image with the dimensions of old Tube-TV's \tn % Row Count 8 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{Use your preferred aspect ratio or use natural language to describe which dimensions the generated image should have.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{/showprompt}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{/showprompt} \tn % Row Count 1 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{If used, the prompt that The Image Framework created and sent to DALLE is shown. This can then be copied, pasted, and slightly adjusted if you want similar results. Works great with Midjourney too.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.64241 cm} x{3.33459 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/foreground {[}element{]} or /fg {[}element{]}}} \tn % Row 0 \SetRowColor{LightBackground} /fg kangaroo & Creates an image with a kangaroo in the foreground \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /fg donut on a table & Creates an image with a donut on a table in the foreground \tn % Row Count 5 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.04057 cm} x{2.93643 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/background {[}element{]} or /bg {[}element{]}}} \tn % Row 0 \SetRowColor{LightBackground} /bg antarctica & Creates a picture with an Antarctic scene in the background \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} /bg storefront in a big city & Creates an image with a storefront in a big city in the background \tn % Row Count 6 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.29402 cm} x{3.68298 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{/emotion {[}emotion{]}}} \tn % Row 0 \SetRowColor{LightBackground} /emotion happy & The generated image could display a sunny day or people smiling \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} /emotion sad & The generated image could display a rainy day or someone looking sad \tn % Row Count 6 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{{\bf{Hint:}} You can use any emotion with natural language.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}