Agent Video: POST /agent/video

Turn a written shot into a short video with native audio. Budget $4.99 USDC on Base per render, then retrieve the result without another payment. The default target is eight seconds at 720p; inspect the actual clip before using it in an edit.

What it is for

Short-form video, b-roll, product shots, music-video visuals, social clips and ads. The audio is generated from the scene, so write the sound into the prompt: instruments, voices, weather, movement. A silent scene renders near-silent by design.

At a glance

EndpointPOST https://app.suedeai.ai/agent/video
Price$4.99, amount 4990000 USDC base units
Paymentx402 exact on eip155:8453 to 0x10FF767043A1723E0BB5B9207bC37D3442cC9E4F, or a Skyfire token
OutputA short clip with native audio; default target: 8 seconds at 720p
Paid response202 Accepted with jobId and pollUrl
PollGET https://app.suedeai.ai/agent/video/{jobId}, free
IdentifiersOpenAPI operationId, A2A skill and MCP tool: agent_video

Request body

FieldTypeRequiredDescription
promptstringYesNarrative or visual prompt that drives the video concept.
durationSecondsintegerNoRequested length in seconds. Default 8, minimum 3, maximum 15. The service maps it to a supported render length.
aspectRatiostringNo16:9 (landscape, default), 9:16 (portrait) or 1:1 (square).
asyncModebooleanNoDefault false. Switches asynchronous mode on, never off. Paid calls are already asynchronous.

Choose the frame before writing the prompt

Start with the editor’s cut, not adjectives. Write one sentence for each of four things: what the viewer sees first, what changes, where the camera ends, and what the viewer hears when the action happens. If the sentence needs “meanwhile” or “cut to,” split it into shots. Each separately generated shot is another paid render.

A landscape banner can use horizontal movement and empty space for a headline. Portrait clips have less room beside the subject, so use depth or vertical movement instead. For square placements, center the decisive action and test a square preview. An aspect-ratio request describes the intended frame, not a guarantee that every subject or overlay will fit.

Landscape: show how a pour-over starts

{
  "prompt": "Single locked wide shot across a cafe counter. A glass brewer sits on the right; leave the left third empty for a title. A hand tilts a kettle above the brewer, a thin stream touches the grounds, then the first drop lands in the glass. Quiet room tone, soft pouring, one clear drip. No speech or music.",
  "aspectRatio": "16:9",
  "durationSeconds": 8
}

Acceptance check: pause on the first drop. Are both the pour and its destination visible? Can an editor add a headline on the left without covering either? If a headline must be spelled exactly, add it in the editor rather than asking the model to paint the words into the scene.

Example: a vertical social clip

Get the 402 challenge first (amount 4990000, priceUsd $4.99), sign it as shown in the quickstart, then send:

curl -i -X POST https://app.suedeai.ai/agent/video \
  -H 'Content-Type: application/json' \
  -H "PAYMENT-SIGNATURE: $PAYMENT" \
  -H 'X-Idempotency-Key: vinyl-clip-0001' \
  -d '{
    "prompt": "Slow push-in on a spinning vinyl record, rain against the window, soft piano and the crackle of the needle",
    "aspectRatio": "9:16"
  }'

The prompt names its sounds (rain, piano, needle crackle) because the audio track is generated from what the scene describes.

Response to a paid call: 202 Accepted

The discovery document gives this example body:

{
  "jobId": "video-job-example",
  "status": "queued",
  "provider": "suede",
  "pollUrl": "https://app.suedeai.ai/agent/video/video-job-example"
}

With ?async=false the call blocks and answers 200 with the same body shape as the poll below, so one parser covers both paths. Renders take minutes and payment clients time out in about 30 seconds, so most callers should keep the default and poll.

Polling: GET /agent/video/{jobId}

Poll until status is completed, with videoUrl set, or failed. Both are final; queued and processing mean poll again.

FieldDescription
jobIdThe render's job identifier.
statusqueued, processing, completed or failed.
providerThe provider handling the render.
videoUrlThe generated video once complete; null until then.
videoIdThe Suede video record identifier, when available.
pageUrlThe Suede share page, when available.
pollUrlSet on the 202 accept; null on a poll response.

An unknown or expired jobId answers 200 with status failed, not 404. On 2026-10-11 that response also carried "error": "Generation failed. Please try again." and an etaSeconds field set to null.

Plan and review a single-shot product clip

A shot list for a full commercial is a poor brief for one short render. For a record shop teaser, choose one visible action and one sound cue: “Vertical close-up of a turntable in a quiet shop. A hand lowers the needle. Hold on the spinning label as a soft vinyl crackle begins.” That gives the editor something concrete to accept or reject.

  1. Before the call: choose the intended placement and aspect ratio. Decide whether the clip must loop, carry a caption or leave room for a price overlay. For a loop, brief continuous motion instead of a one-time action like the needle drop.
  2. While it renders: save the job ID and poll URL from the accepted response. A queued job is not a finished clip. Use its status URL to check progress rather than submitting the scene again.
  3. At review: watch once muted to judge framing and motion. Then listen without captions. Does the crackle begin with the needle, and is there room for the planned voiceover? Scrub the first and last frames if the placement requires a loop.

If the shot works but the caption covers the label, reposition the caption in the edit. If the needle never enters frame, rewrite that action as the subject of the shot before authorizing another render. Save the chosen clip and note which check failed on any rejected take.

Keep one authorization attached to one shot

  1. Save the exact request body. Create a fresh idempotency key for this shot and keep it with the body. The example key above is illustrative, not a key to share across customers or projects.
  2. Send the same JSON without a payment signature to receive the challenge. Compare its amount, token, network and recipient to the approved spend. Stop if any differ. A challenge is not a render.
  3. Use your payment client to authorize, then submit the same body with the key. Keep payment credentials out of logs. Save the accepted job ID and poll URL before doing other work. Only the creation request needs the payment header; never forward it when retrieving the media.
  4. If the connection drops after sending, first recover the saved job or original response. If a replay is necessary, use the same key and identical body within the service’s idempotency cache window. A fresh key, changed prompt or later replay is not a safe way to recover an existing charge.

The four JSON fields in the request table are the public controls. There is no published request field for a custom resolution, frame rate, fixed seed, subtitle file or separate soundtrack. A requested length of 15 seconds is valid input, not a promise of 15 seconds of footage. Plan a longer sequence as independently reviewed shots or extend it in an editor.

Collect the result without resubmitting the shot

Here is a Python 3 collector for a previously accepted job. Pass the saved absolute pollUrl as its only argument. It makes only free GET requests, waits between checks, honors numeric retry delays, and stops after at most 20 requests. A local stop is not a cancellation. Save the job and resume later instead of paying again.

import json, sys, time
from urllib.error import HTTPError, URLError
from urllib.parse import urlsplit
from urllib.request import urlopen

url = sys.argv[1]
u = urlsplit(url)
if (u.scheme, u.netloc) != ("https", "app.suedeai.ai") or not u.path.startswith("/agent/video/"):
    sys.exit("Expected the Suede video poll URL from the 202 response.")
for attempt in range(20):
    delay = min(5 * (attempt + 1), 30)
    try:
        with urlopen(url, timeout=15) as r:
            job = json.load(r)
    except HTTPError as e:
        if e.code != 429 and not 500 <= e.code <= 599:
            sys.exit(f"Poll HTTP {e.code}; inspect saved job. No new render.")
        hint = e.headers.get("Retry-After")
        if hint and (not hint.isdecimal() or int(hint) > 60):
            sys.exit(f"Resume after Retry-After: {hint}")
        delay = max(delay, int(hint or 0))
    except (URLError, TimeoutError):
        pass  # Retry only this GET.
    else:
        state = job.get("status")
        if state == "completed" and job.get("videoUrl"):
            print(job["videoUrl"])
            break
        if state not in ("queued", "processing"):
            sys.exit(f"Inspect job: {state!r}; no usable asset or job failed.")
    if attempt < 19:
        time.sleep(delay)
else:
    sys.exit("Polling paused. Keep the job ID and resume later.")

A 200 response only means the status lookup succeeded. A failed job, an unexpected state, malformed JSON or a completed job without media all require inspection, not another paid POST. Keep the last response and the job ID for troubleshooting. For a validation error on creation, check the exact field named in the response before making a corrected request.

Download the MP4, not the share page

Use videoUrl for the media itself. pageUrl, when present, is for a human to open in a browser. Saving that page as .mp4 gives an editor HTML rather than footage. Do not reconstruct either link from jobId or videoId.

Set VIDEO_URL to the completed job’s media URL. This example follows HTTPS redirects, records the final content type and saves a candidate download. Verify it before assigning an MP4 extension.

curl --fail --show-error --silent --location --proto '=https' --proto-redir '=https' \
  --max-time 120 --output take.download --write-out '%{content_type}\n' "$VIDEO_URL"
ffprobe -v error -show_entries format=format_name,duration:stream=codec_type,width,height \
  -of json take.download

Expect MP4 media (normally video/mp4), a decodable video stream and a plausible duration. If the server reports application/octet-stream, inspect the container rather than assuming it is broken. If it returns HTML, an error or a zero-byte file, stop. Compare frame dimensions with the placement and check for an audio stream if sound is part of the brief. Rename the verified file and store it with the prompt, job ID and review decision.

Review the deliverable, not just the render status

  • First and last frames: compare the opening with your thumbnail and the ending with the next shot. If a usable opening or hold exists, trim the clip instead of commissioning another one.
  • Movement and continuity: watch at normal speed, then scrub through hands, reflections, object edges and contact points. A pleasing still does not establish that the motion works.
  • Sound and captions: play the final edit muted. Is the point still clear? Caption speech and meaningful sound cues such as “[needle crackles]”; review timing and wording manually. If a visual action is essential but not explained aloud, supply a descriptive transcript or audio description appropriate to the placement.
  • Placement: preview in the actual player at phone size. Check that captions, controls and platform overlays do not cover the subject. Check for distracting flashes and sudden audio jumps. Do not publish automatically just because the job completed.

Keep a short review record: “Pass: first drip visible and audible. Edit: add captions. Hold: mobile title overlaps kettle.” A failed technical download calls for another retrieval of the existing media; a new creative take calls for a changed brief and a new spending decision.

Sources

  • app.suedeai.ai/.well-known/x402: description, price, payment requirement, input schema and example output (resource entry last updated 2026-08-30).
  • app.suedeai.ai/openapi.json: operations agent_video and agent_video_status.
  • Live requests on 2026-10-11: the unpaid 402 challenge and a poll for an unknown jobId.