Skip to main content
POST
Supply either character_task_id plus optional ordered image_urls, or images with image_urls[0] as the main character. The combined image limit is 30. mode is motion (default), replace or recreate. Motion and replace accept exactly one reference video source: video_url or an owned successful video_task_id. recreate accepts a compiled prompt plus reference images and no reference video.
  • Base URL: https://omnimux.ai; use a scoped personal access token, not an sk- relay key.
  • Required permission: influencer_creation:write.
  • 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 200 means durable queue acceptance or recovery, not a finished file or a confirmed charge. Generation uses the existing account credits/subscription allowance. The native execution path uses payment-required (402) semantics for insufficient quota, but this acceptance endpoint does not synchronously emit 402; a queued task may later fail. Read task state and its public failure reason. Motion and replace do not promise a precise upfront video quote; recreate is the exception — its exact amount comes from the analyze result.
Unknown top-level body fields are rejected with 400. Do not send model, group, seed, or size. Motion and replace take no client-written duration (duration_sec is ignored); recreate requires exactly the duration reported by its analyze result. Reuse the same account-scoped request_id and intent to restore an accepted task. Changed content returns 409, and expired recovery returns 410. If the creation switch is off, new requests return 503 influencer_creation_disabled; identical accepted replays and owner reads remain available. The server inspects true duration (4–30 seconds), framing, frame rate, dimensions, codec and audio before accepting generation. MP4/MOV; H.264/HEVC; 24–60 fps; each dimension 300–6000; 407,696–8,295,044 pixels; source aspect 0.4–2.5. Invalid media is rejected, not silently trimmed or padded. Recreation does not inspect a clip here: its 4–15 second reference was validated during analysis. Defaults: motion and 480p. In motion mode an explicit ratio wins; when omitted, a supported source ratio is used, otherwise 9:16. Replace mode preserves a supported source ratio and rejects conflicts.

Recreation mode

mode: "recreate" submits the result of Analyze Recreation Reference: the reference clip was decomposed already and never travels with this request.
  • Omit video_url and video_task_id. Supplying either returns 400.
  • prompt is required: the compiled prompt from the analyze poll, editable within the 4000-character ceiling.
  • image_urls is required: the same ordered images used for the analysis, 1–9 for a recreation. image_urls[0] is the primary subject.
  • duration_sec is required: meta.duration_sec from the analyze poll. The server checks the 4–15 whole-second range and rejects anything outside it with 400; a different in-range value becomes the output length while the compiled prompt was written for the analyzed one, so pass the analyzed value exactly.
  • aspect_ratio is fixed to 9:16. Omit it or send 9:16; any other explicit value returns 400.
  • resolution is 480p or 720p. meta.pricing already reports the exact credits for both at the derived duration.
Recreation is the only mode with a precise upfront video quote: the amount in meta.pricing is what the pre-charge will take, so render it directly instead of computing a price. Acceptance, task polling and artifacts keep the usual contract; inspect the finished clip for actual duration and framing.
cURL recreate
The request preserves image order, passes the reference audio, and uses the saved character’s human/cat/dog type. Inspect the finished video to verify appearance, movement, framing and audio; task success alone does not establish creative fidelity. For motion and replace, the 4–30-second limit applies to the reference clip, not a guarantee of the finished video’s exact duration. Generated duration may differ: a four-second reference/request has produced a clip of about 3.71 seconds. duration_sec is the server-derived integer request duration, not a measurement of the finished video. Reference audio is supplied to generation, but output loudness may change; lossless or bit-for-bit audio preservation is not promised. Check the downloaded video for actual duration and sound. In recreation the reference clip is 4–15 seconds and its rounded length fixes duration_sec, but the finished clip still needs the same inspection.

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
request_id
string
required
Required string length: 8 - 128
Pattern: ^[A-Za-z0-9._:-]{8,128}$
Example:

"creator-character-0001"

mode
enum<string>
default:motion

motion and replace take exactly one reference source. recreate takes a compiled prompt plus reference images and no reference video.

Available options:
motion,
replace,
recreate
duration_sec
integer
required if mode = recreate

recreate only: the whole-second duration reported as meta.duration_sec by the analyze poll. Send exactly that value. The server rejects values outside 4-15 seconds with 400 invalid_request; motion and replace ignore this field and derive the duration from the reference clip. The server validates only the range, so an in-range value other than the analyzed one becomes the output length while the compiled prompt was written for the analyzed one.

Required range: 4 <= x <= 15
character_task_id
string
conditionally required

Successful owned original character. Its image is prepended to image_urls as the primary subject. Multiview outputs cannot be used as this original-character ID.

Example:

"task_example_character"

image_urls
string<uri>[]
required if mode = recreate
conditionally required

Ordered subject/support images. With character_task_id, at most 29 supplemental images. Otherwise at least one image is required, and image_urls[0] is the primary subject. Total: 1-30. For recreate, keep the same order as the analyze request.

Maximum array length: 30
Maximum string length: 2048
Pattern: ^https://
video_url
string<uri>
conditionally required

Exactly one reference source: this public HTTPS clip or video_task_id. Server inspects actual media; no client duration input.

Maximum string length: 2048
Pattern: ^https://
video_task_id
string
conditionally required

Owned successful character-video task used as the reference clip; exclusive with video_url.

Example:

"task_example_character"

resolution
enum<string>
default:480p
Available options:
480p,
720p
aspect_ratio
enum<string>

480p: 16:9, 9:16, 3:4. 720p: 16:9, 9:16. Motion: explicit value wins, otherwise follow a supported source ratio, otherwise 9:16. Replace: keep the supported source ratio and reject a conflicting explicit value. Recreate is fixed to 9:16 and rejects any other explicit value.

Available options:
16:9,
9:16,
3:4
prompt
string
required if mode = recreate

motion/replace: optional compatible performance/scene guidance. recreate: required compiled prompt returned by the analyze poll, up to 4000 runes. Reference audio and primary character identity/species remain part of the motion generation contract.

Maximum string length: 4000

Response

Accepted or recovered task, not a delivered file.

success
boolean
required
data
object
required