anatools.anaclient.inpaint module¶
Inpaint Functions
- create_inpaint(self, volumeId, location, files=[], destination=None)¶
Creates an inpaint job.
- Parameters
volumeId (str) – Volume ID
location (str) – Directory location of the input files
files (list) – List of files to inpaint, leave empty to inpaint all files in directory
destination (str) – Destination of the inpaint
- Returns
Inpaint ID
- Return type
str
- delete_inpaint(self, volumeId, inpaintId)¶
Deletes or cancels an inpaint job.
- Parameters
volumeId (str) – Volume ID
inpaintId (str) – Inpaint ID
- Returns
Success / Failure
- Return type
bool
- get_inpaint_logs(self, volumeId, inpaintId)¶
Fetches the logs for the inpaint job.
- Parameters
volumeId (str) – Volume ID
inpaintId (str) – Inpaint ID
- Returns
logs
- Return type
str
- get_inpaints(self, volumeId, inpaintId=None)¶
Fetches the inpaint jobs in the volume.
- Parameters
volumeId (str) – Volume ID
inpaintId (str) – Inpaint ID
- Returns
Inpaint jobs info
- Return type
dict