Skip to main content
POST
The reference clip is decomposition material only: it never reaches a generation model. Supply a 4–15 second clip, 1–9 of your own reference images and an optional intent; the server decomposes the clip asynchronously and returns one compiled prompt, a structured breakdown, one reading per reference image and an exact credit amount per quality.
  • Base URL: https://omnimux.ai; use a scoped personal access token, not an sk- relay key.
  • Required permission: influencer_creation:write to analyze, influencer_creation:read to poll the accepted job.
  • New-Api-User is optional compatibility metadata. The credential determines the account; this header cannot choose another owner.
New permissions require a fresh, explicit device approval. Existing and legacy credentials do not expand automatically. See device login.
HTTP 202 means the analysis job was accepted, not finished. Decomposition is a queued job that usually takes 1–3 minutes; poll GET /api/influencer/v1/recreations/{task_id}. Analysis is not billed separately — its cost is included in the generation price — but each account has a limited number of analyses per day. A job can still end failed; a failed analysis bills nothing.

Request

There is no model, group, size or duration choice: the output length follows the reference clip. Unknown top-level fields are rejected with 400. Upload the clip and images first; a public HTTPS address is required.

Accepted response (202)

Poll the analysis

Poll until status is success or failed: Polling is a read-only owner-scoped call: it never starts, repeats or cancels provider work, and other accounts are indistinguishable from a missing task (404). No request_id or idempotency key exists for analysis, so a lost 202 cannot be recovered — a resubmission creates another job and consumes another daily analysis unit. A successful poll returns the compiled prompt and the breakdown:
analysis follows the viral-recreate.analysis/1 schema. Its top-level keys are evidence, video_overview, pace, shots, hook, viral_logic, transferable, replace, product_props, cta, uncertain and quality; unknown fields stay in the object rather than being projected away. image_analysis carries one object per submitted image, in image_urls order, with image_index, kind, summary, anchors, angle, background and uncertain.

meta

meta.pricing is the amount the pre-charge will take for that duration and quality, not an estimate. Use it to render the generate button instead of computing a price locally; recreation is the only mode with a precise upfront video quote.

Generate the recreation

Submit the compiled prompt and the reference images to POST /api/influencer/v1/videos with mode: "recreate":
  • Omit video_url and video_task_id. The clip was decomposition material only; supplying a reference video again is rejected.
  • prompt is required: send the compiled prompt (editable within the 4000-character ceiling).
  • image_urls is required: keep the same ordered images. image_urls[0] is the primary subject.
  • duration_sec is required for this mode: send meta.duration_sec exactly. The server validates the 4–15 whole-second range and rejects values outside it with 400. It cannot read the analyze result, so a different in-range value becomes the output length while the compiled prompt was written for the analyzed one.
  • aspect_ratio is fixed to 9:16. Omit it or send 9:16; any other explicit value is rejected.
  • resolution is 480p or 720p.
Generation keeps the usual account billing, task polling and artifact contract; see Create Character Video and Get Creation Task.

Failures and retries

  • failed with a message. Unparseable clips, clips outside 4–15 seconds, planner gate failures and a job that outlives its deadline all surface here. The analysis itself bills nothing; adjust the clip, images or intent and analyze again, keeping in mind that every accepted job counts against the daily allowance.
  • 429 recreate_analysis_limit. The per-account daily allowance is exhausted (default 20). Respect Retry-After; retrying immediately keeps failing.
  • Unknown acceptance. If the submission result was lost, there is no idempotency key: resubmit and accept one extra daily unit rather than guessing a task id.
  • 503 influencer_creation_disabled. New command-line analyses are disabled. Already accepted jobs stay readable.
  • Never recreate a video task to “fix” a queued analysis. Polling does not cancel anything, and generation is charged separately from analysis.

Limits

Content boundary

  • The clip is decomposed, never copied: the compiled prompt reproduces structure, pacing and framing logic, not the original footage.
  • Identity, brand marks, dialogue and on-screen text are not recreated. The compiled prompt is gated to avoid captions and logos; add text, voice and branding in post-production.
  • Submit only clips you have the rights to use. risk_flags are deterministic review codes, not a legal opinion.
  • Treat the breakdown as model-read evidence: uncertain entries are deliberate “could not verify” markers, not errors.

Authorizations

Authorization
string
header
required

Scoped OmniMux personal credential. Each operation lists its exact influencer_creation grant. No automatic expansion for old or legacy tokens. Do not use an sk- relay key. Website sessions are validated separately by the existing account authentication.

Headers

New-Api-User
string

Optional compatibility header. Ignored for authentication and ownership; the server derives the account from the credential.

Body

application/json
video_url
string<uri>
required

Public HTTPS reference clip: 4-15 seconds, MP4/MOV, at most 64 MiB. The generated clip follows this length. It is decomposition material only and never reaches a generation model.

Maximum string length: 2048
Pattern: ^https://
image_urls
string<uri>[]
required

Ordered reference images the caller owns. image_urls[0] is the primary subject; one per-image reading is returned for every entry.

Required array length: 1 - 9 elements
Maximum string length: 2048
Pattern: ^https://
image_tags
string[]

Optional hints aligned by position with image_urls; at most one tag per image and 20 characters each. They are context for the image reading, never provider parameters.

Maximum array length: 9
Maximum string length: 20
prompt
string

Optional creative intent: what to keep and what to replace. Planner context only; it is not the final prompt.

Maximum string length: 1200
resolution
enum<string>
default:480p

Selects the price tier reported in meta.pricing for the later generation. It does not change the decomposition or the derived duration.

Available options:
480p,
720p

Response

The decomposition job was accepted. This is not a finished result: poll the returned task id until success or failed.

success
boolean
required
data
object
required