40¢ for 4 seconds

Video generation API

Let your agent make the clip.

Request a short Sora 2 clip through StableStudio. Check the existing job until it finishes, then retrieve the video.

One TaskFuel account and prepaid balance. Connect your agent and it shows the price before it pays.

Works with

Video generation API: what your agent gets.

Currently available through StableStudio · Sora 2. Your AI picks the one that fits and checks the exact price before it pays.

  • Generate a video from text

    Describe a shot for Sora 2. Choose 4, 8 or 12 seconds and landscape or portrait at 720p. The provider returns a job to poll.

    Priced per request
  • Supply a reference image

    Optionally include an image URL with your prompt. The provider supports cropping the reference to the requested aspect ratio.

    Priced per request
  • Check a generation job

    Poll the returned job URL until it completes or fails. Starting another generation is a separate paid request.

    Free in the test run

Video generation, tested.

One paid call from our own test run: what went in, what it cost and what came back.

TaskFuel test run ·

Charged $0.40

Your agent asked

Make a 4-second video of a red paper rectangle sliding across a cream desk
Data from
StableStudio · Sora 2

What came back

Initial response
Pending job
Final status
Complete, with a video URL

The job completed and returned a video URL.

Try the API request Quote first, then run

1. Check the price

Use your TaskFuel API key as TASKFUEL_API_KEY in your terminal or server. Keep it out of browser code. This request checks the price without paying.

The prompt is shortened from the test above; the four-second, 720p settings match. Quote your exact prompt before paying.

curl --fail-with-body https://app.taskfuel.ai/v1/call \
  -H "Authorization: Bearer $TASKFUEL_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'TASKFUEL_REQUEST'
{
  "url": "https://stablestudio.dev/api/generate/sora-2/generate",
  "method": "POST",
  "body": {
    "prompt": "A red paper rectangle sliding across a cream desk.",
    "seconds": "4",
    "size": "1280x720"
  },
  "dryRun": true
}
TASKFUEL_REQUEST

2. Run the request

Review amount_usd in the quote. To pay and run, change dryRun to false and add maxAmountUsd with that approved amount inside the same JSON object. Keep the inputs unchanged; this limit applies to one call.

3. Read the result

The first response contains a pending job and pollUrl. Send that URL through TaskFuel’s /v1/call with method GET and no body. Check until complete or failed, then read result.videoUrl. Polls were free in this test; confirm the current price. Do not resubmit a pending generation.

Open the test video

Setup and API reference · Job polling and timeout recovery

Try it in your next task.

Sign in to TaskFuel and copy the connection prompt into your agent. Approve the connection, then ask for the work you need.

01

Name the task

Tell your agent what the output needs to contain.

02

See the price

Your agent shows the provider and price before spending.

03

Review the response

Check the output against your task. The call reports its cost and remaining balance.

When to use it.

Launch posts

Make one short shot.

Describe the subject and motion your post needs. Review the clip before publishing it with your launch copy.

Creative direction

Try a motion idea.

Use a short generation to test the shot. Your agent shows the price before you pay for another version.

Existing artwork

Start from a reference.

Supply an image you have permission to use and describe the motion. Check the output for changes to details that matter.

Providers for this task.

CapabilityProvidersReference
SoraStableStudio, BlockRunCompare providers · Endpoint data
VeoStableStudio, Otto AICompare providers · Endpoint data

Good Questions.

How does video generation work?

Your agent submits a prompt to StableStudio and receives a job ID and polling URL. It checks that job until the provider reports completion or failure. Submission alone does not mean the video is ready.

What does a video cost?

Our four-second Sora 2 video at 1280 × 720 cost $0.40 on 22 September 2026. Duration and settings change the price. Your agent shows the price for your own request before it pays.

Which formats can I request?

The checked Sora 2 endpoint accepts 4, 8 or 12 seconds, at 1280 × 720 landscape or 720 × 1280 portrait. It also accepts an optional reference image URL.

Do I need a separate video subscription?

No. Your agent pays from your TaskFuel balance, so there is nothing else to sign up for.

What if a video job is still pending?

Ask your agent to check the existing job URL. Submitting the same prompt again starts another paid generation. An accepted job can still fail later; keep the charge and final job status separate.

Can I publish the generated clip?

Check the provider terms and review the clip for your intended use. TaskFuel does not grant rights to reference images or third-party material in an output.

How do I let my agent make videos?

Sign in to TaskFuel, copy the connection prompt into your agent and approve it. Then describe the clip you want; the price appears before it runs.

Your agent can do things it couldn’t this morning.

$1 in free credit, no card required.

Start for Free