curl --request POST \
--url 'https://omnimux.ai/api/influencer/v1/videos' \
--header 'Authorization: Bearer <user-access-token>' \
--header 'Content-Type: application/json' \
--data '{"request_id":"creator-video-0001","character_task_id":"task_example_character","video_url":"https://omnimux.ai/REPLACE_WITH_OWN_REFERENCE.mp4","mode":"motion","resolution":"480p"}'
{
"success": true,
"data": {
"request_id": "creator-video-0001",
"task_id": "task_example_video",
"kind": "video",
"status": "waiting",
"raw_status": "WAITING",
"artifact_status": "pending",
"input": {},
"recovery_expires_at": 0,
"created_at": 1792000000,
"finished_at": 0,
"artifacts": [],
"replayed": false
}
}
{
"success": false,
"code": "invalid_request",
"message": "Invalid product fields, unknown body fields or unsupported media/specifications."
}
{
"success": false,
"code": "AUTH_UNAUTHORIZED",
"message": "A valid live account credential is required. Expired, revoked or disabled-account credentials are rejected."
}
{
"success": false,
"code": "ACCESS_TOKEN_SCOPE_DENIED",
"message": "The explicit creation read/write scope is missing. Old/legacy credentials do not gain access automatically."
}
{
"success": false,
"code": "task_not_found",
"message": "Owned usable task/character/request was not found. Other accounts are not distinguishable."
}
{
"success": false,
"code": "reference_video_invalid",
"message": "Reference preparation timed out or was canceled before acceptance. Recover by request ID before any retry if acceptance is uncertain."
}
{
"success": false,
"code": "creation_request_conflict",
"message": "The account/request ID already belongs to different creation inputs. Do not generate a new request ID automatically."
}
{
"success": false,
"code": "creation_request_expired",
"message": "Recovery has expired or the retained task is unavailable. This ID remains reserved and cannot create another bill."
}
{
"success": false,
"code": "internal_error",
"message": "The creation could not be prepared."
}
{
"success": false,
"code": "influencer_creation_disabled",
"message": "new command-line creations are currently disabled; accepted requests remain recoverable"
}
curl --request POST \
--url 'https://omnimux.ai/api/influencer/v1/videos' \
--header 'Authorization: Bearer <user-access-token>' \
--header 'Content-Type: application/json' \
--data '{"request_id":"creator-video-0001","character_task_id":"task_example_character","video_url":"https://omnimux.ai/REPLACE_WITH_OWN_REFERENCE.mp4","mode":"motion","resolution":"480p"}'
{
"success": true,
"data": {
"request_id": "creator-video-0001",
"task_id": "task_example_video",
"kind": "video",
"status": "waiting",
"raw_status": "WAITING",
"artifact_status": "pending",
"input": {},
"recovery_expires_at": 0,
"created_at": 1792000000,
"finished_at": 0,
"artifacts": [],
"replayed": false
}
}
{
"success": false,
"code": "invalid_request",
"message": "Invalid product fields, unknown body fields or unsupported media/specifications."
}
{
"success": false,
"code": "AUTH_UNAUTHORIZED",
"message": "A valid live account credential is required. Expired, revoked or disabled-account credentials are rejected."
}
{
"success": false,
"code": "ACCESS_TOKEN_SCOPE_DENIED",
"message": "The explicit creation read/write scope is missing. Old/legacy credentials do not gain access automatically."
}
{
"success": false,
"code": "task_not_found",
"message": "Owned usable task/character/request was not found. Other accounts are not distinguishable."
}
{
"success": false,
"code": "reference_video_invalid",
"message": "Reference preparation timed out or was canceled before acceptance. Recover by request ID before any retry if acceptance is uncertain."
}
{
"success": false,
"code": "creation_request_conflict",
"message": "The account/request ID already belongs to different creation inputs. Do not generate a new request ID automatically."
}
{
"success": false,
"code": "creation_request_expired",
"message": "Recovery has expired or the retained task is unavailable. This ID remains reserved and cannot create another bill."
}
{
"success": false,
"code": "internal_error",
"message": "The creation could not be prepared."
}
{
"success": false,
"code": "influencer_creation_disabled",
"message": "new command-line creations are currently disabled; accepted requests remain recoverable"
}
Create Character Video
Create character video through the account-scoped creation API.
curl --request POST \
--url 'https://omnimux.ai/api/influencer/v1/videos' \
--header 'Authorization: Bearer <user-access-token>' \
--header 'Content-Type: application/json' \
--data '{"request_id":"creator-video-0001","character_task_id":"task_example_character","video_url":"https://omnimux.ai/REPLACE_WITH_OWN_REFERENCE.mp4","mode":"motion","resolution":"480p"}'
{
"success": true,
"data": {
"request_id": "creator-video-0001",
"task_id": "task_example_video",
"kind": "video",
"status": "waiting",
"raw_status": "WAITING",
"artifact_status": "pending",
"input": {},
"recovery_expires_at": 0,
"created_at": 1792000000,
"finished_at": 0,
"artifacts": [],
"replayed": false
}
}
{
"success": false,
"code": "invalid_request",
"message": "Invalid product fields, unknown body fields or unsupported media/specifications."
}
{
"success": false,
"code": "AUTH_UNAUTHORIZED",
"message": "A valid live account credential is required. Expired, revoked or disabled-account credentials are rejected."
}
{
"success": false,
"code": "ACCESS_TOKEN_SCOPE_DENIED",
"message": "The explicit creation read/write scope is missing. Old/legacy credentials do not gain access automatically."
}
{
"success": false,
"code": "task_not_found",
"message": "Owned usable task/character/request was not found. Other accounts are not distinguishable."
}
{
"success": false,
"code": "reference_video_invalid",
"message": "Reference preparation timed out or was canceled before acceptance. Recover by request ID before any retry if acceptance is uncertain."
}
{
"success": false,
"code": "creation_request_conflict",
"message": "The account/request ID already belongs to different creation inputs. Do not generate a new request ID automatically."
}
{
"success": false,
"code": "creation_request_expired",
"message": "Recovery has expired or the retained task is unavailable. This ID remains reserved and cannot create another bill."
}
{
"success": false,
"code": "internal_error",
"message": "The creation could not be prepared."
}
{
"success": false,
"code": "influencer_creation_disabled",
"message": "new command-line creations are currently disabled; accepted requests remain recoverable"
}
curl --request POST \
--url 'https://omnimux.ai/api/influencer/v1/videos' \
--header 'Authorization: Bearer <user-access-token>' \
--header 'Content-Type: application/json' \
--data '{"request_id":"creator-video-0001","character_task_id":"task_example_character","video_url":"https://omnimux.ai/REPLACE_WITH_OWN_REFERENCE.mp4","mode":"motion","resolution":"480p"}'
{
"success": true,
"data": {
"request_id": "creator-video-0001",
"task_id": "task_example_video",
"kind": "video",
"status": "waiting",
"raw_status": "WAITING",
"artifact_status": "pending",
"input": {},
"recovery_expires_at": 0,
"created_at": 1792000000,
"finished_at": 0,
"artifacts": [],
"replayed": false
}
}
{
"success": false,
"code": "invalid_request",
"message": "Invalid product fields, unknown body fields or unsupported media/specifications."
}
{
"success": false,
"code": "AUTH_UNAUTHORIZED",
"message": "A valid live account credential is required. Expired, revoked or disabled-account credentials are rejected."
}
{
"success": false,
"code": "ACCESS_TOKEN_SCOPE_DENIED",
"message": "The explicit creation read/write scope is missing. Old/legacy credentials do not gain access automatically."
}
{
"success": false,
"code": "task_not_found",
"message": "Owned usable task/character/request was not found. Other accounts are not distinguishable."
}
{
"success": false,
"code": "reference_video_invalid",
"message": "Reference preparation timed out or was canceled before acceptance. Recover by request ID before any retry if acceptance is uncertain."
}
{
"success": false,
"code": "creation_request_conflict",
"message": "The account/request ID already belongs to different creation inputs. Do not generate a new request ID automatically."
}
{
"success": false,
"code": "creation_request_expired",
"message": "Recovery has expired or the retained task is unavailable. This ID remains reserved and cannot create another bill."
}
{
"success": false,
"code": "internal_error",
"message": "The creation could not be prepared."
}
{
"success": false,
"code": "influencer_creation_disabled",
"message": "new command-line creations are currently disabled; accepted requests remain recoverable"
}
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 ansk-relay key. - Required permission:
influencer_creation:write. New-Api-Useris optional compatibility metadata. The credential determines the account; this header cannot choose another owner.
recreate is the exception — its exact amount comes from the analyze result.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.
| Resolution | Supported output ratios |
|---|---|
480p | 16:9, 9:16, 3:4 |
720p | 16:9, 9:16 |
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_urlandvideo_task_id. Supplying either returns 400. promptis required: the compiled prompt from the analyze poll, editable within the 4000-character ceiling.image_urlsis required: the same ordered images used for the analysis, 1–9 for a recreation.image_urls[0]is the primary subject.duration_secis required:meta.duration_secfrom 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_ratiois fixed to9:16. Omit it or send9:16; any other explicit value returns 400.resolutionis480por720p.meta.pricingalready reports the exact credits for both at the derived duration.
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 --request POST \
--url 'https://omnimux.ai/api/influencer/v1/videos' \
--header 'Authorization: Bearer <user-access-token>' \
--header 'Content-Type: application/json' \
--data '{"request_id":"creator-video-0002","mode":"recreate","prompt":"<compiled prompt from the analyze result>","image_urls":["https://omnimux.ai/REPLACE_WITH_PRODUCT_IMAGE_1.png"],"duration_sec":11,"aspect_ratio":"9:16","resolution":"720p"}'
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
Headers
Body
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.
4 <= x <= 15Ordered 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.
302048^https://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.
16:9, 9:16, 3:4 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.
4000