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

Images & video API

Images and video, one API key.

Text to image, image editing, text to video, image to video, and motion video: your character copies the moves in a video. Submit a prompt, poll, download the file. Priced per result: $0.004 an image, $0.35 for a 5-second video with sound. No subscription, no GPU to rent.

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.Try it free in chatDocs

Sign up with Discord, Google, GitHub or Twitch for $1 of trial credit: enough for 250 images or 2 video clips. The same key calls the chat models, music and voice.

Launch party: +200% credits on every pack, while the first 1,000,000 credits last (998,250 left). Bonus credits are valid for 12 months. Ends November 27. Terms

Prompt: “a red fox trotting through fresh snow in a pine forest at golden hour, breath visible in the cold air, cinematic tracking shot” · unedited output · $0.35

What it makes

Six kinds of output, priced by what you ask for

🖼️ Image from text
$0.004
per image

1024 × 1024 PNG by default; larger images by the megapixel. The slower high-detail model is $0.016.

✏️ Image edit
$0.025
per edit

Send a picture and say what to change.

🎞️ Video from text
$0.07
per second

A 5-second clip at 1280 × 704 with sound is $0.35.

🎬 Video from an image
$0.07
per second

Send a still and it moves: a product shot, a portrait, a scene.

🎤 Lip-sync video
$0.025
per second

Send a character and a song (or a voiceover): it sings or talks, for as long as the audio runs. 480p; a 3-minute song is $4.50.

🕺 Motion video
$0.03
per second

Send a character and a video of someone moving: your character does the same moves, with the video's sound. 480p, up to 20 seconds a job; a 10-second dance is $0.30.

Also on the key: a two-minute song $0.03, a voiceover $0.10 per 1,000 characters, a sound effect from $0.005, and open chat models by the token. Credits at face value: 1 credit = 1¢.

Real output

Made with the API, first try

A red fox sitting in snow, generated from a text prompt
Image · $0.004
“a red fox sitting in fresh snow at sunrise, photo”
Video · $0.35 · 5 seconds with sound
“a red fox trotting through fresh snow in a pine forest at golden hour, breath visible in the cold air, cinematic tracking shot”

Three calls

Submit, poll, download

# 1. submit
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 red fox trotting through fresh snow"}}'

# 2. poll until "status": "completed"
curl https://api.legit2compute.com/jobs/<job_id> -H "x-api-key: $L2C_API_KEY"

# 3. download (it redirects to the file, hence -L)
curl -L -o fox.mp4 https://api.legit2compute.com/jobs/<job_id>/download -H "x-api-key: $L2C_API_KEY"

Good to know

  • Pipelines: image_generate, image_edit, video_t2v, video_i2v. Each takes a prompt, with optional negative and seed; new images and video take width and height, video takes seconds. An edit or an image to video sends its picture as inputImage (a URL) beside inputData.
  • Motion video: video_motion takes the character picture as input_image, the video to copy as input_video (https links, or files uploaded first) and seconds to render, up to 20. The look and the background come from the picture, not the video; the video's sound is kept.
  • Billing: the price is reserved when you submit and refunded if the job ends without a result.
  • Private processing: add "private": true and the job runs only on machines we own and operate, at twice the price.
  • Agents: the agent skill teaches Claude Code, Hermes Agent or OpenClaw to make images and video with your key.

Your first picture is three calls away.

Sign up with Discord, Google, GitHub or Twitch, copy your key, run the three calls above. Or just ask for one in the chat.