Models API

flux-dev-lora

object
inputobjectrequired
* Additional properties are NOT allowed.
Show Child Parameters
Example
{
  "input": {
    "prompt": "prompt",
    "lora": "lora",
    "lora_scale": 1,
    "extra_lora": "extra_lora",
    "extra_lora_scale": 1,
    "image": "image",
    "prompt_strength": 0.8,
    "num_outputs": 1,
    "num_inference_steps": 28,
    "guidance": 3,
    "seed": 0,
    "aspect_ratio": "1:1",
    "output_format": "png",
    "output_quality": 80,
    "speed_mode": "Base Model (compiled)",
    "megapixels": "1"
  }
}

wan-i2v

object
inputobjectrequired
* Additional properties are NOT allowed.
Show Child Parameters
Example
{
  "input": {
    "prompt": "prompt",
    "image": "image",
    "last_image": "last_image",
    "num_frames": 81,
    "resolution": "480p",
    "frames_per_second": 16,
    "interpolate_output": false,
    "go_fast": true,
    "sample_shift": 12,
    "seed": 0,
    "disable_safety_checker": false,
    "lora_weights_transformer": "lora_weights_transformer",
    "lora_scale_transformer": 1,
    "lora_weights_transformer_2": "lora_weights_transformer_2",
    "lora_scale_transformer_2": 1
  }
}

wan-t2v

object
inputobjectrequired
* Additional properties are NOT allowed.
Show Child Parameters
Example
{
  "input": {
    "prompt": "prompt",
    "optimize_prompt": false,
    "num_frames": 81,
    "aspect_ratio": "16:9",
    "resolution": "480p",
    "frames_per_second": 16,
    "interpolate_output": false,
    "go_fast": true,
    "sample_shift": 12,
    "seed": 0,
    "disable_safety_checker": false,
    "lora_weights_transformer": "lora_weights_transformer",
    "lora_scale_transformer": 1,
    "lora_weights_transformer_2": "lora_weights_transformer_2",
    "lora_scale_transformer_2": 1
  }
}

wan-image-small

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

qwen-image

object
inputobjectrequired
* Additional properties are NOT allowed.
Show Child Parameters
Example
{
  "input": {
    "prompt": "prompt",
    "enhance_prompt": false,
    "lora_weights": "lora_weights",
    "replicate_weights": "replicate_weights",
    "lora_scale": 1,
    "extra_lora_weights": [
      "[]"
    ],
    "extra_lora_scale": [
      "[]"
    ],
    "image": "image",
    "strength": 0.9,
    "negative_prompt": " ",
    "aspect_ratio": "1:1",
    "image_size": "optimize_for_quality",
    "go_fast": true,
    "num_inference_steps": 30,
    "guidance": 3,
    "seed": 0,
    "output_format": "webp",
    "output_quality": 80,
    "disable_safety_checker": false
  }
}