Model parameters
OC Editor
Edit a character image with a text instruction (outfit, pose, background, expression) while keeping the same character.
POST
/api/go/b2b/tasks/createtask_type: OC_EDIT
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
watermark | boolean | Required No | Add a watermark; default false. |
model_type | string | Required No | dream = Kusa-Mix; dream_flash = Kusa-Mix-Flash; dream_pro = Kusa-Mix-Pro; standard = Kusa-Flash; pro = Kusa-Flash Pro |
user_prompt | string | Required Yes | What to change, in plain words, e.g. "change her outfit to a winter coat". |
reference_image | string | Required No | The character image to edit, a public HTTPS URL. Leave out to design a new character from the text. |
modifications | array | Required No | Optional changes by category, up to 7: {"category": "clothing", "type": "tag", "value": "red scarf"}, or {"category": "clothing", "type": "image", "image": "<URL of the item>"}. |
dimensions | object | Required No | Proportions hint, e.g. {"width": 832, "height": 1216} for portrait; default 1024×1024. |
Usage notes
- Up to 7 modifications and 8 images in total, counting the reference image. dimensions is a hint for the proportions, not an exact output size.
Request example
params · JSON
{
"model_type": "dream",
"reference_image": "https://cdn.kusa.pics/generated/gb9g1YvV8ac41vwLQg91XTygdQh2/original/2026/10/24/e1cb910c-b5f0-484a-8eec-b8ec7e190f8b.png",
"user_prompt": "Change her outfit to a cozy winter coat and a red scarf",
"watermark": false
}