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

# API Playground

> Configure a presentation request, test it, or copy the API code.

<Badge color="purple">Cloud only</Badge>

## Configure and run a request

<Steps>
  <Step title="Open API Playground">
    Select **API Playground** from the Presenton Cloud dashboard.
  </Step>

  <Step title="Choose the content format">
    <Tabs>
      <Tab title="Presentation Content">
        Use one prompt for the full presentation. Presenton decides how to divide the content across the selected number of slides.

        <div className="guide-media">
          <p className="guide-media-label">Write one prompt for the full deck</p>

          <div className="guide-media-viewport">
            <img src="https://mintcdn.com/presenton-521d9e2f/at0fMZFzkP-vbjoy/images/cloud/apiplayground/presentation-content.png?fit=max&auto=format&n=at0fMZFzkP-vbjoy&q=85&s=8aa61bc8ebc0df1cb4a0a7a60014c945" alt="API Playground using Presentation Content with one prompt for the full deck" width="1920" height="926" data-path="images/cloud/apiplayground/presentation-content.png" />
          </div>
        </div>
      </Tab>

      <Tab title="Slide Specific Content">
        Use a separate content block for every slide. Add or remove slide blocks when you need exact control over the deck structure.

        <div className="guide-media">
          <p className="guide-media-label">Provide content for each slide</p>

          <div className="guide-media-viewport">
            <img src="https://mintcdn.com/presenton-521d9e2f/at0fMZFzkP-vbjoy/images/cloud/apiplayground/slide-specific-content.png?fit=max&auto=format&n=at0fMZFzkP-vbjoy&q=85&s=0242d12eb3a65ebc1d0d7da8800d9082" alt="API Playground using Slide Specific Content with separate content blocks for each slide" width="1920" height="926" data-path="images/cloud/apiplayground/slide-specific-content.png" />
          </div>
        </div>
      </Tab>
    </Tabs>
  </Step>

  <Step title="Add content and generation options">
    Enter the presentation prompt or add content to each slide. Upload reference files when the request should use source material.

    For **Presentation Content**, choose the number of slides. Then select **Standard** for template-based layouts or **Smart** for content-driven composition.

    <div className="guide-media">
      <p className="guide-media-label">Choose the slide count for Presentation Content</p>

      <div className="guide-media-viewport">
        <img src="https://mintcdn.com/presenton-521d9e2f/at0fMZFzkP-vbjoy/images/cloud/apiplayground/slide-count.png?fit=max&auto=format&n=at0fMZFzkP-vbjoy&q=85&s=db97f01b8a08d964b22ceaec18a8355d" alt="API Playground slide count menu for a Presentation Content request" width="1920" height="926" data-path="images/cloud/apiplayground/slide-count.png" />
      </div>
    </div>
  </Step>

  <Step title="Customize the request">
    Use only the settings required for the result you want.

    <AccordionGroup>
      <Accordion title="Theme">
        Choose a Custom or Standard theme, or create a new theme.

        <div className="guide-media">
          <p className="guide-media-label">Choose the presentation theme</p>

          <div className="guide-media-viewport">
            <img src="https://mintcdn.com/presenton-521d9e2f/at0fMZFzkP-vbjoy/images/cloud/apiplayground/theme-settings.png?fit=max&auto=format&n=at0fMZFzkP-vbjoy&q=85&s=d983a71af04266ef5a254eaee792348a" alt="API Playground Theme tab with Custom and Standard themes" width="1920" height="926" data-path="images/cloud/apiplayground/theme-settings.png" />
          </div>
        </div>
      </Accordion>

      <Accordion title="Generation Settings">
        Set content generation, tone, verbosity, image type, language, and export format.

        <div className="guide-media">
          <p className="guide-media-label">Set tone, verbosity, media, language, and export format</p>

          <div className="guide-media-viewport">
            <img src="https://mintcdn.com/presenton-521d9e2f/at0fMZFzkP-vbjoy/images/cloud/apiplayground/generation-settings.png?fit=max&auto=format&n=at0fMZFzkP-vbjoy&q=85&s=2f66d0b6cfc62c67c61ae8c87938e683" alt="API Playground Generation Settings with the tone menu open" width="1920" height="926" data-path="images/cloud/apiplayground/generation-settings.png" />
          </div>
        </div>
      </Accordion>

      <Accordion title="Instruction">
        Choose an instruction preset or write custom instructions for the presentation.

        <div className="guide-media">
          <p className="guide-media-label">Add a preset or custom instruction</p>

          <div className="guide-media-viewport">
            <img src="https://mintcdn.com/presenton-521d9e2f/at0fMZFzkP-vbjoy/images/cloud/apiplayground/instruction-settings.png?fit=max&auto=format&n=at0fMZFzkP-vbjoy&q=85&s=af763e11f79ef3692da2d544ae095e80" alt="API Playground Instruction tab with custom presentation instructions" width="1920" height="926" data-path="images/cloud/apiplayground/instruction-settings.png" />
          </div>
        </div>
      </Accordion>

      <Accordion title="Included">
        Choose whether to include Markdown emphasis, a table of contents, a title slide, and user information.

        <div className="guide-media">
          <p className="guide-media-label">Choose the optional presentation sections</p>

          <div className="guide-media-viewport">
            <img src="https://mintcdn.com/presenton-521d9e2f/at0fMZFzkP-vbjoy/images/cloud/apiplayground/included-settings.png?fit=max&auto=format&n=at0fMZFzkP-vbjoy&q=85&s=1e32711ff96e3141846c2bcd1b8d4993" alt="API Playground Included tab with optional presentation sections" width="1920" height="926" data-path="images/cloud/apiplayground/included-settings.png" />
          </div>
        </div>
      </Accordion>
    </AccordionGroup>
  </Step>

  <Step title="Generate or get code">
    Select **Generate** to run the request and review the presentation in Presenton.

    Select **Get Code** when the configuration is ready to use in your application or automation. Test with **Generate** first when you want to confirm the output before integrating it.

    <div className="guide-media">
      <p className="guide-media-label">Follow the complete Playground workflow</p>

      <div className="guide-media-viewport">
        <img src="https://mintcdn.com/presenton-521d9e2f/at0fMZFzkP-vbjoy/images/cloud/apiplayground/apiplayground.gif?s=06b43ee0e469a13a8e92a31276483e9c" alt="Complete API Playground workflow from configuration to Generate and Get Code" width="1892" height="917" data-path="images/cloud/apiplayground/apiplayground.gif" />
      </div>
    </div>
  </Step>
</Steps>
