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_uuid(string | null)<uuid>nullable
UUID of a mask image. Transparent areas will be edited.
use_brand_voiceboolean | nullnullable
Append the workspace brand voice's visual tone to the edit prompt. Off by default because edits are literal instructions.
Default value:
falseaspect_ratiostring | nullnullable
Possible values: [1:1, 16:9, 9:16, 4:5, null]
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",
"use_brand_voice": false,
"aspect_ratio": "1:1",
"count": 1,
"quality": "standard"
}