Skip to content

Styles, models and screenwriters

GET /styles {"presets": [{"key", "name", "prompt", "editable"}], "default_preset"}
GET /styles/{key}
POST /styles {"from_key": "<key>", "name": "...", "look": "..."} clone
POST /styles {"name": "Ink noir", "look": "$prompt. Black-and-white ink, $style", "motion": "Slow push-in."}
PUT /styles/{key} {"look": "..."}
DELETE /styles/{key}
PUT /films/{id}/image-preset {"image_preset": "<key>"} "" for default

look styles each still and motion each clip. $prompt is the scene’s image prompt (the look must have it), $style the story’s style line, $$ a dollar sign. Built-in presets are read-only: clone them. At most 10,000 characters each and 50 presets.

GET /models?kind=image&q=<words>&page=1

kind: text, image, video, tts or music. Each model is listed once, at the price this account pays, cheapest first:

  • credits: one run, or one second when "per": "second". Per-token text models give credits_in and credits_out per million tokens.
  • takes_image, takes_last_frame, takes_audio, makes_sound: what it can do. own_key: your own provider key pays.
  • defaults: what runs when you name none. A -auto model means the platform picks.

Pick models on project creation or /scenes:

"models": {"story": {"model": "..."}, "image": {"model": "..."}, "video": {}, "tts": {"model": "...", "voice": "..."}, "character": {}, "music": {}, "board": {}}

Add provider only for an own_key model. null or {} goes back to the platform’s pick. A pick is saved on the project and reused. Voices: GET /voices/defaults.

A screenwriter is the agent that plans a video: persona, tone and the passes it writes in.

GET /screenwriters
GET /screenwriters/{id}
POST /screenwriters {"from_id": "<id>", "name": "...", "persona": "..."} clone
POST /screenwriters {"name", "description", "persona", "stages": [...]}
PUT /screenwriters/{id} {"stages": [...]}
DELETE /screenwriters/{id}

A stage is one pass: {"role": "planner", "instructions": "...", "temperature": 0.8, "provider": "", "model": ""}, 1 to 10 stages. Each pass gets the brief and the earlier passes’ answers; the last one writes the story’s JSON.

Use one with agent_id on project creation, story/rewrite or a series. Tweak one for a single project with agent. Built-in screenwriters are read-only: clone them. At most 50 per account.