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

# Overview

> Test and deploy production-ready AI models using Public Endpoints.

<div className="overview-page-wrapper" />

Runpod offers Public Endpoints for instant API access to pre-deployed AI models for image, video, audio, and text generation. No deployment or infrastructure required—just [create an API key](/get-started/api-keys) and make a request:

<CodeGroup>
  ```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
  import requests

  response = requests.post(
      "https://api.runpod.ai/v2/black-forest-labs-flux-1-schnell/runsync",
      headers={
          "Authorization": "Bearer YOUR_API_KEY", # Replace YOUR_API_KEY with your actual API key
          "Content-Type": "application/json"
      },
      json={
          "input": {
              "prompt": "A beautiful sunset over mountains", # Customize your prompt
              "width": 1024,
              "height": 1024
          }
      }
  )

  result = response.json()
  print(result["output"]["image_url"])
  ```

  ```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark"}}
  # Replace YOUR_API_KEY with your actual API key
  curl -X POST "https://api.runpod.ai/v2/black-forest-labs-flux-1-schnell/runsync" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "input": {
          "prompt": "A beautiful sunset over mountains",
          "width": 1024,
          "height": 1024
      }
      }'
  ```
</CodeGroup>

## Get started

<CardGroup cols={3}>
  <Card title="Quickstart" href="/public-endpoints/quickstart" icon="bolt" horizontal>
    Generate your first image in under 5 minutes.
  </Card>

  <Card title="Model reference" href="/public-endpoints/reference" icon="book" horizontal>
    Browse available models and their parameters.
  </Card>

  <Card title="Make API requests" href="/public-endpoints/requests" icon="code" horizontal>
    Use the playground and REST API.
  </Card>

  <Card title="Vercel AI SDK" href="/public-endpoints/ai-sdk" icon="js" horizontal>
    Integrate with JavaScript and TypeScript projects.
  </Card>

  <Card title="Build a text-to-video pipeline" href="/tutorials/public-endpoints/text-to-video-pipeline" icon="video" horizontal>
    Chain multiple endpoints to generate videos from text.
  </Card>
</CardGroup>

## How it works

When you call a Public Endpoint, Runpod routes your request to a pre-deployed model running on optimized GPU infrastructure. The model processes your input and returns the result.

Public Endpoints support two request modes:

* **Synchronous (`/runsync`)**: Wait for the result and receive it in the response. Best for quick generations.
* **Asynchronous (`/run`)**: Receive a job ID immediately and poll for results. Best for longer generations or batch processing.

For JavaScript and TypeScript projects, the [`@runpod/ai-sdk-provider`](/public-endpoints/ai-sdk) package integrates Public Endpoints with the Vercel AI SDK, providing a streamlined interface for text generation, streaming, and image generation.

## Available model types

Public Endpoints offer models across four categories:

| Type      | Example models                                                                                                                                                                                           | Use cases                                    |
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| **Image** | [Flux Dev](/public-endpoints/models/flux-dev), [Flux Schnell](/public-endpoints/models/flux-schnell), [Qwen Image](/public-endpoints/models/qwen-image), [Seedream](/public-endpoints/models/seedream-3) | Text-to-image generation, image editing      |
| **Video** | [WAN 2.5](/public-endpoints/models/wan-2-5), [Kling](/public-endpoints/models/kling-v2-1), [Seedance](/public-endpoints/models/seedance-1-pro), [SORA 2](/public-endpoints/models/sora-2)                | Image-to-video, text-to-video generation     |
| **Audio** | [Whisper V3](/public-endpoints/models/whisper-v3), [Minimax Speech](/public-endpoints/models/minimax-speech)                                                                                             | Speech-to-text transcription, text-to-speech |
| **Text**  | [Qwen3 32B](/public-endpoints/models/qwen3-32b), [IBM Granite](/public-endpoints/models/granite-4)                                                                                                       | Chat, code generation, text completion       |

For a complete list of models with endpoint URLs and parameters, see the [model reference](/public-endpoints/reference).

## Pricing

Public Endpoints use transparent, usage-based pricing:

| Model type          | Example                                               | Price                      |
| ------------------- | ----------------------------------------------------- | -------------------------- |
| Image generation    | [Flux Dev](/public-endpoints/models/flux-dev)         | \$0.02 per megapixel       |
| Image generation    | [Flux Schnell](/public-endpoints/models/flux-schnell) | \$0.0024 per megapixel     |
| Video generation    | [WAN 2.5](/public-endpoints/models/wan-2-5)           | \$0.50 per 5 seconds       |
| Audio transcription | [Whisper V3](/public-endpoints/models/whisper-v3)     | \$0.05 per 1000 characters |
| Text generation     | [Qwen3 32B](/public-endpoints/models/qwen3-32b)       | \$10.00 per 1M tokens      |

<Note>
  Pricing is calculated based on actual output. You will not be charged for failed generations.
</Note>

**Example cost calculations for image generation:**

* 512x512 image (0.26 MP) with [Flux Dev](/public-endpoints/models/flux-dev): \~\$0.005
* 1024x1024 image (1.05 MP) with [Flux Dev](/public-endpoints/models/flux-dev): \~\$0.021
* 1024x1024 image (1.05 MP) with [Flux Schnell](/public-endpoints/models/flux-schnell): \~\$0.0025

For complete pricing information, see the [model reference](/public-endpoints/reference).
