mocop
Browse · Docs · Guide · Analyze

GhostShorts API

API by GhostShorts · rest

Create GhostShorts videos from scripts, automation tools and AI agents. API keys use your plan's credits; there is no separate API tier. Videos are asynchronous: POST /v1/videos answers 202 with a video id; poll GET /v1/videos/{id} (every ~20s) or pass webhookUrl. Webhooks: POST to your https webhookUrl with JSON { id, type: "video.completed" | "video.failed", createdAt, data: <Video> } and headers X-GhostShorts-Event and X-GhostShorts-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw request body>">. The HMAC key is webhooks.signingSecret from GET /v1/me with the whsec_ prefix removed. Reject a delivery whose t is more than 5 minutes old. Deliveries time out after 10s and are retried 3 times (after 10s, 60s and 300s); redirects are not followed; answer 2xx to acknowledge. Plain-text guides for agents (no key): https://api.ghostshorts.com/v1/llms.txt (the whole API) and https://api.ghostshorts.com/v1/templates/{id}.txt (one template: inputs, a full example, credits,…

Endpoint: https://api.ghostshorts.com/

Verification: observed. Source: crawl.

Capabilities (16)

  • Public download link (no auth). 302 to a fresh signed URL of the MP4. Valid 7…
  • Estimate the credits a video would cost. Free; charges nothing.
  • Plain-text guide to the whole API for AI agents (auth flow limits webhooks …
  • Account plan entitlement usage and limits for this API key
  • This document. No API key needed.
  • Voices background videos music and caption presets to choose from. No API…
  • Public (no auth): the silent render schema the fake_text_message preview page…
  • FREE (0 credits). reddit_story: a ~10 second narration teaser.…
  • FREE: turn an article URL or text into a script or a topic into a quiz pack.…
  • Templates each with its input JSON Schema and defaults. No API key needed.
  • Plain-text guide to one template for AI agents: inputs defaults a full…
  • Videos created through the API newest first
  • Create a video. Answers 202 at once; the video is made asynchronously.
  • Create 1 to 10 videos at once all or nothing at the gates.
  • Status progress download link and error of one video
  • Cancel a video that has not started yet (status queued). Best effort.
About · Contact · Privacy