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

# Writing Effective Prompts

> Prompts are the most basic mechanic of Alpaca — you’ll be able to explore any idea that you can imagine, just by describing it with a few simple words.

A prompt is a short text phrase that Alpaca interprets to produce an image.
Your prompt can have significant impact on your outcomes, so we'll spend a bit of time here
learning the fundamentals of how to write a good one.

As a general rule, an effective prompt should roughly follow the structure of the following:

```txt Prompt Template theme={null}
a [medium] of [subject], in the style of [style reference] [perspective], [emphasis], [modifiers]
```

Below are some examples of each component:

<AccordionGroup>
  <Accordion title="Medium">
    <ol>
      <li>illustration </li>
      <li>3D render </li>
      <li>clay model </li>
      <li>digital painting </li>
      <li>oil painting </li>
      <li>woodblock print </li>
    </ol>
  </Accordion>

  <Accordion title="Subject">
    <ol>
      <li>castle</li>
      <li>japanese bonsai tree</li>
      <li>mountain range </li>
      <li>alien spaceship </li>
      <li>medieval tavern </li>
      <li>ancient ruins </li>
      <li>cozy alleyway </li>
      <li>sorcerer</li>
    </ol>
  </Accordion>

  <Accordion title="Style Reference">
    <ol>
      <li>AAA game art, concept art</li>
      <li>pixel art</li>
      <li>street photography</li>
      <li>futuristic, sci-fi </li>
      <li>linocut, linework, simple lines</li>
      <li>90s anime, manga </li>
      <li>post-apocalyptic </li>
    </ol>
  </Accordion>

  <Accordion title="Perspective">
    <ol>
      <li>aerial view </li>
      <li>isometric perspective </li>
      <li>close-up view </li>
      <li>side-profile </li>
      <li>interior view </li>
      <li>exterior view </li>
      <li>portrait </li>
    </ol>
  </Accordion>

  <Accordion title="Emphasis">
    <ol>
      <li>ornate details, dynamic brushwork</li>
      <li>columns, pillars, and stonework</li>
      <li>foliage, flowers, and vines</li>
      <li>white panels, sleek desig</li>
      <li>sunset colors, golden lighting</li>
      <li>overgrown, crumbling, decrepit</li>
      <li>blue ink, grainy paper </li>
    </ol>
  </Accordion>

  <Accordion title="Modifiers">
    <ol>
      <li>8k, HD</li>
      <li>masterpiece, beautiful</li>
      <li>majestic, awe-inspiring</li>
      <li>calm, serene</li>
      <li>high-contrast</li>
      <li>intricate, insane detail</li>
    </ol>
  </Accordion>
</AccordionGroup>

We've combined some of the examples from the component lists above to create some sample prompts for you to try out. Continue to remix and add to them as you like!

```txt Sci-Fi Space Ship theme={null}
a 3D render of an alien spaceship, futuristic, sci-fi, AAA game art, exterior view, white panels, sleek design, 8k, HD, majestic, awe-inspiring
```

```txt Woodblock Bonsai theme={null}
a woodblock print of a bonsai tree, linocut, risograph, blue ink, linework, simple lines, grainy paper, calm, serene
```

```txt Anime Alleyway theme={null}
an illustration of a cozy alleyway, 90s anime, manga, sunset colors, golden lighting, foliage, flowers, and vines, calm, serene
```
