Endpoints · goth-cam
Scene turns
Direct an interactive scene with Goth-Cam, one frame-locked turn at a time.
POST/v1/cam/turns
A scene is a chain of clips with native sound. The first turn starts from a character image: she greets the viewer into the lens and says her opening line. Every later turn starts from the last frame of the previous clip, so the person, room, light and outfit continue. Send the next turn once the previous one has succeeded.
For the tightest continuity, extract the final frame of the previous turn’s
output.url losslessly (PNG) and send it as image_url. Adults only; see Content policy.Body parameters
modelstringrequiredMust be
goth-cam. Keys approved for goth-01 or goth-cam can call it.scene_idstringoptionalOmit to start a new scene (turn 0). Pass the
scene_id of one of your scenes to add its next turn.image_urlstringoptionalHTTPS URL of the first frame: the character for a new scene, the previous turn’s last frame after that. JPG, PNG or WEBP, up to 20 MB.
characterstringoptionalStart a new scene from a preset character instead of
image_url: whisper-pink, whisper-voice, livestream, lingerie-bed.directionstringoptionalWhat she does in this turn. Required after the first turn. Up to 600 characters.
linestringoptionalWhat she says to the viewer in this turn. Up to 200 characters.
resolutionstringoptional480p (default), 540p, 768p or 1080p.durationintegeroptionalSeconds, 5–10. Default
6.seedintegeroptionalOptional seed for a repeatable take.
Each turn is priced live like a Goth-01 image to video clip of the same resolution and length, charged when it is created and refunded in full if it fails.
Examples
curl https://api.goth.video/v1/cam/turns \
-H "Authorization: Bearer $GOTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "goth-cam",
"image_url": "https://example.com/character.jpg",
"line": "Hey you. I was hoping you would come by tonight."
}'Response
Returns 202 with a job of type: "cam.turn". Its input.scene_id and input.turn identify the scene and the turn number. A turn sent before the previous one succeeded returns 409.