Models API

vace

object
inputobjectrequired
* Additional properties are NOT allowed.
Show Child Parameters
Example
{
  "input": {
    "prompt": "prompt",
    "src_video": "src_video",
    "src_mask": "src_mask",
    "src_ref_images": [
      "[]"
    ],
    "speed_mode": "Lightly Juiced 🍊 (more consistent)",
    "frame_num": 81,
    "size": "720*1280",
    "seed": -1,
    "sample_shift": 16,
    "sample_solver": "unipc",
    "sample_steps": 50,
    "sample_guide_scale": 5
  }
}

p-image

object
inputobjectrequired
* Additional properties are NOT allowed.
Show Child Parameters
Example
{
  "input": {
    "prompt": "prompt",
    "aspect_ratio": "1:1",
    "width": 0,
    "height": 0,
    "seed": 0,
    "disable_safety_checker": false
  }
}

p-image-edit

object
inputobjectrequired
* Additional properties are NOT allowed.
Show Child Parameters
Example
{
  "input": {
    "prompt": "prompt",
    "images": [
      "[]"
    ],
    "mode": "default",
    "aspect_ratio": "match_input_image",
    "seed": 0,
    "disable_safety_checker": false,
    "turbo": true
  }
}

flux-2-fast

object
inputobjectrequired
* Additional properties are NOT allowed.
Show Child Parameters
Example
{
  "input": {
    "prompt": "prompt",
    "aspect_ratio": "1:1",
    "images": [
      "[]"
    ],
    "go_fast": true,
    "width": 0,
    "height": 0,
    "seed": 0,
    "guidance": 2.5,
    "disable_safety_checker": false
  }
}

PredictionResponse

object
idstringrequired

Unique identifier for the prediction

Example:1zww7deyssrme0csqwr90phzzr

modelstringrequired

Model identifier used for this prediction

Example:vace

inputobjectrequired

The input parameters provided for this prediction

* Additional properties are allowed.
get_urlstring(uri)required

URL to check prediction status

Example:https://api.pruna.ai/v1/predictions/status/1zww7deyssrme0csqwr90phzzr

Example
{
  "id": "1zww7deyssrme0csqwr90phzzr",
  "model": "vace",
  "input": {},
  "get_url": "https://api.pruna.ai/v1/predictions/status/1zww7deyssrme0csqwr90phzzr"
}