Command Palette

Search for a command to run...

YepAPI
OpenAIVideo Generation/v1/media/queue

Sora 2

AI video generation API powered by OpenAI's Sora 2. Generate videos with synced audio from text or images.

Generate richly detailed videos with synced audio from text prompts or images. Powered by OpenAI's Sora 2. Supports 720p resolution, 4-20 second durations, and portrait/landscape aspect ratios.

No credit card required. Takes 30 seconds.

2,400+

Developers

1.2M+

API calls served

100+

Endpoints

$0.01

Per call

Yep, that's it.

Try it live

Enter a prompt and generate a video with Sora 2.

POST/v1/media/queue

Drop image or click to upload

For image-to-video generation

Response

Sample output — run the API to generate your own

Pricing

Per-second: $0.20/sec (720p)

Endpoint

/v1/media/queue

Strengths

Text-to-video
Image-to-video
Synced audio
4-20s duration
720p
Fast generation

Quick start

Copy this snippet and start making calls with Sora 2.

// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "openai/sora-2",
    "prompt": "A cinematic tracking shot of a teal vintage coupe driving through a desert highway at golden hour, heat ripples visible on the asphalt, hard sun overhead casting long shadows",
    "options": {
      "aspectRatio": "16:9",
      "resolution": "1080p",
      "duration": "6"
    }
  }),
});
const { data } = await res.json();
const jobId = data.jobId;

// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }

Why use Sora 2 through YepAPI?

One API key for all models — no separate accounts
No monthly minimums — pay per call
Switch models with one line of code
Simple REST API — works from any language
Unified billing across all providers
No rate limits for most use cases

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

Generate richly detailed videos with synced audio from text prompts or images. Powered by OpenAI's Sora 2. Supports 720p resolution, 4-20 second durations, and portrait/landscape aspect ratios.

Pricing for Sora 2 through YepAPI is based on usage. No monthly minimums — you only pay for what you use.

Sign up for a free API key, then send requests to the /v1/media/queue endpoint.

Ready to use Sora 2?

$5 free credit on signup. No credit card required. Pay per call.

Explore more models