Shot director for photo tours

On this page

What it does #

Agent step text Sync Advanced: built for a specific recipe

Send a manifest — the music's cut candidates, the photos' facts and the style's budgets — with your vocabulary and up to 40 photos, and get back a shot plan: which photos, in what order, each one's move and an effect on every cut, all on the beat.

Alias
oneup/text-shot-plan
How it runs
Sync — Answers in one request.
What it takes and what it gives
JSON + Image → JSON

Built for #

  • Beat-cut property tours
  • Any photo set that needs a director
  • Agents that compile shot plans into video

Not for #

  • Anything but photo tours: it lays out a tour from your photos and a music track's beats.
  • More than 40 photos in one shot plan.
  • A shot plan you cannot check: you validate it with your own rules, and fix it with oneup/text-shot-plan-repair.

What this means for you #

  • One bounded call; the shot plan is checked against your own vocabulary.
  • A repair pass without the photos costs less.

Sample output #

No sample is published yet. When there is one, it will be a real result OneUpAI made, shown here with the request that made it.

What you send, what you get back #

You send #

A manifest, your tables of shots, effects, rooms and reject reasons, the style profiles and rules, and the photos (uploads of yours, up to 40).

You get back #

A structured shot plan as data: the photos classified, the order of shots on candidate indexes, one effect per cut, a one-line journey note.

What you can set #

SettingType and limitsWhat it means
rules requiredtext, 0–12000 charactersThe placement rules, as the calling app renders them.
vocab requiredgroupThe host's vocabulary (its vocab.ts is the one source): the prefix tables AND the plan's enums are rendered from it, so the prompt and the validator cannot drift.
vocab.base_shots requiredlist
vocab.room_types requiredlist
vocab.cut_effects requiredlist
vocab.reject_reasons requiredlist
images requiredlistThe reduced listing photos (768 px long edge, JPEG, prepared by the host), each the caller's own upload or asset URL, in manifest order. More than 40 is images_too_many.
manifest requiredgroupThe input manifest: the project and its budgets, the track's cut candidates and sections, the images' facts, same-room pairs and duplicate groups. At most 32,000 characters as JSON (more is refused as input_too_large). Listing facts are never sent.
profiles requiredtext, 0–6000 charactersThe style-profile budget table, as the calling app renders it.

The request #

The same request as an API call, with this capability's example input:

curl -X POST https://api.oneupai.com/v1/run/oneup/text-shot-plan \
  -H "Authorization: Bearer $ONEUP_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "rules": "Sequence. …",
  "vocab": {
    "base_shots": [
      {
        "id": "hero_hold"
      }
    ],
    "room_types": [
      "exterior_front"
    ],
    "cut_effects": [
      {
        "id": "hard_cut"
      }
    ],
    "reject_reasons": [
      "duplicate"
    ]
  },
  "images": [
    {
      "url": "https://media.oneupai.com/u/x",
      "image_id": "img_001"
    }
  ],
  "manifest": {
    "project": {
      "project_id": "job-1"
    }
  },
  "profiles": "| Profile | … |"
}'

What comes back #

How it comes back
JSON, in the response itself
File type
application/json

The response #

An example of the response, as the API reference shows it (placeholders, not a real run):

{
  "alias": "oneup/text-shot-plan",
  "output": {
    "project_id": "job-1",
    "images": [
      {
        "image_id": "img_001",
        "room_type": "exterior_front",
        "use": true,
        "hero": true,
        "focal": {
          "x": 0.5,
          "y": 0.42
        },
        "crop_safe": "high",
        "direction": "neutral",
        "reject_reason": null
      }
    ],
    "timeline": [
      {
        "seq": 1,
        "image_id": "img_001",
        "base_shot": "hero_hold",
        "cut_in": 0,
        "cut_out": 2,
        "scale_start": 1,
        "scale_end": 1.06
      }
    ],
    "cuts": [],
    "journey_note": "Opens on the front of the house and holds on it."
  }
}

How long it takes #

Not yet measured: a time shows here once 50 runs have finished in 30 days.

What it costs #

80 credits

≈ $0.85 at the Concierge rate

For $1 you can run this about 1 times.

Worked prices (Concierge rate) #

  • one shot plan for up to 40 photos: 80 credits, about $0.85
  • shot plans for three tours: 240 credits, about $2.55

Limits #

  • The whole request: up to 64000 characters
  • rules: up to 12000 characters
  • profiles: up to 6000 characters
  • images: 1–40 items
  • Each uploaded file: up to 2 GB

Use it with #

Natural next steps and companions:

  • Shot director, second pass oneup/text-shot-plan-repair — The director's text-only second chance: the same manifest and vocabulary, the failing shot plan and your validator's errors in, a corrected shot plan out.
  • Rendered short video oneup/render-timeline — Cut your photos and clips into a finished short — cuts, punch-ins, captions, seamless transitions — the same result every time.

Schemas #

Show input schema (JSON)
{
  "type": "object",
  "required": [
    "manifest",
    "images",
    "vocab",
    "profiles",
    "rules"
  ],
  "properties": {
    "rules": {
      "type": "string",
      "maxLength": 12000,
      "description": "The placement rules, as the calling app renders them."
    },
    "vocab": {
      "type": "object",
      "required": [
        "base_shots",
        "cut_effects",
        "room_types",
        "reject_reasons"
      ],
      "properties": {
        "base_shots": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9_]*$",
                "maxLength": 48
              },
              "note": {
                "type": "string",
                "maxLength": 200
              }
            },
            "additionalProperties": false
          },
          "maxItems": 40,
          "minItems": 1
        },
        "room_types": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "maxLength": 48
          },
          "maxItems": 40,
          "minItems": 1
        },
        "cut_effects": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9_]*$",
                "maxLength": 48
              },
              "note": {
                "type": "string",
                "maxLength": 200
              }
            },
            "additionalProperties": false
          },
          "maxItems": 40,
          "minItems": 1
        },
        "reject_reasons": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]*$",
            "maxLength": 48
          },
          "maxItems": 40,
          "minItems": 1
        }
      },
      "description": "The host's vocabulary (its vocab.ts is the one source): the prefix tables AND the plan's enums are rendered from it, so the prompt and the validator cannot drift.",
      "additionalProperties": false
    },
    "images": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "image_id",
          "url"
        ],
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 600
          },
          "image_id": {
            "type": "string",
            "maxLength": 64
          }
        },
        "additionalProperties": false
      },
      "maxItems": 40,
      "minItems": 1,
      "description": "The reduced listing photos (768 px long edge, JPEG, prepared by the host), each the caller's own upload or asset URL, in manifest order. More than 40 is images_too_many."
    },
    "manifest": {
      "type": "object",
      "description": "The input manifest: the project and its budgets, the track's cut candidates and sections, the images' facts, same-room pairs and duplicate groups. At most 32,000 characters as JSON (more is refused as input_too_large). Listing facts are never sent."
    },
    "profiles": {
      "type": "string",
      "maxLength": 6000,
      "description": "The style-profile budget table, as the calling app renders it."
    }
  },
  "additionalProperties": false
}
Show output schema (JSON)
{
  "type": "object",
  "required": [
    "project_id",
    "images",
    "timeline",
    "cuts",
    "journey_note"
  ],
  "properties": {
    "cuts": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "from_seq",
          "to_seq",
          "at",
          "effect"
        ],
        "properties": {
          "at": {
            "type": "integer",
            "minimum": 0
          },
          "effect": {
            "type": "string",
            "maxLength": 48
          },
          "prompt": {
            "type": "string",
            "maxLength": 600,
            "minLength": 1
          },
          "to_seq": {
            "type": "integer",
            "minimum": 1
          },
          "from_seq": {
            "type": "integer",
            "minimum": 1
          },
          "rotation_degrees": {
            "type": "integer",
            "maximum": 45,
            "minimum": 1
          }
        },
        "additionalProperties": false
      },
      "maxItems": 40
    },
    "images": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "image_id",
          "room_type",
          "use",
          "hero",
          "focal",
          "crop_safe",
          "direction",
          "reject_reason"
        ],
        "properties": {
          "use": {
            "type": "boolean"
          },
          "hero": {
            "type": "boolean"
          },
          "focal": {
            "type": "object",
            "required": [
              "x",
              "y"
            ],
            "properties": {
              "x": {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              },
              "y": {
                "type": "number",
                "maximum": 1,
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "image_id": {
            "type": "string",
            "maxLength": 64
          },
          "crop_safe": {
            "enum": [
              "high",
              "medium",
              "low"
            ],
            "type": "string"
          },
          "direction": {
            "enum": [
              "left",
              "right",
              "forward",
              "backward",
              "up",
              "down",
              "neutral"
            ],
            "type": "string"
          },
          "room_type": {
            "type": "string",
            "maxLength": 48
          },
          "reject_reason": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string",
                "maxLength": 48
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "maxItems": 40,
      "minItems": 1
    },
    "timeline": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "seq",
          "image_id",
          "base_shot",
          "cut_in",
          "cut_out"
        ],
        "properties": {
          "seq": {
            "type": "integer",
            "minimum": 1
          },
          "cut_in": {
            "type": "integer",
            "minimum": 0
          },
          "cut_out": {
            "type": "integer",
            "minimum": 0
          },
          "image_id": {
            "type": "string",
            "maxLength": 64
          },
          "base_shot": {
            "type": "string",
            "maxLength": 48
          },
          "scale_end": {
            "type": "number",
            "maximum": 1.12,
            "minimum": 1
          },
          "scale_start": {
            "type": "number",
            "maximum": 1.12,
            "minimum": 1
          }
        },
        "additionalProperties": false
      },
      "maxItems": 40,
      "minItems": 1
    },
    "project_id": {
      "type": "string",
      "maxLength": 128
    },
    "journey_note": {
      "type": "string",
      "maxLength": 240
    }
  },
  "additionalProperties": false
}
Limits, as GET /v1/models gives them
{
  "chars": {
    "rules": {
      "max": 12000
    },
    "profiles": {
      "max": 6000
    }
  },
  "items": {
    "images": {
      "max": 40,
      "min": 1
    }
  },
  "request_chars": 64000,
  "upload_bytes_max": 2000000000
}
What comes back, as GET /v1/models gives it
{
  "type": "application/json",
  "delivery": "json"
}

Previously called #

  • oneup/shot-director — works until Jan 15, 2027

Changelog #

  • Version 1 (Oct 8, 2026): New name; previously oneup/shot-director. The same input, output and price.
  • Version 1 (Sep 18, 2026): First version.

Every change, newest first, on the changelog

Other text capabilities #

Read a web article #

Give it the address of a public article and get back its title, the site, the byline and the readable text — the source for a spoken summary or a briefing.

2 credits

Read a property listing #

Give it the address of a public property listing and get back the facts, the description and the photo addresses — nothing to type, nothing to upload.

2 credits

Post text for your platforms #

Write the text to post with a short video — one version for each platform you choose, written for your local market.

3 credits

Script and scene direction #

Write a script or a shot plan from a brief, in one request.

7 credits

Shot director, second pass #

The director's text-only second chance: the same manifest and vocabulary, the failing shot plan and your validator's errors in, a corrected shot plan out.

30 credits

Get five video ideas #

Five ideas for your next video, written for your business and your market — each with a hook, a few beats and why it should work.

6 credits