image_edit
Edit an image by providing a prompt and an input image. Optionally use a mask to specify areas to edit.
Instructions
单图参考/编辑。把本地图片作为 Responses image input 传入 image_generation。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| image_path | Yes | ||
| mask_path | No | ||
| size | No | 1024x1024 | |
| model | No | ||
| save_dir | No | ||
| basename | No | ||
| api_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||