generate_raw
Execute any model with custom parameters for face-swap, upscale, or inpainting. Pass a params dict directly, and upload input files as needed.
Instructions
Escape hatch: call any model with a custom params dict, across the account pool.
Use for face-swap, character-swap, upscale, inpaint, or any model whose exact
schema you already know (see docs/MODEL_SCHEMAS.md). params is passed through
verbatim (with use_unlim added). api_version selects the endpoint: v1
(/jobs/{model}) or v2 (/jobs/v2/{model}, newer models incl. most video).
Local input_files are uploaded and merged into params['input_images'].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | raw | |
| wait | No | ||
| model | Yes | ||
| params | Yes | ||
| timeout | No | ||
| download | No | ||
| api_version | No | v1 | |
| input_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |