GOTH LABS.
Introduction

Goth API

Programmatic access to our models: Goth-1, the uncensored world model that renders private worlds from a sentence or a single frame, and Goth-ID, which puts a consenting identity into them.

API access is by application. Apply for access — we review every request and issue API keys after approval.

Base URL

All requests go to https://api.goth.video over HTTPS. Requests and responses are JSON.

How it works

Rendering a world takes a few minutes, so every generation is an asynchronous job. You create a job, then poll GET /v1/jobs/{id} until it finishes. Each job is priced live and charged in credits from your account balance when it is created; a job that fails is refunded in full.

EndpointModelWhat it does
POST /v1/videos/generationsgoth-1Render a world from text, or from a first frame plus text.
POST /v1/faceswapgoth-idPut a consenting identity into a video (internal testing).
GET /v1/jobs/{id}allCheck a job’s status and get its output.
GET /v1/modelsallList the models your key can use.

Quickstart

Once your application is approved and you have a key, render your first scene:

curl https://api.goth.video/v1/videos/generations \
  -H "Authorization: Bearer $GOTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "goth-1",
    "prompt": "Hotel suite after midnight, she turns from the window, slow push-in, rain on glass",
    "duration": 5,
    "resolution": "768p",
    "aspect_ratio": "9:16"
  }'

The response is a job with status queued and the credits it was charged. Continue with Retrieve a job.