Introduction
Submit image-to-video task in traditional mode, used to generate video based on input image.
Authentication
Bearer Token, e.g., Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...
How to get: Obtain via the POST interface in the Authentication module at the top left, https://docs.openai-nebula.com/en/nebula-lab-v4/endpoint/get-token
Request Parameters
image2VideoTraditionalDTO.image_urls
Input image URL array:
0: source image (RGB, 3-channel)
1: optional mask (grayscale, 1-channel; 0 black = keep, 255 white = remove)
image2VideoTraditionalDTO.prompt
Prompt describing desired video effect
image2VideoTraditionalDTO.duration
Video duration, supported values: 3, 5, 8, 10, 12
image2VideoTraditionalDTO.resolution
Video resolution (enum): 480p, 720p, 1080p
image2VideoTraditionalDTO.req_key
Request key for business correlation or de-duplication
image2VideoTraditionalDTO.return_url
Whether to return the result URL directly (default off)
Response Example
{
"code": 200,
"msg": "Operation successful",
"data": {
"id": "task-1234567890"
}
}