Shot director, second pass
On this page
What it does #
Agent step text Sync Advanced: built for a specific recipe
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.
- Alias
oneup/text-shot-plan-repair- How it runs
- Sync — Answers in one request.
- What it takes and what it gives
- JSON → JSON
Built for #
- Fixing a shot plan your validator refused
- Laying out a tour again in a new style
Not for #
- A first shot plan: use oneup/text-shot-plan.
- Choosing the photos again: no photos are sent with a repair.
What this means for you #
- Text only — a fraction of the first call's price.
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 #
The manifest, your vocabulary tables, the failing shot plan and the errors, one sentence each. No photos.
You get back #
A corrected shot plan in the same shape.
What you can set #
| Setting | Type and limits | What it means |
|---|---|---|
rules required | text, 0–12000 characters | The placement rules, as the calling app renders them. |
vocab required | group | 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. |
vocab.base_shots required | list | |
vocab.room_types required | list | |
vocab.cut_effects required | list | |
vocab.reject_reasons required | list | |
repair required | group | |
repair.plan required | group | The failing plan (≤ 32,000 characters as JSON). |
repair.errors required | list | The host validator's errors, one sentence each. |
manifest required | group | 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 required | text, 0–6000 characters | The 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-repair \
-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"
]
},
"repair": {
"plan": {
"project_id": "job-1"
},
"errors": [
"cut 3: at mismatch"
]
},
"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-repair",
"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 #
30 credits
≈ $0.32 at the Concierge rate
For $1 you can run this about 2–3 times, depending on your plan.
Worked prices (Concierge rate) #
- one repair: 30 credits, about $0.32
- two repairs: 60 credits, about $0.64
Limits #
- The whole request: up to 80000 characters
rules: up to 12000 charactersprofiles: up to 6000 characters
Use it with #
Natural next steps and companions:
- 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",
"vocab",
"profiles",
"rules",
"repair"
],
"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
},
"repair": {
"type": "object",
"required": [
"plan",
"errors"
],
"properties": {
"plan": {
"type": "object",
"description": "The failing plan (≤ 32,000 characters as JSON)."
},
"errors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400
},
"maxItems": 40,
"minItems": 1,
"description": "The host validator's errors, one sentence each."
}
},
"additionalProperties": false
},
"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
}
},
"request_chars": 80000
}What comes back, as GET /v1/models gives it
{
"type": "application/json",
"delivery": "json"
}Previously called #
oneup/shot-repair— works until Jan 15, 2027
Changelog #
- Version 1 (Oct 8, 2026): New name; previously oneup/shot-repair. The same input, output and price.
- Version 1 (Sep 18, 2026): First version.
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 for photo tours #
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.
80 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