Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
4.6 KiB
RocketRide runtime target
ReelForge exposes RocketRide through the existing RenderBackend and
RenderJob lifecycle. The backend accepts a target selector, not connection
configuration. Operators own both target profiles and one visual-editor
pipeline artifact.
Configuration
Install the optional official Python SDK in the API runtime, then configure:
[rocketride]
pipeline_root = "pipelines/rocketride"
pipeline_file = "reelforge-render.pipe"
local_uri = "http://localhost:<extension-selected-port>"
local_api_key = ""
managed_uri = "https://api.rocketride.ai"
managed_api_key = "server-only credential"
ttl_seconds = 3600
connect_timeout_seconds = 60
pipeline_trace_level = ""
Environment variables can supply the URI, credential, root, and file values;
see .env.example. The VS Code extension chooses the local URI dynamically, so
do not assume a fixed port.
pipeline_file must be a relative .pipe path under pipeline_root. ReelForge
resolves both paths, rejects traversal and absolute file values, and requires an
existing regular file. Both targets use that exact file. Do not hand-author or
rewrite its JSON.
Render request
{
"backend": "rocketride",
"max_cost_micros": 500000,
"workflow_version": "reelforge-rocketride-1",
"spec": {
"rocketride_target": "local",
"prompt": "A product close-up with a slow orbit"
}
}
The only accepted target values are local and managed. A request cannot
override the pipeline path, URI, API key, timeout, TTL, or trace setting.
The official-SDK bridge performs this sequence:
- connect to the configured target;
- call
use(filepath=...)on the editor artifact; - send the render spec as
application/json; - retain the task token only in the private provider-reference field;
- reconnect to poll with
get_task_status(token)or cancel withterminate(token).
The HTTP response never returns the provider reference or task token. Submit failure releases the reservation. Failed, cancelled, malformed, and cost-cap violating terminal results release the full reservation.
Output receipt v1
The editor-authored pipeline must put this object in either status.receipt,
status.result.receipt, or status.result when status.state reports success:
{
"version": "reelforge.render.receipt.v1",
"output_refs": ["https://media.example/render.mp4"],
"actual_cost_micros": 184200
}
The adapter intentionally does not persist the immediate value returned by
send(). The pipeline must therefore surface the final receipt through
get_task_status() in one of those locations before reporting a successful
state. A receipt returned only by send() cannot settle a wallet hold.
output_refs must contain 1–16 bounded, non-empty strings without control-line
characters. actual_cost_micros must be a nonnegative integer; zero is a valid
measured cost. Missing or malformed receipt fields turn terminal success into
FAILED, which triggers a full wallet refund. A reported cost above the held
maximum also fails closed and refunds the hold.
The public completed envelope adds the same normalized contract plus the target:
{
"output_receipt": {
"version": "reelforge.render.receipt.v1",
"target": "local",
"output_refs": ["https://media.example/render.mp4"],
"actual_cost_micros": 184200
}
}
ReelForge reads RocketRide status only from a mapping or an object's
model_dump() result and treats state as authoritative. It accepts a bounded
set of queued, running, successful, failed, and cancelled states. Any missing or
unknown state fails closed. It does not derive billing from SDK status counters
or transport metadata. This defensive boundary is intentional while the
official get_task_status() return annotation and payload remain under
discussion in rocketride-server issue #1989.
Local/managed parity procedure
After the official editor artifact and both target profiles exist:
- submit the same render spec with
rocketride_target: local; - advance it until terminal and save its
output_receipt; - submit the unchanged spec with
rocketride_target: managed; - compare receipt version, output-ref semantics, and actual-cost field type;
- cancel one job on each target and confirm the wallet hold is fully released;
- force one pipeline failure on each target and confirm the same full refund.
Live parity is not yet verified. The repository does not contain an official
visual-editor-produced ReelForge .pipe, and no runtime endpoint or credential
was available for this implementation cycle.