Theme
Create Task prunaai/vace-14b
POST
https://www.kkiai.com/replicate/v1/models/prunaai/vace-14b/predictions
Official documentation: https://replicate.com/prunaai/vace-14b
Request Parameters
Authorization
Add the Authorization parameter to the Header. Its value is the Token concatenated after Bearer.
Example: Authorization: Bearer ********************
Header Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
Authorization | string | Optional | Bearer {{YOUR_API_KEY}} |
Body Parameters (application/json)
| Parameter | Type | Required | Description |
|---|---|---|---|
version | string | Optional | |
input | object | Optional | |
└ seed | integer | Optional | Random seed (-1 means random) |
└ size | string | Optional | Output resolution. Default: "832*480" |
└ prompt | string | Required | |
└ src_mask | string | Optional | Input mask video or image to edit. |
└ frame_num | integer | Optional | Number of frames to generate. Default: 81. |
└ src_video | string | Optional | |
└ speed_mode | string | Optional | Speed optimization level. Default: "Lightly Juiced 🍊 (more consistent)" |
└ sample_shift | integer | Optional | Sample shift. Default: 16 |
└ sample_steps | integer | Optional | Sample steps. Default: 50 |
└ sample_solver | string | Optional | Sample solver. Default: "unipc" |
└ src_ref_images | array[string] | Optional | Input reference images for editing. |
└ sample_guide_scale | integer | Optional | Sample guide scale. Default: 5 |
Request Example
json
{
"version": "51299232dc3d0946d5f5ed74935d85243e172698f747d291460db1e6ef3669fb",
"input": {
"seed": -1,
"size": "1280*720",
"prompt": "The video shows a man riding a horse on a vast grassland. He has long lavender hair and wears a traditional dress of a white top and black pants. The animation style makes him look like he is doing some kind of outdoor activity or performing. The background is a spectacular mountain range and cloud sky, giving a sense of tranquility and vastness. The entire video is shot from a fixed angle, focusing on the rider and his horse.",
"src_mask": "https://replicate.delivery/pbxt/N323tegI7AuoZmg0U5CuTKa7VBFC4gymhe0kT8Jk3o2sjUUj/src_mask.mp4",
"frame_num": 81,
"src_video": "https://replicate.delivery/pbxt/N323u1ljtNYyyaLrgw0ZLmXgepvWlBvxbJWi3sAa2VDPuNus/src_video.mp4",
"speed_mode": "Extra Juiced 🚀 (even more speed)",
"sample_shift": 16,
"sample_steps": 50,
"sample_solver": "unipc",
"src_ref_images": ["https://replicate.delivery/pbxt/N323t5X69JB1MPD4w4cDIxK4rm0BG0W2JOWBrDrR4O9HTcyp/src_ref_image_1.png"],
"sample_guide_scale": 5
}
}cURL Example
bash
curl --location --request POST 'https://www.kkiai.com/replicate/v1/models/prunaai/vace-14b/predictions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"version": "51299232dc3d0946d5f5ed74935d85243e172698f747d291460db1e6ef3669fb",
"input": {
"seed": -1,
"size": "1280*720",
"prompt": "The video shows a man riding a horse on a vast grassland. He has long lavender hair and wears a traditional dress of a white top and black pants. The animation style makes him look like he is doing some kind of outdoor activity or performing. The background is a spectacular mountain range and cloud sky, giving a sense of tranquility and vastness. The entire video is shot from a fixed angle, focusing on the rider and his horse.",
"src_mask": "https://replicate.delivery/pbxt/N323tegI7AuoZmg0U5CuTKa7VBFC4gymhe0kT8Jk3o2sjUUj/src_mask.mp4",
"frame_num": 81,
"src_video": "https://replicate.delivery/pbxt/N323u1ljtNYyyaLrgw0ZLmXgepvWlBvxbJWi3sAa2VDPuNus/src_video.mp4",
"speed_mode": "Extra Juiced 🚀 (even more speed)",
"sample_shift": 16,
"sample_steps": 50,
"sample_solver": "unipc",
"src_ref_images": ["https://replicate.delivery/pbxt/N323t5X69JB1MPD4w4cDIxK4rm0BG0W2JOWBrDrR4O9HTcyp/src_ref_image_1.png"],
"sample_guide_scale": 5
}
}'Response
🟢 200 Success
Response Body
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Required | |
model | string | Required | |
version | string | Required | |
input | object | Required | |
└ aspect_ratio | string | Required | |
└ input_image | string | Required | |
└ output_format | string | Required | |
└ prompt | string | Required | |
└ prompt_upsampling | boolean | Required | |
└ safety_tolerance | integer | Required | |
logs | string | Required | |
output | null | Required | |
data_removed | boolean | Required | |
error | null | Required | |
status | string | Required | |
created_at | string | Required | |
urls | object | Required | |
└ cancel | string | Required | |
└ get | string | Required | |
└ stream | string | Required | |
└ web | string | Required |
Response Example
json
{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}