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

# Welcome to Loti Interchange

> License protected likenesses for generative AI with two API calls.

## Get started

Generating media featuring a protected likeness takes only two steps:

<Steps>
  <Step titleSize="h3" title="Before generation: authorize a prompt">
    Submit the prompt that your user would like to generate. Text and media input are supported. Loti will identify any protected likenesses, confirm if the prompt meets their generation rules, and if approved, return a price estimate for the generation.

    <Card icon="terminal" iconType="regular" horizontal href="/api-reference/interchange/authorize-a-prompt" title="POST /prompt">
      Click here for endpoint documentation.
    </Card>
  </Step>

  <Step titleSize="h3" title="After generation: validate generated media">
    Submit a piece of media that you generated based on an authorized prompt. Loti will confirm that the final output still meets the protected likenesses' rules, and if so, record a billing event.

    <Danger>
      Generated content should not be released to users until it has received final approval.
    </Danger>

    <Card icon="terminal" horizontal href="/api-reference/interchange/submit-generated-content" title="POST /generated-content">
      Click here for endpoint documentation.
    </Card>
  </Step>
</Steps>

## Need help?

<Card icon="square-question" horizontal href="mailto:sf-engineering@goloti.com" title="Talk to our engineering team">
  We're available to provide high-touch support as you adopt our API.
</Card>
