Get started
Quickstart
Generate your first image in under 5 minutes.
Model reference
Browse available models and their parameters.
Make API requests
Use the playground and REST API.
Vercel AI SDK
Integrate with JavaScript and TypeScript projects.
Build a text-to-video pipeline
Chain multiple endpoints to generate videos from text.
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.
@runpod/ai-sdk-provider 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, Flux Schnell, Qwen Image, Seedream | Text-to-image generation, image editing |
| Video | WAN 2.5, Kling, Seedance, SORA 2 | Image-to-video, text-to-video generation |
| Audio | Whisper V3, Minimax Speech | Speech-to-text transcription, text-to-speech |
| Text | Qwen3 32B, IBM Granite | Chat, code generation, text completion |
Pricing
Public Endpoints use transparent, usage-based pricing:| Model type | Example | Price |
|---|---|---|
| Image generation | Flux Dev | $0.02 per megapixel |
| Image generation | Flux Schnell | $0.0024 per megapixel |
| Video generation | WAN 2.5 | $0.50 per 5 seconds |
| Audio transcription | Whisper V3 | $0.05 per 1000 characters |
| Text generation | Qwen3 32B | $10.00 per 1M tokens |
Pricing is calculated based on actual output. You will not be charged for failed generations.
- 512x512 image (0.26 MP) with Flux Dev: ~$0.005
- 1024x1024 image (1.05 MP) with Flux Dev: ~$0.021
- 1024x1024 image (1.05 MP) with Flux Schnell: ~$0.0025