Get your API key

Shorts API

Order vertical Shorts (9:16) in GoMotion’s ready-made niches — Reddit stories, quizzes, AI stories, fake text chats, clips and more — from your code or from an AI agent. Same niches, options, prices and results as the web’s Short form.

Endpoint
https://gomotionai.com/v1/shorts
Keys
Your usual GoMotion API key (videos:read / videos:write) or the MCP connection
Credits
The Shorts credits pot (GET /v1/credits → shorts): held when you order, charged when the Short is done, returned if it fails or you cancel
Plans
Long form, Shorts and Mix plans
Niches now
27 open (the list is live: GET /v1/shorts/niches)

Quickstart

curl, step by step:

# 1. the niches you can order now
curl -sS https://gomotionai.com/v1/shorts/niches -H "Authorization: Bearer $GOMOTION_API_KEY"
# 2. one niche: its options, lengths, voices, prices
curl -sS https://gomotionai.com/v1/shorts/niches/reddit-story -H "Authorization: Bearer $GOMOTION_API_KEY"
# 3. the price (free)
curl -sS -X POST https://gomotionai.com/v1/shorts/quote -H "Authorization: Bearer $GOMOTION_API_KEY" \
  -H "Content-Type: application/json" -d '{"niche": "reddit-story", "options": {"story_prompt": "a cat who runs a bakery"}, "length_seconds": 60}'
# 4. order it (Shorts credits are held now, charged when it is done, returned if it fails)
SHORT=$(curl -sS -X POST https://gomotionai.com/v1/shorts -H "Authorization: Bearer $GOMOTION_API_KEY" \
  -H "Idempotency-Key: order-0001" -H "Content-Type: application/json" \
  -d '{"niche": "reddit-story", "options": {"story_prompt": "a cat who runs a bakery"}, "length_seconds": 60, "max_cost_credits": 15}')
ID=$(echo "$SHORT" | jq -r .id)
# 5. poll until succeeded (5-60 min), then download
until [ "$(curl -sS https://gomotionai.com/v1/shorts/$ID -H "Authorization: Bearer $GOMOTION_API_KEY" | tee /tmp/s.json | jq -r .status)" != running ] && [ "$(jq -r .status /tmp/s.json)" != queued ]; do sleep 60; done
curl -sSL -o short.mp4 "$(jq -r '.files[0].download_url' /tmp/s.json)"

The same flow in Python (standard library) and Node 18+; these exact files run in our test suite:

"""GoMotion Shorts API quickstart (Python 3, standard library only): price a Reddit-story Short, order it, wait, download.
    GOMOTION_API_KEY=gmk_live_... python3 shorts_quickstart.py"""
import json, os, time, urllib.request

BASE = os.environ.get("GOMOTION_API_BASE", "https://gomotionai.com")
KEY = os.environ["GOMOTION_API_KEY"]


def api(method, path, body=None, headers=None):
    req = urllib.request.Request(BASE + path, method=method, data=json.dumps(body).encode() if body is not None else None,
                                 headers={"Authorization": "Bearer " + KEY, "Content-Type": "application/json", **(headers or {})})
    with urllib.request.urlopen(req, timeout=60) as r:
        return json.load(r)


order = {"niche": "reddit-story", "options": {"story_prompt": "a cat who secretly runs the bakery downstairs"},
         "length_seconds": 60}
quote = api("POST", "/v1/shorts/quote", order)
print("price:", quote["credits"], "Shorts credits")
short = api("POST", "/v1/shorts", dict(order, max_cost_credits=quote["credits"]),
            {"Idempotency-Key": "quickstart-%d" % int(time.time())})
print("short", short["id"], short["status"], flush=True)
while short["status"] in ("queued", "running"):
    time.sleep(float(os.environ.get("POLL_S", "60")))
    short = api("GET", "/v1/shorts/" + short["id"])
    print(short["status"], short["progress"]["percent"], "%", flush=True)
if short["status"] != "succeeded":
    raise SystemExit("not finished: %s" % short["error"])
urllib.request.urlretrieve(short["files"][0]["download_url"], "short.mp4")
print("saved short.mp4; edit it:", short["editor_url"])
// GoMotion Shorts API quickstart (Node 18+): price a Reddit-story Short, order it, wait, download.
//   GOMOTION_API_KEY=gmk_live_... node shorts_quickstart.mjs
import { writeFile } from "node:fs/promises";
const BASE = process.env.GOMOTION_API_BASE || "https://gomotionai.com";
const api = async (method, path, body, headers = {}) => {
  const r = await fetch(BASE + path, { method, headers: { Authorization: `Bearer ${process.env.GOMOTION_API_KEY}`,
    "Content-Type": "application/json", ...headers }, body: body ? JSON.stringify(body) : undefined });
  if (!r.ok) throw new Error(`${r.status} ${await r.text()}`);
  return r.json();
};
const order = { niche: "reddit-story", options: { story_prompt: "a cat who secretly runs the bakery downstairs" }, length_seconds: 60 };
const quote = await api("POST", "/v1/shorts/quote", order);
console.log("price:", quote.credits, "Shorts credits");
let short = await api("POST", "/v1/shorts", { ...order, max_cost_credits: quote.credits }, { "Idempotency-Key": `quickstart-${Date.now()}` });
console.log("short", short.id, short.status);
while (["queued", "running"].includes(short.status)) {
  await new Promise((r) => setTimeout(r, Number(process.env.POLL_S || 60) * 1000));
  short = await api("GET", `/v1/shorts/${short.id}`);
  console.log(short.status, short.progress.percent, "%");
}
if (short.status !== "succeeded") throw new Error(`not finished: ${short.error}`);
await writeFile("short.mp4", Buffer.from(await (await fetch(short.files[0].download_url)).arrayBuffer()));
console.log("saved short.mp4; edit it:", short.editor_url);

Niche options

GET /v1/shorts/niches/{slug} describes every option of a niche, generated from the niche itself: key, type (string, text, enum, enum_list, boolean, number, range, color, url, upload, voice, language, music, background, caption_style, ideas, list), label, default, choices (with seconds on length choices and sets when a choice is a preset that also sets other options), limits, and show_if (the option only counts when other options have those values; operators $ne, $in, $truthy). simple: true marks the main options (the web’s quick form). Send only what you need in options; unknown keys or values are refused with 422 invalid_options and an errors map, before anything is charged.

Shortcuts: length_seconds (the nearest length choice), voice, language (the main voice / language option) and characters. Empty text fields (story, script, questions, idea) are written by the niche’s AI, exactly as the web’s Generate does.

Voices & languages

Shorts use high-quality voices only. GET /v1/shorts/voices?language=en&niche=reddit-story lists the niche’s own narrators, GoMotion’s high-quality catalogue and your own cloned voices; pass an id as voice, or auto for the niche’s narrator. Standard voices are refused. GET /v1/shorts/languages?niche=… gives each language option’s codes.

Characters

Niches that take characters (characters.supported) write the story around them and keep their look in every still and clip. Create one from an image (see uploads), then order with "characters": ["<id>"] (main character first, up to 4, {"id", "role"} to give a role). GET /v1/shorts/characters also lists GoMotion’s ready characters (ready: true). Photo niches (characters.photo_options) take an image file in that option instead.

UP=$(curl -sS -X POST https://gomotionai.com/v1/shorts/uploads -H "Authorization: Bearer $GOMOTION_API_KEY" \
  -H "Content-Type: application/json" -d '{"kind": "image", "filename": "hero.png", "size": '$(stat -c %s hero.png)'}')
curl -sS -X PUT --upload-file hero.png "$(echo "$UP" | jq -r .put_url)"
FILE=$(curl -sS -X POST https://gomotionai.com/v1/shorts/uploads/$(echo "$UP" | jq -r .id)/complete \
  -H "Authorization: Bearer $GOMOTION_API_KEY" | jq -r .file)
curl -sS -X POST https://gomotionai.com/v1/shorts/characters -H "Authorization: Bearer $GOMOTION_API_KEY" \
  -H "Content-Type: application/json" -d '{"name": "Toasty", "image": "'$FILE'", "description": "a toast slice with a face"}'

Uploads

Images, videos and audio for options that take a file: POST /v1/shorts/uploads {kind, filename, size} returns a signed put_url; PUT the bytes there, then POST /v1/shorts/uploads/{id}/complete returns the file value to use (image ≤ 25 MB, video ≤ 600 MB, audio ≤ 100 MB).

Results, links, editor

GET /v1/shorts/{id}: status (queued, running, succeeded, failed, cancelled, expired), progress and stages while it works; when it succeeds, files[] with download_url and thumbnail_url: signed links that need no key and work for 1 hour (GET the Short again for fresh ones; files are kept 48 h, so download them). editor_url opens the Short in the GoMotion editor and job_url its page in the app (the account’s web login). A failed Short has one plain error line and its credits back. POST /v1/shorts/{id}/cancel cancels a queued Short at once; a running Short stops at its next step, usually within seconds (the answer may still read running), then reads cancelled with its credits back.

Webhooks

Subscribe a webhook to short.succeeded, short.failed and short.cancelled (same signing, retries and dedupe as video events); data.object is the Short as GET /v1/shorts/{id} returns it.

Limits & errors

Per account: Shorts in progress 3 / 5 / 10 (by plan size), Shorts per day 150 / 400 / 1,500 (per key 100 / 300 / 1,000); a key’s daily credit cap counts Shorts credits too. Need more? support@gomotionai.com.

HTTPcodeWhat to do
402insufficient_shorts_creditsBuy Shorts credits (buy_url); nothing was charged
402over_max_costThe price is above max_cost_credits
410niche_closedThe niche is coming soon: pick another one
422invalid_optionsFix the options named in errors
422not_sellableSomething required is missing (the quote’s missing)
429shorts_limitWait for a Short to finish (Retry-After)
403not_yoursAn id or file of another account
503shorts_unavailable / api_pausedRetry later; nothing was charged

AI agents (MCP)

The GoMotion MCP server has the Shorts tools: list_short_niches, get_short_niche, estimate_short, create_short, get_short, list_shorts, cancel_short, list_short_voices, list_short_languages, list_short_characters, create_short_character, delete_short_character, create_short_upload + complete_short_upload (and upload_short_file in the local package), a docs resource per niche (gomotion://shorts/niches/{slug}) and the prompt make_short. Ask your agent: “make me a 60-second Reddit story Short about a cat who runs a bakery, tell me the price first”.

All niches

NicheNameWhat it makesLengthsOptions
ai-storyAI StoryNarrated story with AI scenes30s, 35s, 45s, 60s, 90s, 120s, 180s, 300svoice lang characters
argument-conversationArgument ConversationTwo characters, one debate, voices and captions over gameplay.45s, 60s, 75s, 90s, 120s, 150s, 180svoice lang
auto-clipperAuto ClipperLong video in, viral Shorts outfrom content
ball-escape-ringBall Escape RingThe ball has 60 seconds to escapefrom content
clipsClipsYour clip with a title above it, 9:16.from contentlang
cz-3d-cartoon-shorts3D Cartoon ShortsFunny 3D characters act out your story45s, 60s, 75svoice lang
cz-3d-informational3D InformationalHow things work, in 3D cutaways20s, 30s, 45svoice
cz-low-poly-shortsLow Poly Shorts“Would you survive…?” in a retro low-poly look20s, 30s, 45svoice lang
cz-roblox-story-shortsRoblox Story ShortsOne rule, told as a blocky 3D story20s, 30s, 45svoice
faith-miracleFaith MiracleTalking fruit parables people share30s, 45s, 60s, 90s, 120s, 180s, 300s, 600svoice lang characters
meme-clipsMeme ClipsReaction clip + your captionfrom contentlang
objects-explainObjects ExplainTalking objects, one fact each15s, 30s, 45s, 60s, 90s, 120svoice lang characters
questions-quizQuiz QuestionsTiered answer list, countdown timer, narrated questions over gameplay.from contentvoice lang
reddit-storyReddit StoryPost card, Reddit narrator, one-word captions, bright gameplay.30s, 45s, 60s, 90s, 120s, 180svoice lang
roblox-rantRoblox RantViral rant + obby gameplay15s, 30s, 45s, 60s, 90s, 120s, 180svoice lang
room-transformationRoom TransformationRoom makeovers and epoxy floors, built in timelapse.lang
skeleton-aiSkeleton AIOne recurring skeleton, a new episode every day30s, 45s, 60s, 90s, 120s, 180s, 300s, 600svoice lang characters
split-screenSplit ScreenYour clip on top, retention gameplay below, word-by-word captionsfrom content
stickman-historyStickman HistoryInside history, one scene at a time35s, 60s, 90s, 120s, 180s, 300s, 600svoice lang
text-videoFake Text MessagesPhone chat, bubble by bubble, two voices, gameplay background.30s, 60s, 120s, 180s, 300svoice lang
top-5Top 5Your clips, ranked #5 to #1from contentvoice lang
ts-animals-3d3D AnimalsCat soap operas, rags to riches, karma30s, 35s, 48s, 60s, 90s, 120slang
ts-claymation-hood-parodyClaymation Hood ParodyHood parody series, vinyl toy or plasticine25s, 35s, 60s, 90slang
ts-football-animeFootball AnimeReal matches, anime arcs, posted the same night30s, 45s, 60s, 90slang
ts-horror-choose-companionHorror POV: Choose your companionInteractive POV horror · comment 1 or 260s, 90s, 105s, 120s, 180svoice lang
ts-human-pixar3D HumansPixar dramas with price tags30s, 48s, 54s, 60s, 90s, 120slang
twitter-threadTwitter ThreadX post cards over gameplay, read aloud.from contentvoice lang

Endpoints

PathWhatScope
GET/v1/shorts/nichesShorts niches you can order nowvideos:read
GET/v1/shorts/niches/{id}A niche: every option, lengths, voices, languages, characters, pricesvideos:read
POST/v1/shorts/quotePrice of a Short (free)videos:read
POST/v1/shortsCreate a Short (charges the Shorts credits pot)videos:write
GET/v1/shortsList Shorts (newest first)videos:read
GET/v1/shorts/{id}Get a Short (status, stages, files, links)videos:read
POST/v1/shorts/{id}/cancelCancel a Short (credits come back as in the web)videos:write
GET/v1/shorts/voicesHigh-quality voices for Shortsvideos:read
GET/v1/shorts/languagesLanguages (and a niche's language codes)videos:read
GET/v1/shorts/charactersYour characters and the ready onesvideos:read
POST/v1/shorts/charactersCreate a character (free)videos:write
DELETE/v1/shorts/characters/{id}Delete one of your charactersvideos:write
POST/v1/shorts/uploadsUpload a file for a Short (signed PUT)videos:write
POST/v1/shorts/uploads/{id}/completeHand the uploaded file to GoMotionvideos:write
GET/v1/shorts/files/{ticket}A Short's file (the signed download_url / thumbnail_url / light_url link)None

openapi.json (API 1.3.0).