ShapelessAI Videos API
The Videos API from ShapelessAI — 1 operation(s) for videos.
The Videos API from ShapelessAI — 1 operation(s) for videos.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/shapelessai:shapelessai-videos-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Shapelessai Videos API
x-refined-note:
- x-authored-by differs across the merged source definitions and was not carried
- x-engine differs across the merged source definitions and was not carried
- x-evidence-tiers differs across the merged source definitions and was not carried
- x-generated differs across the merged source definitions and was not carried
- x-generated-from differs across the merged source definitions and was not carried
- x-generator differs across the merged source definitions and was not carried
- x-provenance differs across the merged source definitions and was not carried
- x-sources differs across the merged source definitions and was not carried
version: '1.0'
description: 'Operations tagged Videos across 2 of this provider''s published API definitions: shapelessai-openapi-generated.yml, shapelessai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://shapelessai.com
tags:
- name: Videos
paths:
/api/videos/{videoid}:
post:
operationId: post_api_videos_videoid
tags:
- Videos
summary: 'demo_page : a recorded product demo of a page'
x-source: https://shapelessai.com/docs/api
parameters:
- name: videoid
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
collapsed_from: 3 example path(s) differing only at videoId
security:
- bearer: []
/api/videos/generate:
post:
summary: 'Generate AI footage (tool generate_footage): {name, prompt, duration_seconds?…'
operationId: postVideosGenerate
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
properties:
name:
type: string
description: A 2-6 word filename for this clip, as you would describe it to a colleague - e.g. "rain on window neon". Becomes the file the user sees in their Assets.
prompt:
type: string
description: 'The shot as 1-3 sentences of flowing prose: subject, setting, light, and the ONE camera move. Say what the camera does, not what the story means.'
duration_seconds:
type: number
description: 4, 6, 8 (6 by default); anything else rounds up, and you are billed for the rounded length. You pay per second, and you will cut most of it.
minimum: 4
maximum: 8
aspect:
type: string
enum:
- '9:16'
- '16:9'
description: Shape of the generated frame. 9:16 by default.
resolution:
type: string
enum:
- 720p
- 1080p
description: 720p by default and right for b-roll under a cut. 1080p costs $0.05/s against $0.03/s - worth it only when the clip fills the frame and holds.
with_audio:
type: boolean
description: 'Generate the clip''s own sound too - $0.05/s at 720p against $0.03/s silent. Default false, because narration, music and sfx normally own the mix and a generated soundtrack fights them. Worth it when the clip sound IS the point: rain, a crowd, a machine, a diegetic moment that carries the shot. An unmuted clip is mixed into the master.'
budgetUsd:
type: number
description: The most this call may spend, in USD (default 2, max 10). Held while the tool runs, released after.
required:
- name
- prompt
x-tool: generate_footage
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
description: The input does not match the tool's schema; the message names the field.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: No credential, or not valid.
'402':
description: Not enough credit to hold budgetUsd, or the call costs more than budgetUsd.
content:
application/json:
schema:
$ref: '#/components/schemas/NoCredit'
'403':
description: The key is missing the "write" scope.
'404':
description: No such tool on this deployment.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: The tool refused this input; nothing was charged.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Over the key's rate limit (600 requests an hour).
'502':
description: The tool failed; nothing was charged.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey:
- write
- oauth:
- write
x-scope: write
x-status: live
tags:
- Videos
servers:
- url: https://shapelessai.com
/api/videos/edit:
post:
summary: 'Edit a video you uploaded (tool edit_footage): cut, reframe, cutout, captions…'
operationId: postVideosEdit
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
properties:
media_key:
type: string
description: The clip to edit, as a mediaKey from assets_list (GET /api/assets), an upload, or find_footage.
name:
type: string
description: A 2-6 word filename for the cut, e.g. "demo hero moments". The user sees it in Assets.
keep_text:
type: string
description: 'The moments to KEEP, one span per "|", as beats from probe_media''s transcript ("b1 | b4-b7 | b12") or as the take''s own words ("That''s exactly what I did ... make some money | I advise you to check it out"), joined in the order given. A quoted span runs from its first phrase to the end of its last ("..." between them); one phrase alone keeps just those words; it must open and close on a thought or a clause. Quote words as probe_media spells them; a phrase said twice takes #2 ("check it out#2"). The cut lands on the words, with a breath of air either side, never mid-word.'
keep_ranges:
type: string
description: 'The moments to KEEP, in seconds of the source, joined in the order given: "12.5-18.2, 41-55.5". A timecode ("1:05-1:12") works too. For footage with no speech; a take is cut with keep_text.'
remove_ranges:
type: string
description: The moments to DROP, same format; what remains is joined. Use instead of keep_ranges, never with it.
append_media_keys:
type: string
description: Other clips joined on AFTER this cut, in the order given, as a comma-separated list of mediaKeys. Each is appended whole - trim it in its own edit first if you only want part of it.
speed:
type: number
description: Play the cut faster or slower - 1.5 tightens a demo, 0.5 holds a detail. Audio keeps its pitch. 1 (unchanged) by default.
minimum: 0.25
maximum: 8
reframe:
type: string
enum:
- '9:16'
- '1:1'
- '16:9'
description: Re-crop to this shape. Leave unset to keep the source framing.
focus:
type: string
description: '"face" finds the person in every kept segment and frames on them, eyes on the upper third - what a talking head wants. Or where the subject is in the SOURCE frame, as "x,y" percentages: "30,50" keeps the left third of a screen recording in a 9:16 crop. Centre by default. Works with or without reframe.'
tighten:
type: boolean
description: 'Transcript-first cut: pauses over 0.5s close to 0.3s (0.45s at a sentence end), dead air before the first word and after the last goes, fillers ("um", "uh") are lifted out, and a sentence said twice keeps its last saying (the founder''s retake). Every other word stays. The first thing to do to any recorded take.'
punch_in:
type: boolean
description: Frame every other segment closer, each cut by its own amount (7 to 22%, never the same twice in a row), so each cut reads as a change of shot. With focus "face" the closer framing stays on the person. The jump-cut convention of every talking-head short.
cutout:
type: string
description: 'Cutout mode, the shape the best founder reels run in: the speaker is lifted off their background (a real matte, hair and all) and shrunk to a corner, so the product takes the frame while the take keeps playing. Beats, each "<window> anchor [height%]", one per semicolon: "@"paste the URL"..@"analyze" bottom-right; 12-38 bottom-center 45". Anchors: bottom-left, bottom-center, bottom-right, top-left, top-right, center; the height is a share of the frame, 50 by default. Outside the beats the take is full frame. Put an overlay layer in every beat - a screenshot, a card, the product - or the person is small in front of nothing. A whoosh lands where the mode changes when studio_sound or normalize_audio is on. The reels run three quarters of their length in it: hook and CTA full frame, the demo in cutout.'
cutout_backdrop:
type: string
description: 'What fills the frame behind the cutout: "blur" (the media overlay on screen, enlarged to cover the frame and blurred, so the product''s own colours bleed into the frame; the take itself when no media is on screen; the default) or a hex colour. Needs cutout. For a picture of your own there, use background instead.'
background:
type: string
description: 'A media key drawn behind the matted speaker in every cutout beat, instead of the blur: a brand backdrop, a product shot, a gradient, or a video that loops (a rendered motion background, a find_footage b-roll). Overlays still sit on top of it. Needs cutout; replaces cutout_backdrop.'
sfx:
type: string
description: 'Sounds you place, one per line or semicolon: "<window> <sound> [gain dB]", e.g. "@"the result" ding; @"but then" record scratch -3; 12.4 riser". The sound lands as the window opens. Name it by id or by a few words ("vinyl scratch", "whoosh deep"), or media:<mediaKey> for a sound in the library. A placed sound replaces an automatic one within 0.3 s; the automatic pops and whooshes stay everywhere else. Default gain -6 dB. A few per short land; a hit on every sentence is noise. Library ids: air-horn, among-us-role-reveal, anime-wow, applause, apple-pay, bell-ding, boing, bone-crack, bruh, camera-shutter, cash-register, censor-beep, crowd-gasp, deadpan-bruh, ding, discord-notification, drama-boom, dramatic-boomer, dramatic-sting, emotional-damage, error-buzzer, fah, glitch, illuminati-confirmed, keyboard-typing, loading-lag, mac-quack, mario-jump, metal-gear-alert, minecraft-hurt, mouse-click, nelly-ahh, oh-my-god-vine, omg-hell-nah, page-turn, pop, price-is-right-fail, record-scratch, riser, rizz, romance-meme, run-vine, sad-meow, sad-trombone, sad-violin, sanctuary-guardian-what, shocked, shutter-modern, shutter-old, skedaddle, snapchat-notification, spongebob-fail, sub-drop, swoosh-transition, ta-da, triggered, ui-switch, vine-boom, vinyl-scratch, whip, whoosh, whoosh-deep, whoosh-short, wilhelm-scream, windows-xp-error, yippee.'
music:
type: string
description: 'A bed under the take: "<mediaKey> [gain dB] [duck dB]", e.g. "music/lofi-bed.mp3 -18 12". The voice stays; the bed loops to the cut''s length, sits at the gain (-18 by default, under a voice) and is pulled down by the duck amount while the person speaks, back up in the gaps. The key is plan_music''s mediaKey or any audio in the library. Masters the cut''s sound like normalize_audio.'
overlays:
type: string
description: 'Pictures ON the cut, on the words or seconds named, one per line or semicolon: "<mediaKey> <window> [full|anchor] [width%]". full fills the frame (the demo_page clip or a screenshot behind a cutout speaker); an anchor (top, top-right, right, bottom-left, ...) places a white card in the safe area, 46% wide by default, popping in. A video key plays, an image is drawn. The window is the words it goes on (@"paste the URL"..@"analyze") or seconds of the CUT, after tighten and the ranges, so the picture lands on the noun. A video holds its last frame once it ends: give a clip a window its length, or a longer clip (demo_page: more steps, or "for 2s" holds); the result names a hold. Never fill a window with a still: end the cutout beat where the clip ends instead.'
pops:
type: string
description: 'The small things the reels pop beside the speaker ON the word, one per line or semicolon: "<what> <window> [anchor] [size%]". what: brand:nvidia (a company or product''s real mark, its own app tile - tiktok, instagram, youtube, linkedin, x, meta, openai, claude, claude-code, gemini, cursor, or any handle brand_mark returned; a domain like jev.ai reaches the long tail), wordmark:claude (the name written the brand''s way, on white paper, wider - for a brand the viewer must read, not just recognise), icon:rocket (lucide, a white glyph on a tile in the caption accent), emoji:🔥 or emoji:fire (animated; any other emoji draws as a still), "13,255 visits" (a few words on a dark pill, the last word in the caption accent, quoted), or a media key (a screenshot or logo on a white card). Anchor top by default; in cutout mode the free band is above the speaker, so top, top-left, top-right. One pop per product noun, on the word: @"TikTok". A named platform gets its mark: "TikTok, Reels and Shorts" is three marks in a row (brand:tiktok @"TikTok"..@"Shorts" top-left; brand:instagram @"Reels"..@"Shorts" top; brand:youtube @"Shorts" top-right). The CTA beat shows where to go: the domain in a pill ("shapelessai.com" @"check it out"..end top).'
card:
type: string
description: 'The hook card: "<4 to 8 words> <window>", e.g. "Get customers for your product 0-5" or "... @"That''s exactly"+4". The pops'' dark pill in the upper third, popping in, gone when the window closes. The reels pin one from the first half second, with an icon row above the words: add "| brand:meta + <logo mediaKey> = emoji:🚀" (the same whats as pops, a brand in its real colours, joined by + and =), or one mark alone, "| brand:meta", each on its tile, popping in one after the other.'
logo:
type: string
description: 'The brand lockup small in a corner the whole cut: "<mediaKey> <window> [anchor] [width%] [| Brand Name]" ("0-45" or @"ShapelessAI"..end), top-right and 14% of the frame wide by default, a margin off the edge, the name beside the mark when given (always give it). It fades in and out and steps aside on its own while a full picture, the hook card or a pop on the same corner is on screen. Use the exact logo asset from the brand kit; beside the hook words it goes in the card''s icon row.'
look:
type: string
enum:
- clean
- film
- noir
- warm
description: 'Grade the picture, a choice for flat footage or a brand, not a default: clean lifts contrast, colour and sharpness a touch; film is softer with a warm tint and grain; noir is high-contrast black and white; warm is saturated and sunny. Unset keeps the camera''s colour, which is right for most phone footage.'
studio_sound:
type: boolean
description: 'Studio sound for a recorded voice: rumble and room noise out, mud cut, presence lifted, sibilance tamed, then levelled to feed loudness. Use it on any take a person recorded; not on music or a produced mix.'
fit:
type: string
enum:
- cover
- contain
description: cover (default) crops to fill the new shape; contain letterboxes onto pad_color, which keeps a whole slide readable. Needs reframe.
pad_color:
type: string
description: 'The letterbox colour behind a ''contain'' reframe, as hex. Default #000000. Match it to the clip or the brand - black bars on a light screen recording read as a broken export. Needs reframe.'
captions:
type: string
enum:
- tiktok-pop
- hormozi-pop
- brand-block
- clean-line
- mini-doc
- libass-burn
- 'off'
description: 'Word-by-word captions over the cut, timed by forced alignment to what is actually said. Default libass-burn - the cheap tier, which ffmpeg burns in during the same pass, no browser. A cut with no speech in it is left alone whatever this says. Pass "off" to draw nothing: a music-only clip, footage that already carries subtitles, or a cut a project will caption itself. tiktok-pop, brand-block, clean-line and mini-doc are drawn by the browser: pick one when the look matters.'
caption_script:
type: string
description: 'What is said in the cut, when you know it: aligning against a known script beats transcribing. Omit to transcribe the clip itself. Needs captions.'
caption_accent:
type: string
description: 'Hex colour of the word being said in the captions - the karaoke highlight - and the cut''s one accent: the pills'' last word and the icon tiles wear it too. Match the brand; unset, the burned captions are plain white.'
names:
type: string
description: 'The brand, product and domain names, spelled the owner''s way, comma-separated: "ShapelessAI, shapelessai.com". A recogniser hears "shapeless AI"; the captions must not misspell the customer. Always pass them when a take names the product.'
caption_foreground:
type: string
description: Hex colour of the burned captions' other words. White by default.
effects:
type: string
description: 'Effects pinned to the person, one per line or semicolon: "<window> <lightning|sparks|glow> from <left|right|any> hand [index|palm|fingertips] [colour]", "<window> <kind> from face" or "<window> <kind> at x,y". The hand is found in every frame and the effect follows it, lightning shooting the way the finger points: @"watch this"+2 lightning from right hand; 4-6 sparks from any hand palm gold. left and right are the person''s own hands; any is the safe pick. Colour: a hex or blue, purple, red, gold, green, white. The window must be where the hand is actually in view (look at the filmstrip); the result says how many frames it was found in. A strike lands with a sound when studio_sound or normalize_audio is on.'
normalize_audio:
type: boolean
description: Re-level the cut to broadcast loudness, keeping what was said, without the studio_sound cleaning. For a mix that was already produced.
plan:
type: boolean
description: 'Resolve the whole call and render nothing: the paper edit comes back, every beat of the take kept or dropped, where each plays on the cut and what sits on it, with what an editor would send back (a bare beat, a picture that leaves before the thought ends or runs into the next one, the same picture twice). Plan with it until it reads right, then repeat the call without plan to render once.'
budgetUsd:
type: number
description: The most this call may spend, in USD (default 2, max 10). Held while the tool runs, released after.
required:
- media_key
- name
x-tool: edit_footage
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
description: The input does not match the tool's schema; the message names the field.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: No credential, or not valid.
'402':
description: Not enough credit to hold budgetUsd, or the call costs more than budgetUsd.
content:
application/json:
schema:
$ref: '#/components/schemas/NoCredit'
'403':
description: The key is missing the "write" scope.
'404':
description: No such tool on this deployment.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: The tool refused this input; nothing was charged.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Over the key's rate limit (600 requests an hour).
'502':
description: The tool failed; nothing was charged.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey:
- write
- oauth:
- write
x-scope: write
x-status: live
tags:
- Videos
servers:
- url: https://shapelessai.com
/api/videos/demo:
post:
summary: Record a product demo of a page (tool demo_page). Schema on GET /api/tools
operationId: postVideosDemo
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
properties:
url:
type: string
description: The absolute URL of the page to demo.
steps:
type: string
description: 'One step per line or semicolon: "type acme.com into the URL field; click Analyze; wait 2; hover the first result; scroll to Pricing". Add "for 2s" to hold a step longer.'
name:
type: string
description: A 2-6 word filename for the clip, e.g. "analyze flow demo".
viewport:
type: string
enum:
- mobile
- desktop
description: Which screen to demo on. mobile by default for a 9:16 clip (the page fills the reel), desktop otherwise or when the reel shows the desktop product.
aspect:
type: string
enum:
- '9:16'
- '1:1'
- '16:9'
description: The clip's shape. 9:16 by default so it fills a reel behind a cutout speaker.
zoom:
type: boolean
description: Ease the camera onto each element touched. On by default; off shows the whole page.
browser_bar:
type: boolean
description: Draw a browser bar with the address above the page. On by default.
budgetUsd:
type: number
description: The most this call may spend, in USD (default 2, max 10). Held while the tool runs, released after.
required:
- url
- steps
- name
x-tool: demo_page
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
description: The input does not match the tool's schema; the message names the field.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: No credential, or not valid.
'402':
description: Not enough credit to hold budgetUsd, or the call costs more than budgetUsd.
content:
application/json:
schema:
$ref: '#/components/schemas/NoCredit'
'403':
description: The key is missing the "write" scope.
'404':
description: No such tool on this deployment.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: The tool refused this input; nothing was charged.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Over the key's rate limit (600 requests an hour).
'502':
description: The tool failed; nothing was charged.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey:
- write
- oauth:
- write
x-scope: write
x-status: live
tags:
- Videos
servers:
- url: https://shapelessai.com
/api/videos/render:
post:
summary: 'PLANNED, answers 501 until it ships: Render a scripted video in one call.'
operationId: postVideosRender
requestBody:
required: true
content:
application/json:
schema:
type: object
description: 'Planned; the body it will take: {script, aspects?, voices?, music?, captions?} -> {mediaKeys[]}'
responses:
'200':
description: OK
'501':
description: 'Not live yet: the body says what it will be and where to ask to be told.'
content:
application/json:
schema:
$ref: '#/components/schemas/NotLive'
security: []
x-scope: none
x-status: planned
tags:
- Videos
servers:
- url: https://shapelessai.com
/api/videos/edit-long:
post:
summary: 'PLANNED, answers 501 until it ships: Edit a full-length video.'
operationId: postVideosEditLong
requestBody:
required: true
content:
application/json:
schema:
type: object
description: 'Planned; the body it will take: {mediaKey, brief?, chapters?, shorts?} -> {mediaKey, chapters[], shorts[]}'
responses:
'200':
description: OK
'501':
description: 'Not live yet: the body says what it will be and where to ask to be told.'
content:
application/json:
schema:
$ref: '#/components/schemas/NotLive'
security: []
x-scope: none
x-status: planned
tags:
- Videos
servers:
- url: https://shapelessai.com
components:
schemas:
Upgrade:
type: object
description: Links a person clicks to pay. Every 402 carries one.
properties:
pricing:
type: string
format: uri
checkout:
type: array
items:
type: object
properties:
tier:
type: string
name:
type: string
priceUsd:
type: number
monthlyCreditUsd:
type: number
url:
type: string
format: uri
required:
- tier
- name
- priceUsd
- monthlyCreditUsd
- url
required:
- pricing
- checkout
ToolResult:
type: object
properties:
tool:
type: string
output:
description: The tool's own result; media it made is named by mediaKey.
media:
type: array
items:
type: object
properties:
key:
type: string
url:
type: string
format: uri
description: Every media key the output names, with the URL that streams it (read scope). Put a key on a post's mediaKeys.
chargedUsd:
type: number
required:
- tool
- output
- media
- chargedUsd
NoCredit:
type: object
description: 'Out of credit. Hand upgrade.pricing (or one checkout url) to the human: one click signs in and pays.'
properties:
error:
type: string
code:
type: string
upgrade:
$ref: '#/components/schemas/Upgrade'
required:
- error
- upgrade
NotLive:
type: object
description: A planned capability's answer until it ships.
properties:
error:
type: string
code:
type: string
enum:
- not_live
capability:
type: string
status:
type: string
enum:
- planned
what:
type: string
sketch:
type:
- string
- 'null'
description: The body it will take and what it answers.
want:
type: string
description: POST here to be told when it ships.
docs:
type: string
format: uri
ask:
type: string
description: What to ask the human before calling want.
required:
- error
- code
- capability
- status
- want
- docs
Error:
type: object
properties:
error:
type: string
required:
- error
securitySchemes:
bearer:
type: http
scheme: bearer
apiKey:
type: http
scheme: bearer
description: slk_... key; scopes read, write, publish.
oauth:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://shapelessai.com/api/auth/mcp/authorize
tokenUrl: https://shapelessai.com/api/auth/mcp/token
scopes:
read: Read anything the account holds.
write: 'Create and edit: jobs, drafts, agents, Brand Memory.'
publish: Anything that goes out to a platform, or spends.
wiki: Write to the wiki at /vizipedia as this account, and nothing else. A key with `write` covers it.
x-refined-from:
- shapelessai-openapi-generated.yml
- shapelessai-openapi.json