Skip to content

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

ParameterTypeRequiredDescriptionExample
AuthorizationstringOptionalBearer {{YOUR_API_KEY}}

Body Parameters (application/json)

ParameterTypeRequiredDescription
versionstringOptional
inputobjectOptional
  └ seedintegerOptionalRandom seed (-1 means random)
  └ sizestringOptionalOutput resolution. Default: "832*480"
  └ promptstringRequired
  └ src_maskstringOptionalInput mask video or image to edit.
  └ frame_numintegerOptionalNumber of frames to generate. Default: 81.
  └ src_videostringOptional
  └ speed_modestringOptionalSpeed optimization level. Default: "Lightly Juiced 🍊 (more consistent)"
  └ sample_shiftintegerOptionalSample shift. Default: 16
  └ sample_stepsintegerOptionalSample steps. Default: 50
  └ sample_solverstringOptionalSample solver. Default: "unipc"
  └ src_ref_imagesarray[string]OptionalInput reference images for editing.
  └ sample_guide_scaleintegerOptionalSample 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

ParameterTypeRequiredDescription
idstringRequired
modelstringRequired
versionstringRequired
inputobjectRequired
  └ aspect_ratiostringRequired
  └ input_imagestringRequired
  └ output_formatstringRequired
  └ promptstringRequired
  └ prompt_upsamplingbooleanRequired
  └ safety_toleranceintegerRequired
logsstringRequired
outputnullRequired
data_removedbooleanRequired
errornullRequired
statusstringRequired
created_atstringRequired
urlsobjectRequired
  └ cancelstringRequired
  └ getstringRequired
  └ streamstringRequired
  └ webstringRequired

Response Example

json
{
    "created": 1589478378,
    "data": [
        {
            "url": "https://..."
        },
        {
            "url": "https://..."
        }
    ]
}