{"id":8585,"date":"2024-12-04T14:26:02","date_gmt":"2024-12-04T13:26:02","guid":{"rendered":"https:\/\/lukasbarda.cz\/?p=8585"},"modified":"2024-12-04T14:33:18","modified_gmt":"2024-12-04T13:33:18","slug":"jak-generovat-obrazky-pomoci-ai","status":"publish","type":"post","link":"https:\/\/lukasbarda.cz\/english\/jak-generovat-obrazky-pomoci-ai\/","title":{"rendered":"How to generate images with AI"},"content":{"rendered":"<h3 class=\"wp-block-heading\">Why use AI generated images?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>AI tools make it possible to create high-quality visual content quickly and affordably.<\/li>\n\n\n\n<li>Suitable for both professional and personal use thanks to a wide range of styles and customization options.<\/li>\n\n\n\n<li>Saves time and costs for external graphics services.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image alignleft size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"565\" src=\"https:\/\/lukasbarda.cz\/wp-content\/uploads\/2024\/12\/image-1024x565.png\" alt=\"\" class=\"wp-image-8589\" style=\"width:840px;height:auto\" srcset=\"https:\/\/lukasbarda.cz\/wp-content\/uploads\/2024\/12\/image-1024x565.png 1024w, https:\/\/lukasbarda.cz\/wp-content\/uploads\/2024\/12\/image-300x165.png 300w, https:\/\/lukasbarda.cz\/wp-content\/uploads\/2024\/12\/image-768x424.png 768w, https:\/\/lukasbarda.cz\/wp-content\/uploads\/2024\/12\/image-18x10.png 18w, https:\/\/lukasbarda.cz\/wp-content\/uploads\/2024\/12\/image-600x331.png 600w, https:\/\/lukasbarda.cz\/wp-content\/uploads\/2024\/12\/image.png 1300w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">A demonstration of how tools evolve over time: DALL-E 2 (April 2022) vs. DALL-E 3 (October 2024)<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Examples of use<\/h3>\n\n\n\n<p><strong>1. Presentation<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Examples:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Creating unique visuals for business or school presentations.<\/li>\n\n\n\n<li>Simplifying complex concepts into illustrations (eg diagrams, schemes or metaphors).<\/li>\n\n\n\n<li>Preparation of professional backgrounds for slide presentations.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Tips:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Generate visuals aligned with brand identity (colors, style).<\/li>\n\n\n\n<li>Take advantage of AI tools like Microsoft Designer that have direct integration into PowerPoint.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>2. Marketing campaigns<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Examples:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Creation of banners and advertising visuals (eg &quot;watercolor summer sale&quot;).<\/li>\n\n\n\n<li>Social media: quickly create posts with unique images.<\/li>\n\n\n\n<li>Personalized ads: generating images targeted to a specific audience (e.g. by age, interests).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Tips:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Test different versions of images to A\/B test ads.<\/li>\n\n\n\n<li>Create visuals that reflect current trends (e.g. minimalism, pastel colors).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>3. Personal projects<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Examples:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Illustrations for blogs, books or personal websites.<\/li>\n\n\n\n<li>Visualization of ideas or concepts (e.g. interior designs, futuristic visions).<\/li>\n\n\n\n<li>Creating original gifts such as personalized posters or postcards.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Tips:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Experiment with different styles to find a unique visual language.<\/li>\n\n\n\n<li>Generate inspiring concepts for art projects.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Tips for working with images more efficiently<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Use tools with direct integration into other applications (eg Canva, Figma or PowerPoint).<\/li>\n\n\n\n<li>Create templates for recurring projects (eg weekly social media graphics).<\/li>\n\n\n\n<li>Combine AI-generated images with other sources: Generate basics with AI and refine them in specialized software (eg Canva, Photopea, Photoshop).<\/li>\n\n\n\n<li>Use AI to iterate quickly and get new ideas.<\/li>\n\n\n\n<li>The key is to experiment, iterate and engage creativity.<\/li>\n<\/ol>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Comparison of basic tools<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Tool<\/strong><\/td><td><strong>Focus<\/strong><\/td><td><strong>Advantages<\/strong><\/td><td><strong>Disadvantages<\/strong><\/td><td><strong>Usage examples<\/strong><\/td><\/tr><tr><td><strong>DALL-E<\/strong><\/td><td>Detailed image generation.<\/td><td>Precise details, possibility to modify images.<\/td><td>Less creative and stylistically limited.<\/td><td>Technical illustrations, design visualization, advertising visuals.<\/td><\/tr><tr><td><strong>MidJourney<\/strong><\/td><td>A creative and artistic approach to image generation.<\/td><td>Rich art styles, creative and atmospheric visuals.<\/td><td>Less control over details, limited ability to edit.<\/td><td>Concept art, book and album covers, creative marketing visuals.<\/td><\/tr><tr><td><strong>Microsoft Designer<\/strong><\/td><td>Rapid creation of visuals for presentations and marketing.<\/td><td>Ease of use, speed, integration with Microsoft products.<\/td><td>Limited creativity and functionality, focus on simpler visuals.<\/td><td>Presentations, marketing materials, visuals for social media and business messages.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Where to find tools<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>DALL-E can be found in <a href=\"https:\/\/chat.openai.com\/\" target=\"_blank\" rel=\"noopener\" title=\"ChatGPT \">ChatGPT <\/a>(will be called automatically when you want to create an image)<\/li>\n\n\n\n<li>You can find MidJourney here: <a href=\"https:\/\/www.midjourney.com\/home\" target=\"_blank\" rel=\"noopener\" title=\"\">https:\/\/www.midjourney.com\/home<\/a><\/li>\n\n\n\n<li>Microsoft Designer can be found in <a href=\"https:\/\/copilot.cloud.microsoft\/\" target=\"_blank\" rel=\"noopener\" title=\"Copilot \">Copilot <\/a>(will be called automatically when you want to create an image)  <\/li>\n\n\n\n<li>There are many more tools, for example <a href=\"https:\/\/stablediffusionweb.com\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Stable Diffusion<\/a> or <a href=\"https:\/\/davinci.ai\/\" target=\"_blank\" rel=\"noopener\" title=\"\">DavinciAI<\/a>, just search on the internet.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Prompting: How to correctly formulate an assignment<\/h3>\n\n\n\n<p><strong>What is a prompt?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A prompt is a text description that the user uses to tell the AI what to create.<\/li>\n\n\n\n<li>It is a key element in achieving the desired results.<\/li>\n\n\n\n<li>Think like a screenwriter or designer when creating a prompt.<\/li>\n\n\n\n<li>Experiment with different styles and elements to discover new possibilities.<\/li>\n\n\n\n<li>Use patterns and examples found online for inspiration.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Rules for effective prompting:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Be specific:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Describe in detail what you want to display (eg &quot;a dog sitting on a green meadow under a blue sky&quot; instead of &quot;a dog in a meadow&quot;).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Define the style:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Add information about the style you want (e.g. &quot;impressionist style&quot;, &quot;with realistic details&quot; or &quot;minimalist design&quot;).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Provide context:<\/strong>\n<ul class=\"wp-block-list\">\n<li>If applicable, mention the purpose of the image or its context (e.g. &quot;for an environmental marketing campaign&quot;).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Divide the assignment into parts:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Use bullet points or separate key information to make the prompt clearer.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Test and Iterate:<\/strong>\n<ul class=\"wp-block-list\">\n<li>If the result is not ideal, try reformulating the prompt.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Bad examples of prompts:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>&quot;The House on the Hill.&quot;\n<ul class=\"wp-block-list\">\n<li><strong>Problem:<\/strong> Too generic, no detail about style, setting or atmosphere.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>&quot;Animals in the Forest.&quot;\n<ul class=\"wp-block-list\">\n<li><strong>Problem:<\/strong> Unclear what animals and what forest.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Good examples of prompts:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>&quot;Modern wooden house with big windows, standing on a green hill during sunset, realistic style.&quot;\n<ul class=\"wp-block-list\">\n<li><strong>Why good:<\/strong> Detailed description of appearance, environment and atmosphere.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>&quot;A forest full of colorful birds and foxes, dense trees with rays of light passing through the crowns, fantasy-style illustrations.&quot;\n<ul class=\"wp-block-list\">\n<li><strong>Why good:<\/strong> Added style (fantasy) and more visuals.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Creating a prompt step by step - procedure:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Defining the basic subject:<\/strong>\n<ul class=\"wp-block-list\">\n<li>&quot;I want to create a picture of the city.&quot;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Adding details:<\/strong>\n<ul class=\"wp-block-list\">\n<li>&quot;Modern city at night with tall buildings.&quot;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Style and Atmosphere Specifications:<\/strong>\n<ul class=\"wp-block-list\">\n<li>&quot;Modern city at night with tall buildings, neon lights, cyberpunk style.&quot;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Adding more elements:<\/strong>\n<ul class=\"wp-block-list\">\n<li>&quot;Modern city at night with tall buildings, neon lights, cyberpunk style, flying cars in the sky.&quot;<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">How to improve an image if it didn&#039;t work the first time<\/h3>\n\n\n\n<p><strong>1. Analyze the output and identify what is wrong<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>What doesn&#039;t match?<\/strong>\n<ul class=\"wp-block-list\">\n<li>Are the details different than you wanted? (e.g. colors, objects, composition).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Is something missing?<\/strong>\n<ul class=\"wp-block-list\">\n<li>For example, key elements you expected are not present.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>What style does the image have?<\/strong>\n<ul class=\"wp-block-list\">\n<li>If the style doesn&#039;t fit, it may be too realistic, abstract, or inconsistent with expectations.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>2. How to proceed with editing the prompt<\/strong><\/p>\n\n\n\n<p><strong>A. Minor adjustments and addition of details<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the basis of the image corresponds to your ideas, you can just add or refine the prompt:\n<ul class=\"wp-block-list\">\n<li>Add a description of the missing elements.<\/li>\n\n\n\n<li>Change the specification of style, color, or atmosphere.<\/li>\n\n\n\n<li>For example: &quot;Cartoon style -&gt; Surreal watercolor, pastel colors.&quot;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>B. Rewriting the prompt (if there is a major error)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the image does not match even the basic specification, start the prompt again.<\/li>\n\n\n\n<li>Formulate the description differently, try to be more precise:\n<ul class=\"wp-block-list\">\n<li>Use clearer phrases and keywords.<\/li>\n\n\n\n<li>For example: &quot;A large garden with flowers&quot; -&gt; &quot;A large Japanese garden full of cherry blossoms, surrounded by stone paths, Zen atmosphere.&quot;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>3. Iterative approach<\/strong><\/p>\n\n\n\n<p>Instead of completely rewriting the prompt, you can gradually add new elements or request specific modifications. This is ideal when the result is not far from the desired one.<\/p>\n\n\n\n<p><strong>Procedure:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Use the original prompt as a base.<\/strong>\n<ul class=\"wp-block-list\">\n<li>&quot;Garden with gazebo by the lake on a summer afternoon.&quot;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add specific details.<\/strong>\n<ul class=\"wp-block-list\">\n<li>&quot;Add details: pink flowers, a traditional Japanese-style gazebo, reflections of the sun on the surface of the water.&quot;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Specify the style.<\/strong>\n<ul class=\"wp-block-list\">\n<li>&quot;Watercolor style with pastel colors.&quot;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Ask for specific changes.<\/strong>\n<ul class=\"wp-block-list\">\n<li>&quot;Change the color of the flowers to purple and add a sakura tree.&quot;<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>4. Tips for effective iterations<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Use contrasting examples:<\/strong>\n<ul class=\"wp-block-list\">\n<li>If the tool doesn&#039;t understand, add an example of what you definitely don&#039;t want (eg &quot;don&#039;t use dark colors&quot;).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Experiment with word order:<\/strong>\n<ul class=\"wp-block-list\">\n<li>The order of the words in the prompt can affect the result, so try rearranging them.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Simplify the description:<\/strong>\n<ul class=\"wp-block-list\">\n<li>If the output is messy, the prompt may be too complex. Try the simpler version.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Provide examples of the style:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Many tools support specifying an art direction style, e.g. &quot;in Renaissance style&quot;, &quot;impression&quot;, &quot;science fiction&quot;.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>5. Experimentation and flexibility<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Don&#039;t be afraid to experiment. Image generation is an iterative process, and each attempt brings you closer to the result.<\/li>\n\n\n\n<li>With each iteration, see what works better and adjust the prompt based on what you learn.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/lukasbarda.cz\/english\/#temata\">Courses not only about AI<\/a><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>A practical guide on how to generate images using artificial intelligence, a comparison of the most popular tools and tips for more efficient work with assignments.<\/p>","protected":false},"author":2,"featured_media":8591,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[109],"class_list":["post-8585","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-navody","tag-ai"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/posts\/8585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/comments?post=8585"}],"version-history":[{"count":0,"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/posts\/8585\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/media\/8591"}],"wp:attachment":[{"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/media?parent=8585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/categories?post=8585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lukasbarda.cz\/english\/wp-json\/wp\/v2\/tags?post=8585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}