GOTH LABS.
Endpoints · goth-1

Create a video

Render a world with Goth-1 — from a prompt (text to video) or from a first frame plus a prompt (image to video).

POST/v1/videos/generations

Send image_url to render from a first frame; leave it out to render from text alone. The request returns a job immediately with status 202.

Body parameters

modelstringrequired
Must be goth-1.
promptstringrequired
The scene: people, action, camera, light and sound. Up to 2,000 characters. With image_url, describe the motion.
image_urlstringoptional
HTTPS URL of the first frame: a JPG, PNG or WEBP image up to 20 MB on a public host. Switches the request to image to video; the clip follows the image’s aspect ratio.
last_image_urlstringoptional
Image to video only: HTTPS URL of a last frame (same rules as image_url). Goth-1 moves from the first frame to this one.
durationintegeroptional
Clip length in seconds, 3–15. Default 5.
resolutionstringoptional
480p, 540p, 768p or 1080p. Default 768p.
aspect_ratiostringoptional
Text to video only: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 or 9:21. Default 16:9. Not allowed with image_url.
seedintegeroptional
Fix the seed (0–2147483647) to reproduce a render. Omit or send -1 for a random seed.
prompt_expansionbooleanoptional
Let Goth-1 expand a short prompt into a fuller shot description. Default true.

Unknown parameters and out-of-range values are rejected with 400 invalid_parameter — nothing is charged. Media URLs must be public HTTPS links to the file itself; private, local and redirecting addresses are refused with 400 invalid_media.

Pricing

Each job is priced live from its resolution, duration and inputs and charged in credits (100 credits = $1) from the key owner’s balance when the job is created. The charge is returned as credits on the job. If the balance is too low the request fails with 402 insufficient_credits and nothing is created. A job that fails is refunded in full, once, and shows refunded: true.

Text to video

curl https://api.goth.video/v1/videos/generations \
  -H "Authorization: Bearer $GOTH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 7d1c4e2a-render-001" \
  -d '{
    "model": "goth-1",
    "prompt": "Candlelit bedroom, two adults, slow push-in, quiet breathing, rain outside",
    "duration": 10,
    "resolution": "768p",
    "aspect_ratio": "16:9"
  }'

Image to video

curl https://api.goth.video/v1/videos/generations \
  -H "Authorization: Bearer $GOTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "goth-1",
    "image_url": "https://example.com/first-frame.jpg",
    "prompt": "She walks toward camera down the red-lit corridor, heels on carpet",
    "duration": 5,
    "resolution": "768p",
    "seed": 42
  }'

Response

{
  "id": "job_5f0e2c1a-8b7d-4e43-9a51-2f6c0d9b1e77",
  "object": "job",
  "type": "video.generation",
  "model": "goth-1",
  "status": "queued",
  "created_at": "2026-12-01T12:00:00.000Z",
  "completed_at": null,
  "input": {
    "mode": "text-to-video",
    "prompt": "Candlelit bedroom, two adults, slow push-in, quiet breathing, rain outside",
    "duration": 10,
    "resolution": "768p",
    "aspect_ratio": "16:9",
    "prompt_expansion": true
  },
  "credits": 96,
  "refunded": false,
  "output": null,
  "error": null
}
Output is an MP4, delivered as output.url on the finished job. Download files you want to keep; stored outputs are not kept indefinitely.