Skip to main content
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 and make a request:
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"])

Get started

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 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:
TypeExample modelsUse cases
ImageFlux Dev, Flux Schnell, Qwen Image, SeedreamText-to-image generation, image editing
VideoWAN 2.5, Kling, Seedance, SORA 2Image-to-video, text-to-video generation
AudioWhisper V3, Minimax SpeechSpeech-to-text transcription, text-to-speech
TextQwen3 32B, IBM GraniteChat, code generation, text completion
For a complete list of models with endpoint URLs and parameters, see the model reference.

Pricing

Public Endpoints use transparent, usage-based pricing:
Model typeExamplePrice
Image generationFlux Dev$0.02 per megapixel
Image generationFlux Schnell$0.0024 per megapixel
Video generationWAN 2.5$0.50 per 5 seconds
Audio transcriptionWhisper V3$0.05 per 1000 characters
Text generationQwen3 32B$10.00 per 1M tokens
Pricing is calculated based on actual output. You will not be charged for failed generations.
Example cost calculations for image generation:
  • 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
For complete pricing information, see the model reference.