POST
/
video
/
submit
curl --request POST \
  --url https://api.siliconflow.cn/v1/video/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "Wan-AI/Wan2.1-I2V-14B-720P",
  "prompt": "<string>",
  "negative_prompt": "<string>",
  "image_size": "1280x720",
  "image": "https://inews.gtimg.com/om_bt/Os3eJ8u3SgB3Kd-zrRRhgfR5hUvdwcVPKUTNO6O7sZfUwAA/641",
  "seed": 123
}'
{
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Use the following format for authentication: Bearer <your api key>

Body

application/json
model
enum<string>
required

Corresponding Model Name. To better enhance service quality, we will make periodic changes to the models provided by this service, including but not limited to model on/offlining and adjustments to model service capabilities. We will notify you of such changes through appropriate means such as announcements or message pushes where feasible.

Available options:
Wan-AI/Wan2.1-I2V-14B-720P,
Wan-AI/Wan2.1-I2V-14B-720P-Turbo
prompt
string
required

The text prompt to generate the video description from.

image_size
enum<string>
required

Length-width ratio of the generated image.

Available options:
1280x720,
720x1280,
960x960
image
enum<string>
required

The image used for uploading a raw video can be in base64 format or a URL.

Available options:
data:image/webp;base64, XXX,
img_url
Example:

"https://inews.gtimg.com/om_bt/Os3eJ8u3SgB3Kd-zrRRhgfR5hUvdwcVPKUTNO6O7sZfUwAA/641"

negative_prompt
string

negative prompt

seed
integer

The seed for the random number generator.

Response

200
application/json
Successful response
requestId
string

The requestId generated by this request needs to be used when calling the status interface.