MYROGRAPH / DEVELOPER GUIDE
From footage
to usable evidence.
Timed words. Recurring people. Source-bound relationships. Run the service you need, or combine them into a portable package your team and agents can review.
Accepted processing runs in the cloud. Downloaded review and correction work runs offline. You can use useful results immediately; review is a choice guided by your task, not an additional launch gate.
Coming from Myrograph?
Your existing account, projects, keys, balance and jobs stay the same. Use them at VibeEdit without creating a parallel account. For a previously saved SDK operation, keep its original config and API origin while resuming: the Myrograph compatibility endpoints remain available. Do not edit saved request identities or resubmit work to change its hostname. Use the VibeEdit config for new operations.
Existing Python imports, MYROGRAPH environment variables and versioned wire schemas remain supported. The visible product and default public API origin are VibeEdit.
General model API
Choose supported OpenRouter text models and supply your own task through the existing analysis balance. Uses an explicit models key scope and durable asynchronous JSON results. Read the supported contract and examples.
Setting up an agent? Start with the agent instructions and setup CLI to sign in, create a scoped key and save a private local config through the API.
01 / FIRST RESULT
Submit once.
Reconnect later.
1. Create a key and download the SDK
Download the Python CLI and SDK and extract the entire archive. Keep myrograph.py, its helper files and bundled guides together. Python 3.11+ on macOS/Linux is supported; portable package review uses the standard library.
Create your workspace and API key, then download your private vibeedit.json config. Save it outside your source repository. The examples below use /private/vibeedit.json; substitute your file’s actual path. If you already have a key, the config looks like this:
{
"apiKey": "YOUR_MYROGRAPH_API_KEY",
"projectId": "YOUR_PROJECT_ID"
}
The SDK also accepts MYROGRAPH_API_KEY and MYROGRAPH_PROJECT_ID. Keep credentials out of notebooks, screenshots, analysis packages and website code. Use a separate state directory for each intended operation.
2. Read current capabilities and a quote
python3 myrograph.py --config /private/vibeedit.json capabilities --service speakers
python3 myrograph.py --config /private/vibeedit.json quote \
--service speakers --duration-seconds 120
The source duration here is an example, not a service limit. Use your full source duration. A quote creates no analysis job. Read its requested hold and choose the maximum amount you authorize; it is not a fixed-price promise.
3. Start one operation
Set APPROVED_CAP to your approved numeric amount after reading the quote:
printf 'Approved maximum in USD: '
read -r APPROVED_CAP
python3 myrograph.py --config /private/vibeedit.json submit \
--service speakers --media /private/source.mp4 \
--state /private/source-speakers --duration-seconds 120 \
--max-retail-usd "$APPROVED_CAP"
Upload and admission need a connection. Once an original job ID is acknowledged, accepted work continues after you disconnect. Preserve the state directory and the exact source bytes.
4. Return and download
python3 myrograph.py --config /private/vibeedit.json status --state /private/source-speakers
python3 myrograph.py --config /private/vibeedit.json wait --state /private/source-speakers --timeout 60
python3 myrograph.py --config /private/vibeedit.json download --state /private/source-speakers
# After an interrupted upload or uncertain acknowledgement:
python3 myrograph.py --config /private/vibeedit.json resume --state /private/source-speakers
A wait timeout does not cancel a job. Status, wait and download reuse the original identity; do not submit a replacement to resolve an uncertain response.
The same workflow in Python
from myrograph import Client
api = Client('/private/vibeedit.json')
approved_cap = float(input('Approved maximum in USD: '))
job = api.submit(
'speakers', '/private/source.mp4', '/private/source-speakers',
duration_seconds=120, max_retail_usd=approved_cap,
)
print(job['jobId'])
# Reconnect later using the same state, account and project:
print(api.status('/private/source-speakers'))
# Once the result is available:
# print(api.download('/private/source-speakers'))
02 / ACCESS & LIMITS
Read the limits
that apply now.
Capabilities are the live authority for supported duration, source frames, formats, sampling and result availability. Limits can vary by service and release. The docs do not duplicate a fixed duration or frame limit.
| Task | Required service access |
|---|---|
| Visual Understanding | video |
| Face Identity | faces |
| Words & Speakers | speakers |
| Visible Speaker, Voice Identity, Words to People & Characters | speakers and faces |
Read, download, submit and library mutation permissions are separate operations within your key’s scope. A service name in an example grants no authority. Access to account funding is separate from permission to analyze media.
Check current limits here (authenticated, read only)
The key is sent only to this site’s HTTPS API. It is not saved in browser storage, included in a URL, or sent to another origin. This form does not upload media, reserve credit or start analysis. Use it only on your trusted VibeEdit origin.
Without browser JavaScript, use capabilities --service SERVICE from the SDK. Authorize costs from a fresh quote. A result may be ready before final settlement; download it when available. Unknown costs retain their existing hold.
Service / 01
Words & Speakers
Wire service ID: speakers
Turn supported media into original timed words, anonymous recording-level voice groups, readable transcripts and explicit unresolved ownership. This can stand alone or provide speech data for the linking services.
Use submit --service speakers as in the quickstart. Supply the full duration of the original source and a user-approved cost cap. The SDK manages uploads, acknowledgement and download checks.
| Inputs | Supported original media, duration, scoped key, approved cap, a private state directory. |
|---|---|
| Output meaning | Words with declared timing units and clock, anonymous voice ownership, unresolved words and readable exports. |
| Important limits | Text confidence is distinct from speaker confidence and timing precision. Recording-local IDs are not automatically the same voice across sources. |
| Next step | Run Face Identity on the exact same source, then Visible Speaker. |
Preserve original word timing and the producer’s source/video projection. Estimated token boundaries are not sample-perfect measurements. Do not invent a constant offset when a clock has gaps or no supported alignment.
Service / 02
Face Identity
Wire service ID: faces
Group recurring anonymous people visually and keep their source-frame geometry. Choose a stable library ID for related footage in the same project. Keep unrelated casts or projects separate unless you deliberately want a shared library.
python3 myrograph.py --config /private/vibeedit.json quote \
--service faces --duration-seconds 120 --max-retail-usd "$FACE_CAP"
python3 myrograph.py --config /private/vibeedit.json submit \
--service faces --media /private/source.mp4 --state /private/source-faces \
--duration-seconds 120 --library project-cast --max-retail-usd "$FACE_CAP"
Set FACE_CAP to the amount you explicitly approve. If the quote cannot fit that cap, no analysis should be admitted; inspect the reason rather than silently raising it.
Results describe scoped people, appearance groups/tracks, frame observations and geometry. Read the declared coordinate format, original dimensions and frame clock before drawing boxes on another rendition. A face box may extend outside the image; clipping for display must not rewrite original evidence.
A partial result can be useful for visual review while being insufficient as a complete linking parent. For linking, the source, range and clock must match the speech parent.
Service / 03
Visible Speaker
Wire service ID: active-speakers
Associate eligible speech intervals with visible anonymous people. Prerequisites are completed, owned Words & Speakers and Face Identity jobs for the exact same original source.
Create visible-speaker-request.json with your original parent IDs and approved numeric cap:
{
"voiceJobId": "REPLACE_WITH_ORIGINAL_SPEAKER_JOB_ID",
"faceJobId": "REPLACE_WITH_ORIGINAL_FACE_JOB_ID",
"maxRetailUsd": 1.2
}
The numeric cap above is an illustration, not a price or current minimum. Read capabilities/quote and replace it with the maximum you authorize.
python3 myrograph.py --config /private/vibeedit.json stage \
--service active-speakers --state /private/source-visible-speaker \
--source-sha256 "$SOURCE_SHA256" --request visible-speaker-request.json
SOURCE_SHA256 is the original source fingerprint from your parent state/result, not a hash of a re-encoded clip or an analysis ZIP. Parent checks fail closed on mismatched sources and unsupported clocks.
Review the proposed person, interval, observation support, alternatives and veto reasons. A visible person can be listening. Short appearances, overlap, cuts and conflicting evidence may leave ownership unresolved. Use the original state for status and download.
Service / 04
Voice Identity
Wire service ID: voice-identity
Use supported acoustic relationships to associate additional words with people. Start from a completed Visible Speaker job. Optional reusable context must name an owned library and an exact revision.
{
"activeSpeakerJobId": "REPLACE_WITH_ORIGINAL_VISIBLE_SPEAKER_JOB_ID",
"maxRetailUsd": 1.2
}
Replace the illustrative cap after reading the current quote. Save as voice-request.json.
python3 myrograph.py --config /private/vibeedit.json stage \
--service voice-identity --state /private/source-voice \
--source-sha256 "$SOURCE_SHA256" --request voice-request.json
To reuse supported prior context, add libraryId and libraryRevision together. Keep the originally selected revision on resume; a later library head is different evidence.
Voice similarity, visible speaking, group membership and word ownership are separate decisions. Group-supported ownership does not mean each word received an independent match. Preserve exceptions, missing evidence and unresolved words; one clean example cannot certify a mixed group.
Service / 05
Words to People
& Characters
Wire service ID: characters
Assemble compatible speech/person outputs into word-level assignments and optional display names. Use the original completed Visible Speaker and Voice Identity jobs.
{
"activeSpeakerJobId": "REPLACE_WITH_ORIGINAL_VISIBLE_SPEAKER_JOB_ID",
"voiceIdentityJobId": "REPLACE_WITH_ORIGINAL_VOICE_IDENTITY_JOB_ID",
"maxRetailUsd": 0,
"labels": {"REPLACE_WITH_PERSON_ID": "Character A"}
}
python3 myrograph.py --config /private/vibeedit.json stage \
--service characters --state /private/source-characters \
--source-sha256 "$SOURCE_SHA256" --request character-request.json
Save the JSON as character-request.json; omit labels to retain anonymous identities. The zero cap describes this derived operation, not permission to replace or rerun its parents. Read capabilities for the current contract.
Every original word and timing remains available. Names are separate assertions: setting a name does not confirm every associated word. User labels and source-grounded model suggestions have different provenance. The result can be reviewed immediately or supplied as optional Visual Understanding context.
Service / 06
Visual Understanding
Wire service ID: visual; HTTP route family: video
Describe visible actions, objects, settings and scene changes. Run it alone or add a compatible completed character result for source-bound dialogue/person context.
python3 myrograph.py --config /private/vibeedit.json quote \
--service visual --duration-seconds 120 --sample-fps 0.5 \
--window-seconds 12 --keyframes-only
python3 myrograph.py --config /private/vibeedit.json submit \
--service visual --media /private/source.mp4 --state /private/source-visual \
--duration-seconds 120 --max-retail-usd "$VISUAL_CAP" \
--sample-fps 0.5 --window-seconds 12 --keyframes-only
Set VISUAL_CAP to your approved numeric maximum. These sampling settings illustrate a sparse pass, not a guaranteed coverage level. Sparse sampling can miss brief actions; check supported options in capabilities.
Supply completed character context in Python
api.submit(
'visual', '/private/source.mp4', '/private/source-contextual-visual',
duration_seconds=120, max_retail_usd=approved_visual_cap,
visual_options={
'characterJobId': original_character_job_id,
'sampleFps': 0.5, 'windowSeconds': 12, 'keyframesOnly': True,
},
)
api is your configured client; the job ID must refer to the same source. Read timestamped windows, sampled coverage, uncertainties and cited context. Topic lists and any fullSummary retain computed detail beyond a shortened summary. Valid citations establish traceability, not truth.
03 / CONNECT THE STAGES
One complete flow.
Reusable project context.
The SDK advances dependencies as you reconnect. Accepted jobs continue in the cloud; an agent does not need to remain online. Resume the same flow to admit later stages whose parents have completed.
Prepare plan.json using your full duration, exact media and fresh approved per-stage caps. This example asks for them instead of assuming a service price:
import json
from pathlib import Path
services = ['speakers', 'faces', 'active-speakers',
'voice-identity', 'characters', 'visual']
caps = {name: float(input(f'Approved maximum USD for {name}: '))
for name in services}
plan = {
'media': '/private/source.mp4',
'duration_seconds': float(input('Full source duration in seconds: ')),
'library': 'project-cast', 'identity_library': 'project-people',
'caps': caps, 'total_cap': sum(caps.values()),
'visual_options': {'sampleFps': 0.5, 'windowSeconds': 12,
'keyframesOnly': True},
}
Path('/private/plan.json').write_text(json.dumps(plan, indent=2))
The SDK validates the plan before new work. Choose each amount from current capabilities/quotes and your task authorization. The total is the combined authorization, not a fixed charge.
python3 myrograph.py --config /private/vibeedit.json all \
--state /private/source-flow --plan /private/plan.json
# Reconnect without changing the plan or creating a replacement:
python3 myrograph.py --config /private/vibeedit.json all --state /private/source-flow
Completion returns an analysis.zip. A partialBundle can retain completed stages while another stage is running or stopped. Missing later output need not block useful earlier results.
Libraries are deliberate shared context
Reuse the Face library and combined identity_library for related material in the same project. Their roles and revisions are separate. The SDK coordinates them; more sources do not guarantee higher accuracy.
python3 myrograph.py --config /private/vibeedit.json library \
--library project-people --action read
Shared corrections use the library’s revision-checked API. A conflict means the head changed; read it and explicitly rebase. A local package correction does not silently change a shared library or other source packages.
04 / KEEP YOUR RESULTS
A package you
can hand to someone.
Extract the entire archive and open REPORT.html. It links readable review pages, examples, current correction scope and uncertainty. The included agent/SKILL.md provides a progressive workflow for an agent.
Try the synthetic example package. Its illustrative data is not a claim of measured analysis performance.
python3 review.py summary /private/analysis.zip
python3 review.py queue /private/analysis.zip --limit 5
python3 review.py inspect /private/analysis.zip --entity ENTITY_ID
python3 review.py inspect /private/analysis.zip --word 42 --evidence
python3 review.py range /private/analysis.zip \
--start-millis 10000 --end-millis 20000 --limit 20
Use IDs and ordinals from your own package. Start with small indexes and a few important groups; do not load all raw data into an agent’s context. Source, scopes, public versions, included/missing stages and current revision are recorded in the package.
| Score kind | What it means |
|---|---|
| Native score | A component’s published measurement, with the stated scope and scale. |
| Similarity | A comparison between observations; not automatically correctness probability. |
| Derived support | A documented support scale, not percent correct. |
| Calibrated probability | Only a probability when real empirical calibration is explicitly documented. |
| Review priority | A ranking of useful review work, not an acceptance score. |
| Unavailable / not included | Read the reason. Never replace missingness with zero. |
Strong identity support does not prove speaking; speaking support does not prove a name. Public hashes verify delivered bytes, not semantic correctness. Opaque engine versions identify behavior without promising local reproduction of private inference.
Evidence is not the same as media inspection
Read every reference’s availability and timing/geometry binding. Source video/audio may need to be supplied separately. Untimed person previews do not establish exact speaking time. Reading metadata or exporting a file does not mean someone actually saw or heard its contents.
Customer exports contain useful results and supporting evidence, not private inference configuration or reusable internal vector banks. Keep older packages unchanged; use a documented upgrade into a new output when representations change.
Public schemas and legacy correction migration
Current containers use myrograph.completeAnalysis.v3, with myrograph.stageExport.v2 results, customerProjection.v2 evidence and support-public-v2 score definitions. Customer artifact hashes bind these exported bytes; they are not private inference-input hashes. Source/frame/line/box/person evidence remains source-bound. A withheld measurement is not a claim that no internal measurement was computed.
prepare only refreshes a current v3 public package. For a legacy archive, first obtain an uncorrected public package for exactly the same original jobs. Copy the complete jobs mapping from the old manifest into jobs.json (the file contains that mapping alone, not the whole manifest), then:
python3 myrograph.py --config /private/vibeedit.json package \
--source-sha256 "$SOURCE_SHA256" --jobs /private/jobs.json \
--output /private/same-jobs-public.zip
python3 review.py migrate /private/OLD.zip \
--public-package /private/same-jobs-public.zip --output /private/migrated.zip
python3 review.py verify /private/migrated.zip
This exports existing work, not a new analysis. Migration verifies exact source, job census, word IDs/text/timing and original assignments. It replays compatible scoped overlays with an old→new revision map in review/migration.json. Migration itself is metadata-only; legacy inspection modes and reference counts are retained separately, never represented as new media inspection.
Keep OLD.zip unchanged. A legacy package must already have its review index/history. Different evidence or unmappable scope requires explicit review; a new hash must not silently rebase old assertions. Private legacy originals are not copied into the new public output.
05 / REVIEW WITH CONTROL
Change a conclusion.
Keep its history.
Use results as supplied, review a bounded set of high-impact groups, or record an authorized correction. A group’s examples help choose scope; they do not verify all its members. Keep exceptions explicit.
The readable report can author a request offline. Downloading that request does not apply it. The bundled tool validates it against the current revision, previews consequences and writes a new ZIP.
python3 review.py template /private/analysis.zip \
--entity ENTITY_ID --output /private/request.json
python3 review.py preview /private/analysis.zip \
--request /private/request.json --output /private/effects.json
Edit the actor, reason, actual inspection, operation and explicit scope. The template selects examples, not all members. Read changed-word/turn counts and downstream revalidation before applying.
python3 review.py apply /private/analysis.zip \
--request /private/request.json --output /private/corrected.zip
python3 review.py inspect /private/corrected.zip --word 42
python3 review.py export /private/corrected.zip --output /private/handoff.zip
python3 review.py verify /private/handoff.zip
Choose a new output filename. Supported overlays include display labels, scoped links/reassignments, effective-identity merge/split, public support filters and undo. They preserve original words, timing, evidence and scores; they do not rerun inference or rewrite native clusters. Human, agent and tool assertions remain distinct.
Undo is a new revision
Create a request bound to the current revision and set its operation to this object. Keep the required actor, reason and inspection fields:
{
"action": "undo",
"revision": "REPLACE_WITH_CORRECTION_REVISION_TO_UNDO"
}
Apply into another new archive. History is appended, not erased. After moving the final package, run verification again. Never distribute API configuration, bearer keys or temporary transfer URLs with it.
STORAGE / OFFLINE CONTROL
Temporary processing.
Keep your own copy.
The temporary-retention policy uses the windows below. Rollout is in progress: read enforcement on the source-session response. tracking-only records the requested flow but does not promise that physical cleanup is active. Existing analyses and libraries are not automatically migrated.
| Data | Policy window | Clock starts |
|---|---|---|
| Abandoned uploads and incomplete parts | 24 hours | Upload registration, unless accepted work depends on the bytes |
| Original media, prepared audio and processing files | 48 hours | The whole requested flow completes or is definitively stopped; accepted work and shared dependencies remain protected |
| Results, packages and retained review evidence | 7 days | The package becomes ready |
| Your verified downloaded package | Your own storage policy | Offline report, evidence, scoped corrections, undo and export remain usable |
sourceExpiresAt and resultsExpireAt describe service availability, not the lifetime of your local files. A null deadline means no verified expiry is available yet; it does not promise permanent storage. Planned deadlines in tracking-only mode are separate from active deadlines. Reading, downloading, issuing a signed link or acknowledging a package never renews retention.
The SDK acknowledges a package only after verifying its full checksum, length and member manifest. This explicit, idempotent receipt records delivery; it does not request deletion. Early deletion is a separate request and may wait for shared or active processing dependencies. A timeout, failed client connection or unresolved acknowledgement does not prove that processing stopped.
Keep your original media if you may need to see or hear it again. After the source copy expires, future perceptual review may require your own original. Existing local results remain useful. Uploading again or running new analysis requires explicit authorization; expiry never silently starts paid reanalysis.
Existing reusable libraries are preserved. Durable matching reference data is a separately documented choice; a required Face library ID alone is not consent to indefinite source storage. Display names alone cannot reproduce face or voice matching. Local package corrections stay separate from shared-library changes.
06 / WHEN SOMETHING STOPS
Keep the original
operation close.
| Situation | Next action |
|---|---|
| Upload or admission interrupted | Resume the original state. Do not create a replacement to resolve uncertainty. |
| Wait timed out | Read status or wait again. A wait timeout does not cancel processing. |
| Result ready, cost pending | Download available data. Check settlement separately when it matters for the next request. |
| Later stage held or failed | Read its public reason; preserve completed parents and partial bundle before considering new work. |
| Source or parent mismatch | Use original bytes and matching owned job IDs. Do not patch clocks or fingerprints. |
| Library / correction revision conflict | Read the current head; explicitly rebase the intended scope and preview again. |
| Evidence or score missing | Read the limitation and use available data. Request new processing only for a concrete authorized evidence need. |
| Group appears mixed | Review across turns, split/reassign only supported words and retain exceptions. |
| Package or report fails | Keep it unchanged for diagnosis. Extract the complete archive; obtain a verified download or assemble a separate output. |
| Permission denied | Check service/project/access grants. Changing accounts is not a recovery method. |
Retention and availability are service-specific. Read current capabilities and download results you want to keep promptly. Report the public job/request ID and operation when asking for help; omit secrets, signed URLs and private media.
07 / EXACT CONTRACT
The published
API reference.
Normal headless requests go to https://vibeedit.com. The CLI/Python service IDs above are mapped to their documented HTTP route families.
Authorization: Bearer YOUR_MYROGRAPH_API_KEY
X-Project-Id: YOUR_PROJECT_ID
Let the SDK manage idempotency and transfers. API authorization headers belong on the API request, not on a separately signed transfer to another origin. An organization-header option, when used, must agree with the key’s scope; it is not a substitute for the project header.
Visual JSON · Face JSON · Words & Speakers JSON · Linking & characters JSON
The separate Run Analysis V3 management API uses a different route and authentication contract. Do not apply its upload/bootstrap examples to this six-service headless API.
Continue in the cloud.
For supported new full analyses, all continues in the cloud after admission and can finish after the client exits. Use all-cloud to require server continuation or all-local to keep client-driven progression. Check /v1/analysis/flows/capabilities and keep the original state, caps and operation identities.
The original speaker job’s /partial endpoint returns provisional words with unresolved ownership. Partial availability is separate from final readiness and whole-flow retention. Verified downloads, package receipts and offline corrections retain their existing contract. Download the SDK instructions for exact commands and recovery.