NEWGPU owners: host free demos on your card and earn a bigger share of every paid job. See how →

For developers

A text-to-video API to replace the Sora API

OpenAI discontinued the Sora API on September 24, 2026. legit2compute renders text to video and image to video, with sound, on three plain calls: submit a job, poll it, download the mp4. $0.07 a second, no subscription.

Get an API keyPaste this into Claude Code, Cursor or any coding agentIt reads the agent quickstart, asks you for your key, and makes one test call.Samples and pricesTry it in the browser
The short answer. POST https://api.legit2compute.com/jobs with {"pipeline": "video_t2v", "inputData": {"prompt": "…"}} and your key, poll GET /jobs/<job_id>, then download the mp4. Clips are 5 to 15 seconds with sound, at up to 1280 × 704, for $0.07 a second ($0.35 for 5 seconds). Signing up with Discord, Google, GitHub or Twitch includes $1 of trial credit, enough for 2 five-second clips.

From the Sora API to this one

You used toHere
Create a video from a promptPOST /jobs with "pipeline": "video_t2v" and inputData.prompt
Start from a reference image"pipeline": "video_i2v" with the picture's URL as inputImage
Size and lengthwidth × height: 1280 × 704, 704 × 1280 or 960 × 960; seconds: 5, 10 or 15
Check progressGET /jobs/<job_id> until job.status is "completed" (the submit answer carries job.job_id)
Download the resultGET /jobs/<job_id>/download (redirects to the mp4)

Two examples

Text to video, curl

curl https://api.legit2compute.com/jobs -H "x-api-key: $L2C_API_KEY" -H "content-type: application/json" -d '{
  "pipeline": "video_t2v",
  "inputData": {
    "prompt": "A cook tosses noodles out of a blazing wok at a night market stall. Close handheld shot. Warm firelight. Sound of roaring flame and crowd chatter, no music.",
    "width": 704, "height": 1280, "seconds": 5
  }
}'

Image to video, Python

import os, time, requests

API = "https://api.legit2compute.com"
H = {"x-api-key": os.environ["L2C_API_KEY"]}

# Image to video: the picture is the first frame; describe only the motion.
job_id = requests.post(f"{API}/jobs", headers=H, json={
    "pipeline": "video_i2v",
    "inputImage": "https://example.com/product.jpg",
    "inputData": {"prompt": "The mug turns slowly as steam rises. Static camera. Quiet room tone.",
                  "width": 960, "height": 960, "seconds": 5},
}).json()["job"]["job_id"]

while True:
    status = requests.get(f"{API}/jobs/{job_id}", headers=H).json()["job"]["status"]
    if status in ("completed", "failed", "cancelled", "validation_failed"):
        break
    time.sleep(15)

if status == "completed":
    mp4 = requests.get(f"{API}/jobs/{job_id}/download", headers=H)  # follows the redirect to the file
    open("clip.mp4", "wb").write(mp4.content)

Every field is in the API reference; the agent skill teaches Claude Code and other agents to make video with your key.

Know before you switch

Short clips

5, 10 or 15 seconds, one continuous shot, up to 1280 × 704. No 1080p or 4K yet.

Pay per second

$0.07 a second in credits (1 credit = $0.01), reserved at submit and refunded on failure. No subscription or seat.

One key for everything

The same key makes images from $0.004, music, voiceovers and calls open chat models.

Questions

Is this OpenAI's Sora?

No. legit2compute is not affiliated with OpenAI and runs its own video generation. The calls are different too, so prompts may need retuning: write one continuous shot, in this order: what happens, the motion, the subject and setting, one camera move, the light, then the sound.

What does it cost?

$0.07 per second of video, $0.35 for a 5-second clip, the same for text to video and image to video. The price is reserved when you submit and refunded if the job ends without a result. Signing up with Discord, Google, GitHub or Twitch includes $1 of trial credit, enough for 2 five-second clips.

Does the video have sound?

Yes. Each clip is rendered with sound for the shot: ambience, effects, and speech for a line of dialogue written in quotes.

How long can a clip be, and how big?

Each clip is one continuous shot of 5, 10 or 15 seconds, at 1280 × 704, 704 × 1280 or 960 × 960. For longer videos, render several clips and join them.

How long does a render take?

Usually 2 to 10 minutes. Poll the job every 10 to 30 seconds.

Can my jobs stay off community machines?

Yes. Add "private": true and the job runs only on machines we own and operate, at twice the price.

What happened to the Sora API?

OpenAI closed the Sora app and website on April 26, 2026 and discontinued the Sora API on September 24, 2026.

Sora is a trademark of OpenAI. legit2compute is not affiliated with or endorsed by OpenAI.

Your first clips are on the trial credit.

Sign up with Discord, Google, GitHub or Twitch, copy your key, send the first job.