OmniHuman1.5 Video Generation
/api/v1/video/generationHeader Parameters
Format: Authorization: Bearer sk-xxxxxx
Fixed values for this service: Region is cn-north-1, Service is cv.
Fixed values for this service: Region is cn-north-1, Service is cv.
Request Body
application/json
Model name, use the fixed value: jimeng_realman_avatar_picture_omni_v15
"jimeng_realman_avatar_picture_omni_v15"Model name, use the fixed value: jimeng_realman_avatar_picture_omni_v15
Portrait Image URL
Mask Image URL List
Audio URL: The audio duration must be less than 60 seconds (it is recommended to use audio under 15 seconds, as quality may degrade somewhat beyond 15 seconds); if the audio is too long, the task will submit successfully, but an error will occur when querying the task.
Random seed, serving as the basis for determining the initial state of diffusion, defaults to -1 (random). If the random seed is set to the same positive integer and all other parameters are identical, the generated content will most likely yield consistent results.
Prompt, limited to Chinese, English, Japanese, Korean, Mexican Spanish, and Indonesian, recommended length ≤ 300 characters
Output video resolution Optional values (choose one): [720, 1080] Default value: 1080
Whether to enable fast mode. Enabling this mode accelerates generation speed at the expense of some visual quality. To maintain high consistency with the Jimeng client, it is recommended to follow these parameter passing rules: when the output video resolution (output_resolution) is set to 720, set pe_fast_mode to true; when the output video resolution (output_resolution) is set to 1080, set pe_fast_mode to false. Default value: false.
Response Body
application/json
Success
TypeScript Definitions
Use the response body type in TypeScript.
Status Code
Data Object
Result Set
Usage Information
Number of Images
Video Duration in Seconds
Input Tokens
Total Tokens
Output Token Count
Validity Period
Task ID
Task Status
Status Information
Request ID
curl -X POST "https://api.ygw.ai/api/v1/video/generation" \ -H "Authorization: string" \ -H "Region: string" \ -H "Service: string" \ -H "Content-Type: application/json" \ -d '{ "model": "jimeng_realman_avatar_picture_omni_v15", "req_key": "jimeng_realman_avatar_picture_omni_v15", "image_url": "string", "audio_url": "string" }'{
"code": 0,
"data": {
"urls": [
"string"
],
"usage": {
"images": 0,
"seconds": 0,
"input_tokens": 0,
"total_tokens": 0,
"output_tokens": 0
},
"expired": "string",
"task_id": "string",
"task_status": "string"
},
"message": "string",
"request_id": "string"
}