liveBook · Manning

Txt2img

As explained in Build a Website with ChatGPT

Text-to-image generation is the production of an image from a natural-language description.

Txt2img, short for text-to-image, turns a natural-language description of a scene, object, or person into a matching image. DALL-E is the image-generation model used for this task. section 5.2.2

You can access DALL-E through the OpenAI DALL-E app or Microsoft Copilot Image Creator. Generated images often need editing or may serve best as prototypes rather than final artwork. section 5.2.2

Try a descriptive prompt

Ask for “A photograph of a golden retriever browsing in a library, medium shot, fluorescent lighting.” The subject, composition, and lighting give the generator useful visual direction. section 5.2.2

Please ask image creator to create a cartoon of a cow standing on two legs with a text bubble over the cow's head that says "Moo".

Use the example prompt to see how a simple character, action, and text requirement can be combined in one request. section 5.2.2

How Build a Website with ChatGPT covers it

How deep it goes
Defines the process, identifies DALL-E, shows prompts and access routes, and stops short of detailed model internals.
Examples
Uses prompts for a cartoon cow, a library dog photograph, a post-apocalyptic diner, and an illuminated manuscript.
What you can do after
Apply it via DALL-E or Copilot Image Creator to produce prototype images from written descriptions.
How it connects
Connects natural-language prompts with DALL-E, Microsoft Copilot, and graphics editing.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build a Website with ChatGPT. The section links point to the parts of the book it draws on.