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:
For a complete list of models with endpoint URLs and parameters, see the model reference.
Pricing
Public Endpoints use transparent, usage-based pricing: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