ImageEditInput
media_uuidstring<uuid>required
UUID of the source media item to edit
promptstringrequired
Describe what to change in the image
Possible values: <= 4000 characters
Example:
Make the background a white studio backdropmask_uuidstring<uuid>nullable
UUID of a mask image. Transparent areas will be edited.
aspect_ratiostringnullable
Possible values: [1:1, 16:9, 9:16, 4:5]
Default value:
1:1countinteger
Possible values: >= 1 and <= 4
Default value:
1qualitystring
Possible values: [standard, hd]
Default value:
standardImageEditInput
{
"media_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"prompt": "Make the background a white studio backdrop",
"mask_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"aspect_ratio": "1:1",
"count": 1,
"quality": "standard"
}