> ## Documentation Index
> Fetch the complete documentation index at: https://pitchprint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Sketch to Image

> Turn a rough sketch on the canvas into a detailed image using the Structure tool and a text prompt in the picture editor.

<Frame>
  <img src="https://s3.amazonaws.com/helpscout.net/docs/assets/58f1ec6d2c7d3a52b42f8254/images/67628f8e8d5e1b5f74d1e748/file-Mzk8QoGrqV.png" alt="AI Sketch to Image module in PitchPrint" />
</Frame>

This module allows customers to convert rough sketches into fully detailed images. It uses generative models, like Stable Diffusion, to understand the user's basic drawings and create a more complex image from them.

<Frame>
  <img src="https://s3.amazonaws.com/helpscout.net/docs/assets/58f1ec6d2c7d3a52b42f8254/images/67628fa0dff08d76f3ecf70f/file-1CKS8qGlRS.jpg" alt="A rough sketch alongside the detailed image generated from it" />
</Frame>

Here’s how the **Sketch to Image** function works:

1. **Sketch Input**: The user provides a simple sketch or drawing that acts as the starting point for the final image.
2. **AI Interpretation**: The AI analyzes the shapes, lines, and proportions in the sketch, turning the basic drawing into a more complete image.
3. **Image Generation**: Once the sketch is understood, the AI uses its knowledge of objects, textures, and styles to create a detailed version of the image.
4. **Customization**: Users can add more details, like style, colors, or layout, to help guide the AI in creating the final image.

### Process:

1. **Sketch Creation**: The user creates a basic sketch, which could be a hand-drawn doodle or a simple digital outline.
2. **AI Processing**: The AI processes the sketch and turns it into a more detailed image, filling in missing parts based on patterns it has learned.
3. **Final Image**: The AI produces a high-quality image based on the original sketch, which can be further adjusted if needed.

**How to use Sketch to Image:**

<Steps>
  <Step title="Add your sketch to the canvas">
    Start by uploading your image into the PitchPrint editor, and inserting it on the canvas.
  </Step>

  <Step title="Open the picture editor">
    Once the image is on the canvas, click on the 'Edit Picture' button

    <Frame>
      <img src="https://s3.amazonaws.com/helpscout.net/docs/assets/58f1ec6d2c7d3a52b42f8254/images/676291418d5e1b5f74d1e74b/file-DShazUYtEp.png" alt="Edit Picture button on the toolbar for the selected image" />
    </Frame>
  </Step>

  <Step title="Select Structure">
    In the side panel you will find the AI Image enhancement tools, Click on 'Structure'

    <Frame>
      <img src="https://s3.amazonaws.com/helpscout.net/docs/assets/58f1ec6d2c7d3a52b42f8254/images/676295350746a93048889871/file-9r3tcoAAG0.png" alt="Structure option listed among the AI image enhancement tools in the side panel" />
    </Frame>
  </Step>

  <Step title="Enter your prompt">
    Now you will have to add your prompt: For this example I want the final Graphic to be a realistic oil Painting

    <Frame>
      <img src="https://s3.amazonaws.com/helpscout.net/docs/assets/58f1ec6d2c7d3a52b42f8254/images/6762916f7a157b26ced50a54/file-Qfb1IkPNNn.png" alt="Prompt field with a realistic oil painting prompt entered" />
    </Frame>
  </Step>

  <Step title="Generate the image">
    Lastly click on Generate & wait for your results.

    <Frame>
      <img src="https://s3.amazonaws.com/helpscout.net/docs/assets/58f1ec6d2c7d3a52b42f8254/images/6762924088013041eb58d3c0/file-UsltvVqbiX.png" alt="Generated result shown after the sketch is processed" />
    </Frame>
  </Step>
</Steps>

In Short this feature is great for graphic designers, artists, or businesses that need to quickly turn ideas into visual images without spending a lot of time on manual design.

Please note that this feature is still in **BETA mode** and we will continue to add functionality. Please reach out to us via [support@pitchprint.com](mailto:support@pitchprint.com) with any suggestions or questions.

*\*Additional charges apply*

## Related articles

<CardGroup cols={2}>
  <Card title="AI Structure" icon="crop" href="/docs/tutorial/ai-structure">
    Refine images while preserving layout, proportions, and composition.
  </Card>

  <Card title="AI-Imaginate" icon="image" href="/docs/tutorial/ai-image-generator">
    Generate AI images from text prompts with style and size options.
  </Card>

  <Card title="AI-Imaginate: Text to Image AI Tool" icon="sparkles" href="/docs/tutorial/using-ai-imaginate">
    Generate images from text descriptions with AI-Imaginate.
  </Card>

  <Card title="AI Smart Replace" icon="arrows-rotate" href="/docs/tutorial/ai-smart-replace">
    Find and replace elements within an image using AI.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.