Skip to main content
POST
Submit Jimeng video task
If your client uses Jimeng CVSync2Async, you can reuse the request fields below. Switch authentication to an AIOHub API key, set req_key to a Seedance model name and adapt response parsing as shown here. Submission and polling return different structures; this is not the full official Jimeng API.

Setup

Use https://api.aiohub.org. Authenticate every request with Authorization: Bearer <AIOHUB_API_KEY>, replacing the placeholder with your full sk- API key rather than Jimeng request signing. The key group must allow the selected model.

Example request

Submission returns an OpenAI video object with the fields below. Save the top-level task_id; do not read data.task_id.
After saving the task identifier, poll the task.

Parameter limits

Output is fixed at 720p. Use Ark / Seedance for other resolutions, reference audio or video editing.
If creation times out without a task identifier, check the usage log before resubmitting to avoid duplicate generation and charges. Correct parameters after a 400 and check the API key after a 401. See Authentication for access and quota requirements.

Authorizations

Authorization
string
header
required

API key (sk-xxx)

Query Parameters

Action
enum<string>
default:CVSync2AsyncSubmitTask
required

Operation name; use this page's fixed value.

Available options:
CVSync2AsyncSubmitTask
Version
enum<string>
default:2022-08-31
required

Protocol version.

Available options:
2022-08-31

Body

application/json
req_key
string
required

Full Seedance model name.

Example:

"doubao-seedance-2-0-fast-260128"

prompt
string

Prompt, required for text-only generation.

image_urls
string<uri>[]

One first-frame image or first and last frames. Cannot be combined with binary_data_base64.

Maximum array length: 2
binary_data_base64
string[]

Base64 first-frame or first/last-frame image bytes, without data URL prefixes.

Maximum array length: 2
frames
enum<integer>
default:121

121 means 5 seconds; 241 means 10 seconds.

Available options:
121,
241
aspect_ratio
enum<string>
default:16:9

Aspect ratio for text generation; image input follows the image.

Available options:
16:9,
4:3,
1:1,
3:4,
9:16,
21:9
seed
enum<integer>
default:-1

Only random seed -1 is supported.

Available options:
-1

Response

Task accepted.

id
string
required

Task ID.

task_id
string
required

Task ID for Jimeng polling.

object
enum<string>
required
Available options:
video
model
string
required
status
enum<string>
required
Available options:
queued
progress
integer
required
created_at
integer<int64>
required